Re: [csswg-drafts] [css-animations-2, css-transitions-2] Entry and exit animations for top-layer elements (#8189)

> Note: the only way to override such a UA rule is with transition: overlay-behavior.

To be clear, that can't override the UA rule. You can't override a UA !important rule, only the UA can override it, so if the UA doesn't apply an `overlay-behavior: auto !important` rule to an element it will stay as `none`. But the author can control the transition between `none` and `auto` with such a rule.

From an initial read, I think the proposal makes sense. I think using the term “overlay” is a great improvement over “top-layer”. :) I'm a little uncertain about -behavior as the suffix, it doesn't seem to be behavioral, more like a new positioning scheme. (I wonder if `overlay-index: none | auto` makes sense? It's reminiscent of z-index, except the UA is picking the index according to the host rules. Idk)

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


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

Received on Friday, 10 March 2023 23:36:17 UTC