- From: Khushal Sagar via GitHub <sysbot+gh@w3.org>
- Date: Tue, 22 Nov 2022 06:34:01 +0000
- To: public-css-archive@w3.org
I like the idea of using [pre-insert](https://dom.spec.whatwg.org/#concept-node-pre-insert), and [remove](https://dom.spec.whatwg.org/#concept-node-remove). That's what we're currently doing. This also clarifies the DOM order of the child pseudo-elements which dictates their default paint order. Irrespective of the exact terminology for adding/removing the elements, it should explicitly indicate when they are added/removed. As opposed to other pseudo-elements, which are generated if there is a style targeting them, the lifetime of these pseudo-elements depends on specific events in the view transition lifecycle. It doesn't depend on the style cascade. That difference allows flexibility to potentially support features (like :has) for these pseudo-elements because we don't have any circularities. So it's important to clarify that in the spec. -- GitHub Notification of comment by khushalsagar Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8113#issuecomment-1323172159 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 22 November 2022 06:34:03 UTC