W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2018

[csswg-drafts] [css-selectors-4] ::text / ::text-node pseudoelement

From: Nadya678 via GitHub <sysbot+gh@w3.org>
Date: Fri, 19 Jan 2018 14:09:54 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-289987331-1516370993-sysbot+gh@w3.org>
Nadya678 has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-selectors-4] ::text / ::text-node pseudoelement ==

Please add `::text` or `::text-node` selector to select all text nodes inside any element
for example for 
   #text1: Here is text
      #text2: Here also is text
   #text3: Here is second text in the paragraph

the `p::text` will select #text1 and #text3 and the pseudoelement can be styled like` ::after` and `::before` (without need to set "content"). 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2208 using your GitHub account
Received on Friday, 19 January 2018 14:09:55 UTC

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