Skip to content

[css-env] Add environment variables defined in WebKit #11899

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
SebastianZ opened this issue Mar 10, 2025 · 2 comments
Open

[css-env] Add environment variables defined in WebKit #11899

SebastianZ opened this issue Mar 10, 2025 · 2 comments
Assignees

Comments

@SebastianZ
Copy link
Contributor

In #6729, @heycam was tasked 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, 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

@nt1m
Copy link
Member

nt1m commented Mar 11, 2025

Maybe @jernoble or @eric-carlson have thoughts

@bramus
Copy link
Contributor

bramus commented May 14, 2025

In #6729 (comment), @smfr confirmed that the extra envvars mentioned at the start of this thread is correct.

AFAICT these are not documented anywhere. The only reference I could find was a mention in this “What’s new in Safari and WebKit” PDF from WWDC 2018. There is no video that accompanies this deck (or at least I could not find one at https://developer.apple.com/videos/wwdc2018/):

Image

UPDATE: Did find #2871 here in the repo (which didn’t show up through a Google search). These envvars were discussed back in the day, but there was no resolution to actually add them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants