Re: [csswg-drafts] [css-selectors] Standardize `:(-moz-)first-node` and `:(-moz-)last-node`

> The demand to differentiate child elements that don't have any text before them from those that do seems to occur quite often (especially in styling user-generated content)

For me it’s elements that don’t have any text after them (eg. the last paragraph in a comment shouldn’t have a margin, but I can’t guarantee that there wouldn’t be any text after it, because I’m dealing with a custom post style for my posts on forum using a horrible frontend that still uses tables for layout in 2018).

-- 
GitHub Notification of comment by ExE-Boss
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3216#issuecomment-430715460 using your GitHub account

Received on Wednesday, 17 October 2018 17:22:59 UTC