Re: [csswg-drafts] [css-view-transitions-2] [css-pseudo-4] Clarify ordering of `::view-transition` with other tree-abiding pseudo-elements (#9588)

The CSS Working Group just discussed ``[css-view-transitions-2] [css-pseudo-4] Clarify ordering of `::view-transition` with other tree-abiding pseudo-elements``, and agreed to the following:

* `RESOLVED: ::view-transition pseudo is the last child of its originating element, after everything else including other pseudo-elements`

<details><summary>The full IRC log of that discussion</summary>
&lt;fantasai> khush: spec says ::view-transiiton element originates from the document element<br>
&lt;fantasai> khush: but doesn't say what the ordering of the pseudo-element is wrt other pseudo-elements<br>
&lt;fantasai> khush: proposal is, since conceptually it's lifted into containing block, it's meant to be last thing that paints over entire DOM<br>
&lt;fantasai> khush: so having it be after ::after makes sense to me<br>
&lt;fantasai> fantasai: Agree. Should be after everything, including ::after<br>
&lt;fantasai> emilio: is this observable?<br>
&lt;fantasai> khush: I think maybe hit-testing. If the author removes ? from root element, whether you hit ::after or view-transition?<br>
&lt;fantasai> emilio: that's a painting order problem<br>
&lt;fantasai> emilio: It's worth putting in the spec, but might not be observable right now<br>
&lt;fantasai> khush: which is a good time to do it :)<br>
&lt;fantasai> fantasai: if we all agree, let's just resolve and put it in the spec :)<br>
&lt;emilio> emilio: maybe `document.documentElement.getAnimations({ subtree: true })`, if that returns pseudo-element animations?<br>
&lt;fantasai> RESOLVED: ::view-transition pseudo is the last child of its originating element, after everything else including other pseudo-elements<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9588#issuecomment-2100997683 using your GitHub account


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

Received on Wednesday, 8 May 2024 16:46:46 UTC