WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
194486
[css-env] WebKit exposes a number of non-standard built-in env() variables
https://bugs.webkit.org/show_bug.cgi?id=194486
Summary
[css-env] WebKit exposes a number of non-standard built-in env() variables
Mats Palmgren
Reported
2019-02-10 16:37:46 PST
Created
attachment 361651
[details]
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/
Attachments
Testcase
(173 bytes, text/html)
2019-02-10 16:37 PST
,
Mats Palmgren
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-02-12 15:57:50 PST
<
rdar://problem/48019166
>
Tim Horton
Comment 2
2019-02-12 16:01:03 PST
This bug is referring to the fullscreen constants.
Dean Jackson
Comment 3
2019-02-12 16:13:50 PST
We should submit these to a standards body. Although, I'm not sure anyone is using them.
Ahmad Saleem
Comment 4
2022-08-20 17:20:57 PDT
I am able to reproduce this bug using attached test case on Safari 15.6.1 and Safari Technology Preview 151 and it just show 'x' but not within box etc., while all other browsers (Chrome Canary 106 and Firefox Nightly 105) show "green rectangle" around 'x'. Thanks!
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