[Webkit-unassigned] [Bug 187697] New: CSS.supports is incorrect for 'scroll-snap-type'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 16 07:56:41 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=187697

            Bug ID: 187697
           Summary: CSS.supports is incorrect for 'scroll-snap-type'
           Product: WebKit
           Version: Safari 11
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: majidvp at chromium.org

`CSS.supports('scroll-snap-type: mandatory')` returns true but it should be false.


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

So the above should return 'false'. 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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180716/fd0d6e4b/attachment-0001.html>


More information about the webkit-unassigned mailing list