Documentation for the env(titlebar-area-*) vars #10622
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
As proposed in issue #10539, I am adding some documentation for the new
env(titlebar-area-*)
variables. These variables are useful for desktop-installed PWAs that use the Window Controls Overlay feature.Another part of the documentation needed for #10539 is tracked in PR #10620.
Motivation
The documentation for
env()
only talks about thesafe-area-inset-*
variables for now, but since the Window Controls Overlay feature is coming with Chromium 97, it makes sense to complete this documentation and also add thetitlebar-area-*
variables to it.Supporting details
To find out more about this, here are the 2 most up to date resources:
Related issues
Part of #10539.
Metadata