<?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>148937</bug_id>
          
          <creation_ts>2015-09-07 11:42:47 -0700</creation_ts>
          <short_desc>Scroll snapping should work on iOS without -webkit-overflow-scrolling: touch</short_desc>
          <delta_ts>2021-07-07 08:36:43 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit2</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</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="Wenson Hsieh">wenson_hsieh</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>mrobinson</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1124147</commentid>
    <comment_count>0</comment_count>
      <attachid>260744</attachid>
    <who name="Wenson Hsieh">wenson_hsieh</who>
    <bug_when>2015-09-07 11:42:47 -0700</bug_when>
    <thetext>Created attachment 260744
Test case that reproduces the bug

Scroll snapping should work, even without -webkit-overflow-scrolling: touch; set in the parent scrolling container. Currently, in order for scroll snapping to work, this property is required.

* STEPS TO REPRODUCE
1. Open the attached test case (scroll-snap.html)
2. Scroll in the container.

* RESULTS
Expected to snap to each of the child elements. Observed that scroll snapping does not work.

* REGRESSION
Scroll snapping without -webkit-overflow-scrolling: touch; was never implemented.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1124148</commentid>
    <comment_count>1</comment_count>
    <who name="Wenson Hsieh">wenson_hsieh</who>
    <bug_when>2015-09-07 11:43:40 -0700</bug_when>
    <thetext>&lt;rdar://problem/22603172&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1775278</commentid>
    <comment_count>2</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2021-07-07 08:36:43 -0700</bug_when>
    <thetext>I believe this is no longer the case.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>260744</attachid>
            <date>2015-09-07 11:42:47 -0700</date>
            <delta_ts>2015-09-07 11:42:47 -0700</delta_ts>
            <desc>Test case that reproduces the bug</desc>
            <filename>scroll-snap.html</filename>
            <type>text/html</type>
            <size>1276</size>
            <attacher name="Wenson Hsieh">wenson_hsieh</attacher>
            
              <data encoding="base64">PGh0bWw+CiAgICA8aGVhZD4KICAgICAgICA8bWV0YSBuYW1lPSJ2aWV3cG9ydCIgY29udGVudD0i
d2lkdGg9ZGV2aWNlLXdpZHRoLCBpbml0aWFsLXNjYWxlPTEiPgogICAgICAgIDxzdHlsZT4KICAg
ICAgICAgICAgI2NvbnRhaW5lciB7CiAgICAgICAgICAgICAgICB3aWR0aDogNDEwcHg7CiAgICAg
ICAgICAgICAgICBoZWlnaHQ6IDQwMHB4OwogICAgICAgICAgICAgICAgb3ZlcmZsb3cteTogc2Ny
b2xsOwogICAgICAgICAgICAgICAgLXdlYmtpdC1zY3JvbGwtc25hcC10eXBlOiBtYW5kYXRvcnk7
CiAgICAgICAgICAgICAgICAtd2Via2l0LXNjcm9sbC1zbmFwLXBvaW50cy15OiByZXBlYXQoNDAw
cHgpOwogICAgICAgICAgICAgICAgLyotd2Via2l0LW92ZXJmbG93LXNjcm9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2IGNsYXNzPSJjZWxsIiBpZD0iY2VsbDUiPjwvZGl2PgogICAgICAgIDwvZGl2
PgogICAgPC9ib2R5Pgo8L2h0bWw+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>