Re: [csswg-drafts] [css-display] Element styles should only be assigned to the principal box by default

As part of fixing #1643 in b2d484c6ab9c4dbdb8fdca899e2d37d59d6953e3, we ended up tightening up the language here too: 

> A <a>box</a> is assigned the same styles as its generating [=CSS/element=], unless otherwise indicated.
In general, <a>inherited properties</a> are assigned to the <a>principal box</a>,
and then inherit through the box tree
to any other boxes generated by the same element.
Non-inherited properties default to applying to the <a>principal box</a>,
but when the element generates multiple boxes,
are sometimes defined to apply to a different box:
for example, the 'border' properties applied to a table element
are applied to its <a>table grid box</a>,
not to its <a lt="principal box">principal</a> <a>table wrapper box</a>

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

Received on Monday, 19 March 2018 23:06:48 UTC