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-display] Inlinified layout-internal not well-defined #1582
Now that #1390 removed the issue in the spec, the spec clearly says that e.g. an element with display: table-row that is inlinified should have an inline outer display type and a table-row inner display type. But this kind of box is not defined anywhere!
From #1390 it seems that inlinification should not affect layout-internal boxes.
@SelenIT If it's not possible for a layout-internal box to be inlinified, the spec should say so. However, I think layout-internal boxes are inlinified, because inlinification happens before the creation of intermediary anonymous boxes, as explained in the note:
Note: There are two methods used to fix up box types when a box is mismatched to its context. One is transformation of the computed value of display, such as blockification and inlinification described here. The other, taking place during box tree construction (after computed values have been determined), is the creation of intermediary anonymous boxes, such as happens in tables, ruby, and flow layout.
Therefore, inlinification should have no effect on layout-internal boxes, and then they will generate anonymous boxes after inlinification.
Activity
SelenIT commentedon Jul 6, 2017
Doesn't anonymous box fixup occur in that case, so such box ends up being an inline table?
Loirooriol commentedon Jul 6, 2017
@SelenIT If it's not possible for a layout-internal box to be inlinified, the spec should say so. However, I think layout-internal boxes are inlinified, because inlinification happens before the creation of intermediary anonymous boxes, as explained in the note:
Therefore, inlinification should have no effect on layout-internal boxes, and then they will generate anonymous boxes after inlinification.
fantasai commentedon Jul 12, 2017
I'm not entirely sure what the issue is here, but I've clarified the spec by pointing out what @SelenIT describes in #1582 (comment)
Let me know if there's anything further to address.