WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 210468
187697
CSS.supports is incorrect for 'scroll-snap-type'
https://bugs.webkit.org/show_bug.cgi?id=187697
Summary
CSS.supports is incorrect for 'scroll-snap-type'
Majid Valipour
Reported
2018-07-16 07:56:41 PDT
`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
Attachments
Add attachment
proposed patch, testcase, etc.
Martin Robinson
Comment 1
2020-10-15 07:26:35 PDT
*** This bug has been marked as a duplicate of
bug 210468
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug