IssueRaiser

[css-pseudo-5] ::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").

Posted by Nadya678 on Jan 19, 2018, 2:09 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.4,500 issues0 comments

github (Other)

[css-pseudo-5] ::text / ::text-node pseudoelement

Nadya678Jan 19, 2018, 2:09 PM

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").

Comments (0)

No comments yet. Start the discussion.

Comment on this issue