Re: [csswg-drafts] Remove the "content" requirement for ::before and ::after? [css-pseudo] (#3419)

I'm not sure I follow - instead of checking for `content` and `display`, you'd check for `::before` and `display` (or `::after` and `display`). Is that more work? Yes, by one string, which increases complexity by 100%, but also by a single string check. I don't see a true performance hit here?

As for the common style: well, sure, but that's literally because that's what the spec has said it'd do forever. Just because it's expected doesn't mean it can't be made nicer =)

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

Received on Tuesday, 11 December 2018 01:57:31 UTC