[css-display][css-flexbox] Blockification of layout-internal type #1340
Labels
Commenter Satisfied
Commenter has indicated satisfaction with the resolution / edits.
css-display-3
Current Work
Tracked in DoC
CSS Display defines blockification as such:
Some trivial examples:
display: block
(i.e.block flow
) remainsblock flow
(and establishes a BFC).display: inline
(i.e.inline flow
) becomesblock flow
(and establishes a BFC).display: inline-block
(i.e.inline flow-root
) becomesblock flow-root
.display: flow-root
(i.e.block flow-root
) remainsblock flow-root
.display: table-cell
(i.e.table-cell flow-root
) becomesblock flow-root
.Note: Edge generates anonymous table parents instead, according to an old Flexbox spec.
display: table
is especially defined in CSS Flexbox.But now the interesting part:
display: table-row
(i.e.table-row table-row
) becomesblock table-row
.But this combination is not defined! How is it supposed to behave?
Firefox and Chrome seem to treat it like
display: block
. Edge still generates an anonymous parent table. https://jsfiddle.net/sn6y4y0m/1/I think CSS Display should say that, when a box is blockified, if its inner display type is layout-internal, then it becomes
flow
orflow-root
.The text was updated successfully, but these errors were encountered: