You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<span id="list-item-note">* For ''display/list-item'' and ''display/inline-list-item'', additionally set 'display-list' to ''display-list/list-item''.
319
+
320
+
<h3 id='transformations'>
321
+
Automatic Box Type Transformations</h3>
322
+
323
+
Some layout effects require <dfn title="blockify|blockification">blockification</dfn>
324
+
or <dfn title="inlinify|inlinification">inlinification</dfn> of the box type,
325
+
causing the box’s 'display-outside' property, if it is not ''display-outside/none'' or ''display-outside/contents'',
326
+
to compute to ''block-level'' or ''inline-level'' (respectively).
327
+
328
+
<div class='example'>
329
+
Some examples of this include:
330
+
331
+
<ul>
332
+
<li>Absolute positioning or floating an element <a>blockifies</a> the box’s display type. [[CSS21]]
333
+
<li>Containment in a <a spec=css-ruby>ruby container</a><a>inlinifies</a> the box’s display type, as described in [[CSS3RUBY]].
334
+
<li>A parent with a ''display-inside/grid'' or ''display-inside/flex'''display-inside' value <a>blockifies</a> the box’s display type. [[CSS3-GRID-LAYOUT]][[CSS3-FLEXBOX]]
335
+
</ul>
336
+
</div>
283
337
284
-
<dt><dfn>inline-grid</dfn>
285
-
<dd>
286
-
Expands identically to ''inline-level grid''.
287
-
288
-
<dt><dfn>none</dfn>
289
-
<dd>
290
-
Expands identically to ''block none none''.
291
-
</dl>
338
+
The root element’s display type is always <a>blockified</a>.
339
+
Additionally, a 'display-outside' of ''display-outside/contents'' computes to ''block-level'' on the root element.
292
340
293
341
294
342
@@ -337,7 +385,6 @@ Controlling box generation: the 'box-suppress' property</h2>
337
385
must work as normal on this element and its descendants.
0 commit comments