Skip to content

Commit ccca841

Browse files
committed
[css-display] Fix block/inlinification rules to be more correct / less aggressive.
1 parent 1f18b77 commit ccca841

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

css-display/Overview.bs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,11 @@ Automatic Box Type Transformations</h3>
580580
(This has no effects on <a>display types</a> that generate no box at all,
581581
such as ''display/none'' or ''display/contents''.)
582582
Additionally, if the box originally had a [=layout-internal=] display type,
583-
then its [=inner display type=] is set to ''flow''.
583+
blockification converts its [=inner display type=] to ''flow''.
584+
585+
Issue: Should conversion of layout-internal display types also happen for inlinification?
586+
If it does, should it change to ''flow'' or ''flow-root''?
587+
If it doesn't, then anonymous-box fixup will handle things.
584588

585589
<div class='example'>
586590
Some examples of this include:
@@ -596,6 +600,8 @@ Automatic Box Type Transformations</h3>
596600
it recursively <a>inlinifies</a> all of its in-flow children,
597601
so that no block-level descendants
598602
break up the inline formatting context in which it participates.
603+
If a ''block flow'' box is <a>inlinified</a>,
604+
its <a>inner display type</a> is set to ''flow-root''.
599605

600606
The root element’s display type is always <a>blockified</a>.
601607
Additionally, a 'display' of ''display/contents'' computes to ''block'' on the root element.

0 commit comments

Comments
 (0)