Skip to content

Commit c7841af

Browse files
committed
[css-display] Make the run-in recursion a little clearer. Fixes #1640.
1 parent ef3c8fd commit c7841af

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

css-display-3/Overview.bs

+3-2
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ Run-In Layout</h2>
778778
after its ''::marker'' pseudo-element's boxes (if any),
779779
but preceding any other boxes generated by the contents of the block
780780
(including the box generated by the ''::before'' pseudo-element, if any).
781-
This step recurses if possible
781+
This re-parenting recurses if possible
782782
(so that the run-in effectively becomes
783783
part of the deepest subsequent “paragraph” in its formatting context,
784784
collecting newly-adjacent run-ins as it goes).
@@ -788,7 +788,8 @@ Run-In Layout</h2>
788788
because property inheritance for non-anonymous boxes is based only on the element tree.</span>
789789

790790
<li>
791-
Otherwise,
791+
Otherwise
792+
(if the <a>run-in sequence</a> is <em>not</em> followed by such a block),
792793
an anonymous block box is generated around the <a>run-in sequence</a>
793794
and all immediately following inline-level content
794795
(up to, but not including, the next <a>run-in sequence</a>, if any).

0 commit comments

Comments
 (0)