- From: Nadya678 via GitHub <sysbot+gh@w3.org>
- Date: Fri, 19 Jan 2018 14:09:54 +0000
- To: public-css-archive@w3.org
Nadya678 has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-selectors-4] ::text / ::text-node pseudoelement ==
https://drafts.csswg.org/selectors-4/
Please add `::text` or `::text-node` selector to select all text nodes inside any element
for example for
```
<p>
#text1: Here is text
<span>
#text2: Here also is text
</span>
#text3: Here is second text in the paragraph
</p>
```
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