[csswg-drafts] [css-env-1] `safe-area-inset-*` variables don't mention they are dynamic (#12793)

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

== [css-env-1] `safe-area-inset-*` variables don't mention they are dynamic ==
The definition of the safe area inset _maximum_ inset variables says this:

> Unlike the safe area inset variables which are dynamic values, the safe area maximum insets are static values that represent the maximum value of their dynamic counterpart...

Though in the definition of the safe area inset variables there is no mention that those are actually dynamic but rather refer to the form of the display. It also says

> For rectangular displays, these must all be zero...

indicating that those variables are static.

So the specification of the `safe-area-inset-*` variables should be changed to clearly state that they are dynamic and what can affect them.

This is also important in regard of the use case covered by the `fullscreen-inset-*` variables implemented in Safari. I.e. if the `safe-area-inset-*` variables are not affected by UA-supplied UI like close buttons or picture-in-picture buttons as outlined by @smfr in https://github.com/w3c/csswg-drafts/issues/11899#issuecomment-3275972813, we'd probably need another set of variables that _are_ affected by them.

Sebastian

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


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

Received on Sunday, 14 September 2025 22:25:21 UTC