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

> Have all the non-z-order ones sync with display (display: block = adjust, display: none = do not adjust) in a similar fashion inert is synced with display. Have the z-order ones sync magically with the z-index property (this would probably involve some magic internal value).

I see. Sounds like the same suggestion you made earlier in the issue? I think my responses [here](https://github.com/w3c/csswg-drafts/issues/8189#issuecomment-1464607425) and [here](https://github.com/w3c/csswg-drafts/issues/8189#issuecomment-1466313439) are reasons why I think this is not as clean and simple as the `overlay` CSS property in semantics, "magic" or reliability for web developers.

I also don't agree that `overlay` will be hard for developers to understand, they just need to use the `transition` CSS property combined with it, which is straightforward and easy for them to copy-and-paste.

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


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

Received on Tuesday, 28 March 2023 17:33:57 UTC