- From: Khushal Sagar via GitHub <sysbot+gh@w3.org>
- Date: Wed, 20 Jul 2022 14:57:08 +0000
- To: public-css-archive@w3.org
I'm also curious to understand how we define that a pseudo-element "exists" for it to satisfy the :has check. For ::before/::after, it looks like Blink conditionally creates nodes in the DOM tree for them if their content property is not "none" (and they would generate a box). But from spec perspective they "always exist". For example, getComputedStyle for it returns the correct computed value. But the same is not true for "::marker". So for a pseudo-element to always exist, is the idea that they can be targeted in script as-if they have a DOM node? -- GitHub Notification of comment by khushalsagar Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7463#issuecomment-1190393033 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 20 July 2022 14:57:10 UTC