You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm requesting a TAG review of safe-area-max-inset-* variables.
This proposal adds safe-area-max-inset-* variables that have the value of the max possible value of the safe-area-inset-* variables. This can be used to create a different effect (a bottom bar that slides) while still respecting the safe area insets and while remaining composited.
Explainer¹: due to a fairly minor addition to the existing specification, I hope that a short inline explainer suffices:
This proposal builds upon the safe-area-inset variables specified here https://drafts.csswg.org/css-env-1/#safe-area-insets. The safe-area-inset variables can dynamically change based on the device, which can require relayout or in some cases jittery appearance. There are some efforts to be able to composite such changes, but it isn't easily possible in all cases. With that, we propose adding safe-area-max-inset-* set of properties that represent the maximum value that the safe-area-inset-* variables can take. These are static and do not change on the device, which allows developers to reliably use the variables to create smooth and fast effects like bottom-bars that slide down as the safe-area-inset-* changes (as an example).
We're happy with this. But please put this text you've written either in a separate explainer doc https://w3ctag.github.io/explainers/ or in the spec itself.
こんにちは TAG-さん!
I'm requesting a TAG review of safe-area-max-inset-* variables.
This proposal adds safe-area-max-inset-* variables that have the value of the max possible value of the safe-area-inset-* variables. This can be used to create a different effect (a bottom bar that slides) while still respecting the safe area insets and while remaining composited.
See further discussion on: w3c/csswg-drafts#11019
This proposal builds upon the safe-area-inset variables specified here https://drafts.csswg.org/css-env-1/#safe-area-insets. The safe-area-inset variables can dynamically change based on the device, which can require relayout or in some cases jittery appearance. There are some efforts to be able to composite such changes, but it isn't easily possible in all cases. With that, we propose adding safe-area-max-inset-* set of properties that represent the maximum value that the safe-area-inset-* variables can take. These are static and do not change on the device, which allows developers to reliably use the variables to create smooth and fast effects like bottom-bars that slide down as the safe-area-inset-* changes (as an example).
Further details:
The text was updated successfully, but these errors were encountered: