[Webkit-unassigned] [Bug 154669] New: CSS.supports returns false for custom properties
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 24 23:39:28 PST 2016
https://bugs.webkit.org/show_bug.cgi?id=154669
Bug ID: 154669
Summary: CSS.supports returns false for custom properties
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: OS X 10.11
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: 50167214 at qq.com
1. Run CSS.supports('--foo', 'red') on the JavaScript console
What is the expected result?
true getting logged in the console
What happens instead?
false getting logged in the console
As custom properties (aka CSS variables) are now supported in Chromium, CSS.supports('--foo', 'red') should return true.
The alternative method signature using a conditionText works already correct and returns true for CSS.supports('(--foo: red)')
The related specification can be found here:
https://drafts.csswg.org/css-conditional-3/#the-css-interface
See also: https://crbug.com/584683(Blink fixed)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160225/9eeca566/attachment.html>
More information about the webkit-unassigned
mailing list