Re: [csswg-drafts] [css-content-3] target-text can create a loop (#4610)

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 account

Received on Tuesday, 17 December 2019 17:05:47 UTC