Skip to content

Commit

Permalink
Documenting the titlebar-area-* env variables (#14035)
Browse files Browse the repository at this point in the history
* Added compat data for individual env variables

The CSS env() function was introduce for the safe-area-inset-* variables only.
But these are no longer the only ones to exist.
Since I'm adding some MDN docs about the titlebar-area-* vars, I'd like the BCD data to give more specific compat data about those.

I introduced a section for the safe-inset-area-* vars and copied the same compat data from the env() section, since I think both were introduced at the same time.

And I added a section for the titlebar-area-* vars.

* Corrected versions

After checking the chromium CLs where this landed, I corrected the version numbers for chrome and edge, and added a note about linux (which came 1 release later).

I also used https://github.com/mdn/browser-compat-data/blob/main/browsers/opera.json and https://github.com/mdn/browser-compat-data/blob/main/browsers/opera_android.json to derive the Opera versions.

* Removed the alternate name for safe-area-inset

* Fixed syntax issue

* Addressed code review comments
  • Loading branch information
captainbrosset authored Jan 12, 2022
1 parent 002ec17 commit 4c0ea43
Showing 1 changed file with 496 additions and 0 deletions.
Loading

0 comments on commit 4c0ea43

Please sign in to comment.