<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>141298</bug_id>
          
          <creation_ts>2015-02-05 11:22:46 -0800</creation_ts>
          <short_desc>Scroll Snap Points animation sometimes fights user scroll gesture</short_desc>
          <delta_ts>2015-03-04 10:53:57 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Brent Fulgham">bfulgham</reporter>
          <assigned_to name="Brent Fulgham">bfulgham</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1067150</commentid>
    <comment_count>0</comment_count>
      <attachid>246115</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-02-05 11:22:46 -0800</bug_when>
    <thetext>Created attachment 246115
Snap Point Example

Using the attached test document, I sometimes find WebKit fighting with my scroll motion if a snap point animation starts, and I then attempt to start a manual scroll.

It seems like the animation is not being turned off when new user input is encountered.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1067162</commentid>
    <comment_count>1</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-02-05 11:59:50 -0800</bug_when>
    <thetext>Manual Test:

1. Load the attached snap point example.
2. Partially scroll a view, so that the snap scroll kicks in and WebKit tries to slide the view back to the specified snap point.
3. While the snap point animation is running, begin a new scroll gesture to scroll the view.

Result:
Currently, you get jittering as the snap animation fights with the scrolling gesture.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1067163</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2015-02-05 12:00:35 -0800</bug_when>
    <thetext>&lt;rdar://problem/19733626&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1074124</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-03-04 10:53:57 -0800</bug_when>
    <thetext>This problem was corrected during other snap-point work.

The underlying problem was that certain wheel event states were not properly handled by the scroll snap animator logic. This caused the snap animation to continue to run even when the user began certain kinds of wheel gestures.

This is now resolved.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>246115</attachid>
            <date>2015-02-05 11:22:46 -0800</date>
            <delta_ts>2015-02-05 11:22:46 -0800</delta_ts>
            <desc>Snap Point Example</desc>
            <filename>scroll-snap-mandatory.html</filename>
            <type>text/html</type>
            <size>2725</size>
            <attacher name="Brent Fulgham">bfulgham</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9JRVRGLy9EVEQgSFRNTC8vRU4iPgo8aHRtbD4KICAg
