Skip to content

Commit 533ac0a

Browse files
committed
[css-display] Add spec-author guidance for box construction, per #1643.
1 parent f5df208 commit 533ac0a

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

css-display-3/Overview.bs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,6 +1169,27 @@ SVG Elements {#unbox-svg}
11691169
where their contents are handled in a totally separate context from their parent,
11701170
just removes itself entirely.
11711171

1172+
<h2 class=no-num id="box-guidelines">
1173+
Appendix C: Box Construction Guidelines for Spec Authors</h2>
1174+
1175+
<em>This section is non-normative guidance for specification authors.</em>
1176+
1177+
* A box cannot be <a>blockified</a> and <a>inlinified</a> at the same time;
1178+
if such a thing would occur,
1179+
define which wins over the other.
1180+
* Non-principal non-anonymous boxes can't be <a>blockified</a>:
1181+
blockification affects the element’s computed values
1182+
and thus determines the type of its <a>principal box</a>.
1183+
* Boxes which <a>blockify</a> their contents
1184+
can't directly contain <a>inline-level</a> content;
1185+
any boxes or text runs generated within such an element
1186+
must be <a>blockified</a>
1187+
or wrapped in an <a>anonymous</a> <a>block container</a>.
1188+
* Boxes which <a>inlinify</a> their contents
1189+
can't directly contain <a>block-level</a> boxes;
1190+
any boxes generated within such an element
1191+
must be <a>inline-level</a>.
1192+
11721193
<h2 class=no-num id="acknowledgments">
11731194
Acknowledgments</h2>
11741195

0 commit comments

Comments
 (0)