[Webkit-unassigned] [Bug 194486] New: [css-env] WebKit exposes a number of non-standard built-in env() variables

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 10 16:37:46 PST 2019


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

            Bug ID: 194486
           Summary: [css-env] WebKit exposes a number of non-standard
                    built-in env() variables
           Product: WebKit
           Version: Safari 12
          Hardware: All
                OS: All
            Status: NEW
          Severity: Major
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mats at mozilla.com

Created attachment 361651

  --> https://bugs.webkit.org/attachment.cgi?id=361651&action=review

Testcase

It appears that WebKit exposes a number of built-in env() variables[1] that
are not in the css-env specification[2].

The specification says that any UA that implements env() has a mandatory
requirement to not expose additional variables to the web.
"Additional UA-defined environment variables *must not* be supported unless/until they are added to this list."

The attached testcase fails in Safari 12.0.1.  This makes it a non-compliant UA.

Please unship these variables, or write up a specification for what they do
and bring it to the CSSWG for standardization.

Thanks.

[1]
https://github.com/WebKit/webkit/blob/master/Source/WebCore/dom/ConstantPropertyMap.cpp#L57-L61

[2]
https://drafts.csswg.org/css-env-1/

-- 
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/20190211/1589eaa7/attachment.html>


More information about the webkit-unassigned mailing list