Skip to content

Commit 76a59eb

Browse files
committed
[css-display] Make the element/box distinction better, and rephrase precisely how run-ins behave as a result.
1 parent e30a670 commit 76a59eb

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

css-display/Overview.bs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Box Layout Modes: the 'display' property</h2>
135135
Media: all
136136
</pre>
137137

138-
The 'display' property defines box's <dfn export>display type</dfn>,
138+
The 'display' property defines an element's <dfn export>display type</dfn>,
139139
which consists of the two basic qualities of how an element generates boxes:
140140

141141
* the <dfn export local-lt="inner">inner display type</dfn>,
@@ -303,10 +303,9 @@ Outer Display Roles for Flow Layout: the ''block'', ''inline'', and ''run-in'' k
303303

304304
<dt><dfn>run-in</dfn>
305305
<dd>
306-
The element generates a <a>run-in box</a>
307-
when placed in <a>flow layout</a>.
308-
Run-in elements act like inlines or blocks,
309-
depending on the surrounding elements.
306+
The element generates an <a>run-in box</a>,
307+
which is a type of <a>inline-level box</a>
308+
with special behavior that attempts to merge it into a subsequent block container.
310309
See [[#run-in-layout]] for details.
311310
</dl>
312311

@@ -744,7 +743,7 @@ Run-In Layout</h2>
744743
</pre>
745744
</div>
746745

747-
A <a>run-in box</a> behaves exactly as an <a>inline-level box</a>, except:
746+
A <a>run-in box</a> behaves exactly as any other <a>inline-level box</a>, except:
748747

749748
<ul>
750749
<li>

0 commit comments

Comments
 (0)