<?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>144706</bug_id>
          
          <creation_ts>2015-05-06 12:44:58 -0700</creation_ts>
          <short_desc>Scroll-snap &apos;elements&apos; code path is not tested</short_desc>
          <delta_ts>2020-10-16 09:44:57 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</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></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="Nobody">webkit-unassigned</assigned_to>
          <cc>mrobinson</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1092290</commentid>
    <comment_count>0</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-05-06 12:44:58 -0700</bug_when>
    <thetext>We need to build a set of tests that exercise the &apos;elements&apos; target for scroll-snap-points. Right now, this code is only rarely exercised and could easily be broken as we do more development.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1105145</commentid>
    <comment_count>1</comment_count>
    <who name="Wenson Hsieh">wenson_hsieh</who>
    <bug_when>2015-06-26 22:20:27 -0700</bug_when>
    <thetext>While working on https://bugs.webkit.org/show_bug.cgi?id=142523, I just discovered that  scroll snapping with elements in the mainframe for OSX seems to be broken on the current tip. I&apos;ve added a test case that exhibits this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1105146</commentid>
    <comment_count>2</comment_count>
      <attachid>255692</attachid>
    <who name="Wenson Hsieh">wenson_hsieh</who>
    <bug_when>2015-06-26 22:23:07 -0700</bug_when>
    <thetext>Created attachment 255692
3x3 grid of large elements in the mainframe with scroll snap coordinates.

Scrolling in the mainframe of this page should trigger scroll snapping.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1698647</commentid>
    <comment_count>3</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2020-10-16 09:44:57 -0700</bug_when>
    <thetext>I did some digging through the history of the specification and I think that all captured snap points exercise the &quot;elements&quot; path. I have also recently imported all of the WPT scroll-snap tests, so I think we have some decent test coverage now. I&apos;m going to resolve bug, but feel free to reopen.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>255692</attachid>
            <date>2015-06-26 22:23:07 -0700</date>
            <delta_ts>2015-06-26 22:23:07 -0700</delta_ts>
            <desc>3x3 grid of large elements in the mainframe with scroll snap coordinates.</desc>
            <filename>scroll-snap-mandatory-2d-mainframe.html</filename>
            <type>text/html</type>
            <size>1121</size>
            <attacher name="Wenson Hsieh">wenson_hsieh</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIEhUTUw+CjxodG1sPgogICAgPGhlYWQ+CiAgICAgICAgPHN0eWxlPgogICAgICAg
ICAgICBib2R5IHsKICAgICAgICAgICAgICAgIHdoaXRlLXNwYWNlOiBub3dyYXA7CiAgICAgICAg
ICAgICAgICAtd2Via2l0LW92ZXJmbG93LXNjcm9sbGluZzogdG91Y2g7CiAgICAgICAgICAgICAg
ICAtd2Via2l0LXNjcm9sbC1zbmFwLXR5cGU6IG1hbmRhdG9yeTsKICAgICAgICAgICAgICAgIC13
ZWJraXQtc2Nyb2xsLXNuYXAtZGVzdGluYXRpb246I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NzPSJjZWxsIj48L2Rpdj4KICAgIDwvYm9keT4KPC9odG1sPgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>