W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2019

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

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Tue, 17 Dec 2019 17:05:46 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-566655989-1576602344-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:57 UTC