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

> When an element is “added to the top layer” (see previous section), it is placed in the ordered set of top-layer elements, but the rendering effect of the top layer (putting it in the top-layer stacking context and obeying the rendering order of the ordered set) only applies when top-layer is set.

I'm unclear on the exact effect of adding this element to the the ordered set but not changing its rendering order. There is a set of rules defined [here](https://fullscreen.spec.whatwg.org/#new-stacking-layer:~:text=Each%20element%20and%20%3A%3Abackdrop%20pseudo%2Delement%20in%20a%20top%20layer%20has%20the%20following%20characteristics%3A), the change in rendering order (by updating the element's parent stacking context) is part of it. But isn't all of this deferred by the `transition` property which delays updating the `top-layer` value?

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


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

Received on Wednesday, 11 January 2023 16:56:31 UTC