Re: [csswg-drafts] `display: contents` with `nth-child` and other pseudo-classes (#11647)

> so that it would persist in the DOM, but won't be interacting in ANY way as if it's not there at all

You can't have that. If you change the DOM, then all things that are based on the DOM (like CSS selectors) will see the change.

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


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

Received on Friday, 7 February 2025 00:06:09 UTC