Re: [csswg-drafts] [css-display] Should anonymous boxes always inherit through the box tree?

> Again, sure, but in your proposed behavior there's a difference: the former would affect the text while the latter would not.

As far as I can gather you are arguing it is strange and surprising that adding a <span> around a text changes it color here. Obviously it wouldn't be surprising at all if there were an explicit rule targeting the span. I'm arguing that being styled via inheritance is no more surprising and the resulting behavior does not necessarily warrant introducing the entirely new concept of "text node styles".

Occam's razor and all that.

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

Received on Friday, 2 June 2017 06:18:28 UTC