You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[css-inline][css-display] Does the root inline box replace anonymous inline boxes? #1383
The root inline box is an anonymous inline box which is automatically generated to hold all of the inline-level contents of a block container (if it has any).
What happens first? Is the text first wrapped inside an anonymous inline box according to CSS2.1, and then further wrapped inside the root inline box, together with surrounding inline-level boxes?
Or are all inline-level contents (including text) wrapped inside the root inline box, and thus the text is no longer directly contained inside the block container, and therefore no additional anonymous inline box is created to wrap the text?
Thanks, that's what I suspected. I think this should be mentioned in a note or something, otherwise people will expect the quote from CSS2.1 to still apply, and won't be clear what should happen.
Activity
dbaron commentedon May 16, 2017
The "root inline box" concept came later, and was intended (by me, at least) to replace the former rule on anonymous inline boxes that you quote.
Loirooriol commentedon May 16, 2017
Thanks, that's what I suspected. I think this should be mentioned in a note or something, otherwise people will expect the quote from CSS2.1 to still apply, and won't be clear what should happen.
tabatkins commentedon May 16, 2017
Added a note referencing this to Display, in the "block container" definition.