<?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>145157</bug_id>
          
          <creation_ts>2015-05-18 19:05:10 -0700</creation_ts>
          <short_desc>A scroller with &quot;scroll-snap-coordinate&quot; descendants needs interdependent X and Y snap offsets</short_desc>
          <delta_ts>2021-07-07 07:18:13 -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>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>145099</dup_id>
          
          <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="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>50167214</cc>
    
    <cc>bfulgham</cc>
    
    <cc>mrobinson</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1095789</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2015-05-18 19:05:10 -0700</bug_when>
    <thetext>We currently store a list of offsets for X and Y axes for snap points. When a scroller has descendants with &apos;scroll-snap-coordinate&apos; values, we need to store x,y points, not independent lists of x and y offsets.

http://dev.w3.org/csswg/css-snappoints/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1102641</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2015-06-17 14:16:35 -0700</bug_when>
    <thetext>Spec is actually unclear on this point, and it&apos;s under discussion.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1108071</commentid>
    <comment_count>2</comment_count>
    <who name="yisibl">50167214</who>
    <bug_when>2015-07-08 19:58:10 -0700</bug_when>
    <thetext>We must support offset value(Firefox 39 also supported: https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-snap-coordinate)

Like this:

scroll-snap-coordinate: top right 10px;
scroll-snap-coordinate: bottom 10px right 20px;

and scroll-snap-destination

scroll-snap-destination: top right 10px;
scroll-snap-destination: bottom 10px right 20px;

See also http://dev.w3.org/csswg/css-backgrounds-3/#position</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1108072</commentid>
    <comment_count>3</comment_count>
    <who name="yisibl">50167214</who>
    <bug_when>2015-07-08 19:59:37 -0700</bug_when>
    <thetext>Name:	scroll-snap-coordinate
Value:	none | &lt;position&gt;#

Also scroll-snap-coordinate: none is not support.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1698648</commentid>
    <comment_count>4</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2020-10-16 09:45:36 -0700</bug_when>
    <thetext>This might be a duplicate of https://bugs.webkit.org/show_bug.cgi?id=145099?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1710638</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-11-30 09:29:33 -0800</bug_when>
    <thetext>&lt;rdar://problem/71808529&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1720857</commentid>
    <comment_count>6</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2021-01-20 04:42:37 -0800</bug_when>
    <thetext>*** Bug 219273 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1775254</commentid>
    <comment_count>7</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2021-07-07 07:18:13 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 145099 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>