IDxoZWFkPgogICAgICAgIDxzdHlsZT4KICAgICAgICAgICAgLmhvcml6b250YWxHYWxsZXJ5IHsK
ICAgICAgICAgICAgICAgIHdpZHRoOiA1MDBweDsKICAgICAgICAgICAgICAgIGhlaWdodDogNTAw
cHg7CiAgICAgICAgICAgICAgICBvdmVyZmxvdy15OiBoaWRkZW47CiAgICAgICAgICAgICAgICBv
dmVyZmxvdy14OiBhdXRvOwogICAgICAgICAgICAgICAgLXdlYmtpdC1zY3JvbGwtc25hcC1wb2lu
dHMteDogcmVwZWF0KDEwMCUpOwogICAgICAgICAgICAgICAgLXdlYmtpdC1zY3JvbGwtc25hcC10
eXBlOiBtYW5kYXRvcnk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgLmhvcml6b250YWxHYWxs
ZXJ5RHJhd2VyIHsKICAgICAgICAgICAgICAgIHdpZHRoOiAzMDAwcHg7CiAgICAgICAgICAgICAg
ICBoZWlnaHQ6IDUwMHB4OwogICAgICAgICAgICB9CiAgICAgICAgICAgIC52ZXJ0aWNhbEdhbGxl
cnkgewogICAgICAgICAgICAgICAgd2lkdGg6IDUwMHB4OwogICAgICAgICAgICAgICAgaGVpZ2h0
OiA1MDBweDsKICAgICAgICAgICAgICAgIGRpc3BsYXk6IGlubGluZS1ibG9jazsKICAgICAgICAg
ICAgICAgIG92ZXJmbG93LXg6IGhpZGRlbjsKICAgICAgICAgICAgICAgIG92ZXJmbG93LXk6IGF1
dG87CiAgICAgICAgICAgICAgICAtd2Via2l0LXNjcm9sbC1zbmFwLXBvaW50cy15OiByZXBlYXQo
MTAwJSk7CiAgICAgICAgICAgICAgICAtd2Via2l0LXNjcm9sbC1zbmFwLXR5cGU6IG1hbmRhdG9y
eTsKICAgICAgICAgICAgfQogICAgICAgICAgICAudmVydGljYWxHYWxsZXJ5RHJhd2VyIHsKICAg
ICAgICAgICAgICAgIHdpZHRoOiA1MDBweDsKICAgICAgICAgICAgICAgIGhlaWdodDogMzAwMHB4
OwogICAgICAgICAgICB9CiAgICAgICAgICAgIC5jb2xvckJveCB7CiAgICAgICAgICAgICAgICBo
ZWlnaHQ6IDUwMHB4OwogICAgICAgICAgICAgICAgd2lkdGg6IDUwMHB4OwogICAgICAgICAgICAg
ICAgZmxvYXQ6IGxlZnQ7CiAgICAgICAgICAgICAgICAvKi13ZWJraXQtc2Nyb2xsLXNuYXAtY29v
cmRpbmF0ZTogNTAlIDUwJTsqLwogICAgICAgICAgICB9CiAgICAgICAgICAgICNpdGVtMCB7CiAg
ICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjRkYwMDAwOwogICAgICAgICAgICB9CiAg
ICAgICAgICAgICNpdGVtMSB7CiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjMDBG
RjAwOwogICAgICAgICAgICB9CiAgICAgICAgICAgICNpdGVtMiB7CiAgICAgICAgICAgICAgICBi
YWNrZ3JvdW5kLWNvbG9yOiAjMDAwMEZGOwogICAgICAgICAgICB9CiAgICAgICAgICAgICNpdGVt
MyB7CiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjMDBGRkZGOwogICAgICAgICAg
ICB9CiAgICAgICAgICAgICNpdGVtNCB7CiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9y
OiAjRkZGRjAwOwogICAgICAgICAgICB9CiAgICAgICAgICAgICNpdGVtNSB7CiAgICAgICAgICAg
ICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjRkYwMEZGOwogICAgICAgICAgICB9CiAgICAgICAgPC9z
dHlsZT4KICAgIDwvaGVhZD4KICAgIDxib2R5PgogICAgICAgIDxkaXYgc3R5bGU9InBvc2l0aW9u
OiByZWxhdGl2ZTsgaGVpZ2h0OiA1MDBweDsgd2lkdGg6IDUwMHB4Ij4KICAgICAgICAgICAgPGRp
diBjbGFzcz0iaG9yaXpvbnRhbEdhbGxlcnkiPgogICAgICAgICAgICAgICAgPGRpdiBjbGFzcz0i
aG9yaXpvbnRhbEdhbGxlcnlEcmF3ZXIiPgogICAgICAgICAgICAgICAgICAgIDxkaXYgaWQ9Iml0
ZW0wIiBjbGFzcz0iY29sb3JCb3giPjwvZGl2PgogICAgICAgICAgICAgICAgICAgIDxkaXYgaWQ9
Iml0ZW0xIiBjbGFzcz0iY29sb3JCb3giPjwvZGl2PgogICAgICAgICAgICAgICAgICAgIDxkaXYg
aWQ9Iml0ZW0yIiBjbGFzcz0iY29sb3JCb3giPjwvZGl2PgogICAgICAgICAgICAgICAgICAgIDxk
aXYgaWQ9Iml0ZW0zIiBjbGFzcz0iY29sb3JCb3giPjwvZGl2PgogICAgICAgICAgICAgICAgICAg
IDxkaXYgaWQ9Iml0ZW00IiBjbGFzcz0iY29sb3JCb3giPjwvZGl2PgogICAgICAgICAgICAgICAg
ICAgIDxkaXYgaWQ9Iml0ZW01IiBjbGFzcz0iY29sb3JCb3giPjwvZGl2PgogICAgICAgICAgICAg
ICAgPC9kaXY+CiAgICAgICAgICAgIDwvZGl2PgogICAgICAgICAgICA8ZGl2IGNsYXNzPSJ2ZXJ0
aWNhbEdhbGxlcnkiPgogICAgICAgICAgICAgICAgPGRpdiBjbGFzcz0idmVydGljYWxHYWxsZXJ5
RHJhd2VyIj4KICAgICAgICAgICAgICAgICAgICA8ZGl2IGlkPSJpdGVtMCIgY2xhc3M9ImNvbG9y
Qm94Ij48L2Rpdj4KICAgICAgICAgICAgICAgICAgICA8ZGl2IGlkPSJpdGVtMSIgY2xhc3M9ImNv
bG9yQm94Ij48L2Rpdj4KICAgICAgICAgICAgICAgICAgICA8ZGl2IGlkPSJpdGVtMiIgY2xhc3M9
ImNvbG9yQm94Ij48L2Rpdj4KICAgICAgICAgICAgICAgICAgICA8ZGl2IGlkPSJpdGVtMyIgY2xh
c3M9ImNvbG9yQm94Ij48L2Rpdj4KICAgICAgICAgICAgICAgICAgICA8ZGl2IGlkPSJpdGVtNCIg
Y2xhc3M9ImNvbG9yQm94Ij48L2Rpdj4KICAgICAgICAgICAgICAgICAgICA8ZGl2IGlkPSJpdGVt
NSIgY2xhc3M9ImNvbG9yQm94Ij48L2Rpdj4KICAgICAgICAgICAgICAgIDwvZGl2PgogICAgICAg
ICAgICA8L2Rpdj4KICAgICAgICA8L2Rpdj4KICAgIDwvYm9keT4KPC9odG1sPg==
</data>

          </attachment>
      

    </bug>

</bugzilla>