Re: [csswg-drafts] [css-pseudo-5] ::text / ::text-node pseudoelement (#2208)

I believe some of the above thinking too tightly tied to an artifact in the DOM (that never results from parsing) which is the possibility of having empty or adjacent text nodes. Let's have CSS, if in a DOM-based implementation of the host language, pretend that `document.normalize()` was performed before styling. (And do something sensible for APIs using CSS selectors.)

-- 
GitHub Notification of comment by ByteEater-pl
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2208#issuecomment-586731315 using your GitHub account

Received on Sunday, 16 February 2020 17:27:32 UTC