Re: [csswg-drafts] [css-anchor-position] flip should also flip safe-area-inset values (#10422)

Doesn't quite fit within the exiting nature of "flips" in Blink, but it should be possible. We can spec that, for a style resolution under a given flip, the _substitution value_ of `env()` is modified according to the flip.

So for example: for `left: env(safe-area-inset-left)` and `flip-inline`, `safe-area-inset-left` is transformed to `safe-area-inset-right` during substitution. So post-substitution we get e.g. `left: 42px; /* from safe-area-inset-right */`. Then, separately, that value is swapped with `right` using the existing mechanism.

-- 
GitHub Notification of comment by andruud
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10422#issuecomment-2163139946 using your GitHub account


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

Received on Wednesday, 12 June 2024 14:19:52 UTC