- From: Dave Myron via GitHub <sysbot+gh@w3.org>
- Date: Fri, 12 Jan 2024 16:47:28 +0000
- To: public-css-archive@w3.org
> @contentfree `a ::text` means `a *::text`, i.e. the `text` pseudo-element originated by an element which is a descendant of `a`. That's why I qualified it with "as a real node". Jumping back to the comment at https://github.com/w3c/csswg-drafts/issues/2208#issuecomment-869923698 and its example: It seems like _some_ mechanism (maybe not `::text`?) to include the current element's text nodes as actual children would allow for `i.fa + <text node>` or targeting the text node after the first `span.emoji-native` element in @mauriciogior's example. (Would `a::text:last-child` work? That would solve for my icon example, I believe.) -- GitHub Notification of comment by contentfree Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2208#issuecomment-1889632489 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 12 January 2024 16:47:29 UTC