[csswg-drafts] [css-env] Add environment variables defined in WebKit (#11899)

SebastianZ has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-env] Add environment variables defined in WebKit ==
In #6729, @heycam [was tasked](https://github.com/w3c/csswg-drafts/issues/6729#issuecomment-960085430) to provide a list of environment variables WebKit implements, which should be standardized. @tabatkins asked for that list to be able to publish a FPWD.

From reading the [related code](https://github.com/WebKit/WebKit/blob/359a09e27da28d4c8b5ff4a099c34867c618d2d5/Source/WebCore/dom/ConstantPropertyMap.cpp#L60-L64), it looks like the missing environment variables are:

* `fullscreen-inset-top`
* `fullscreen-inset-left`
* `fullscreen-inset-bottom`
* `fullscreen-inset-right`
* `fullscreen-auto-hide-duration`

@heycam, @fantasai Should those be added to the spec.? Are there any other variables not listed here?

Sebastian

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11899 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 10 March 2025 21:32:12 UTC