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/
<rdar://problem/48019166>
This bug is referring to the fullscreen constants.
We should submit these to a standards body. Although, I'm not sure anyone is using them.
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!