https://drafts.csswg.org/css-content-3/#target-text says > The target-text() function retrieves the text value of the element referred to by the URL. You seem to be assuming that this "text value" includes the text in ::before, but the term doesn't seem to be defined anywhere, right? I guess it could mean something like https://dom.spec.whatwg.org/#concept-descendant-text-content, in your example it would be the empty string. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4610#issuecomment-566655989 using your GitHub accountReceived on Tuesday, 17 December 2019 17:05:47 UTC
This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:57 UTC