<?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>187697</bug_id>
          
          <creation_ts>2018-07-16 07:56:41 -0700</creation_ts>
          <short_desc>CSS.supports is incorrect for &apos;scroll-snap-type&apos;</short_desc>
          <delta_ts>2020-10-15 07:26:35 -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>CSS</component>
          <version>Safari 11</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>210468</dup_id>
          
          <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="Majid Valipour">majidvp</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>1442380</commentid>
    <comment_count>0</comment_count>
    <who name="Majid Valipour">majidvp</who>
    <bug_when>2018-07-16 07:56:41 -0700</bug_when>
    <thetext>`CSS.supports(&apos;scroll-snap-type: mandatory&apos;)` returns true but it should be false.


CSS Scroll Snap [1] which is supported by Safari require &apos;scroll-snap-type&apos; to have the following syntax value.
none | [ x | y | block | inline | both ] [ mandatory | proximity ]?

So the above should return &apos;false&apos;. This is particularly problematic since the buggy
syntax maps to the deprecated css-snap-points spec so it can cause confusion if someone tries to use it 
for feature detection between old and new specification.


[1] https://drafts.csswg.org/css-scroll-snap/#scroll-snap-type</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1698099</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2020-10-15 07:26:35 -0700</bug_when>
    <thetext>

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

    </bug>

</bugzilla>