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
If the element’s computed <aclass=propertydata-link-type=propdeschref=#propdef-display-outsidetitle=display-outside>display-outside</a> value is <aclass=cssdata-link-type=maybehref=#valdef-display-outside-inline-leveltitle=inline-level>inline-level</a>,
211
211
the element is an inline element,
212
212
and lays out its contents using inline layout. <adata-biblio-type=normativedata-link-type=bibliohref=#biblio-css21title=biblio-CSS21>[CSS21]</a>
213
-
If the element’s computed <aclass=propertydata-link-type=propdeschref=#propdef-display-outsidetitle=display-outside>display-outside</a> value is an <adata-link-type=dfnhref=#layout-specific-display-roletitle="layout-specific display role">layout-specific display role</a>,
213
+
If the element’s computed <aclass=propertydata-link-type=propdeschref=#propdef-display-outsidetitle=display-outside>display-outside</a> value is an <adata-link-type=dfnhref=#layout-specific-internal-typestitle="layout-specific internal type">layout-specific internal type</a>,
214
214
this elements acts as normal for its given <aclass=propertydata-link-type=propdeschref=#propdef-display-outsidetitle=display-outside>display-outside</a> value.
215
215
Otherwise, this value computes to <aclass=cssdata-link-for=display-insidedata-link-type=maybehref=#valdef-display-inside-blocktitle=block>block</a>.
<aclass=cssdata-link-for=display-outsidedata-link-type=maybehref=#valdef-display-outside-contentstitle=contents>contents</a> currently only has an effect on box generation and layout.
273
-
Other things that care about the document tree are unaffected, like counter scopes.
274
-
Is this what we want?
271
+
272
+
<pclass=issueid=issue-1cacf007><aclass=self-linkhref=#issue-1cacf007></a><aclass=cssdata-link-for=display-outsidedata-link-type=maybehref=#valdef-display-outside-contentstitle=contents>contents</a> currently only has an effect on box generation and layout.
273
+
Other things that care about the document tree are unaffected, like counter scopes.
and does not participate in any formatting context.
280
280
281
281
<pclass=note>Note: This value exists for legacy reasons,
282
-
and interacts with the separate <aclass=propertydata-link-type=propdeschref=#propdef-box-suppresstitle=box-suppress>box-suppress</a> property.
283
-
It is recommended that <aclass=propertydata-link-type=propdeschref=#propdef-box-suppresstitle=box-suppress>box-suppress</a> be used to suppress an element,
282
+
and interacts with the separate <aclass=propertydata-link-type=propdeschref=#propdef-box-suppresstitle=box-suppress>box-suppress</a> property.</p>
283
+
284
+
<strongclass=advisement>It is recommended that <aclass=propertydata-link-type=propdeschref=#propdef-box-suppresstitle=box-suppress>box-suppress</a> be used instead of <aclass=cssdata-link-type=propdeschref=#propdef-displaytitle=display>display: none</a>,
284
285
so that the element’s display type is automatically preserved
The element is an <dfnclass=cssdata-dfn-for=display-outsidedata-dfn-type=valuedata-export="" id=valdef-display-outside-internal-table-element>internal table element<aclass=self-linkhref=#valdef-display-outside-internal-table-element></a></dfn>,
290
+
The element is an <dfndata-dfn-type=dfndata-noexport="" id=internal-table-element>internal table element<aclass=self-linkhref=#internal-table-element></a></dfn>,
290
291
and participates in a table layout context. <adata-biblio-type=normativedata-link-type=bibliohref=#biblio-css21title=biblio-CSS21>[CSS21]</a>
291
-
These values are all <adata-link-type=dfnhref=#layout-specific-display-roletitle="layout-specific display roles">layout-specific display roles</a>.
292
+
293
+
<p><aclass=cssdata-link-for=display-outsidedata-link-type=maybehref=#valdef-display-outside-table-celltitle=table-cell>table-cell</a> and <aclass=cssdata-link-for=display-outsidedata-link-type=maybehref=#valdef-display-outside-table-captiontitle=table-caption>table-caption</a> are <adata-link-type=dfnhref=#layout-specific-leaf-typestitle="layout-specific leaf types">layout-specific leaf types</a>;
294
+
the rest are <adata-link-type=dfnhref=#layout-specific-internal-typestitle="layout-specific internal types">layout-specific internal types</a>.</p>
The element is an <dfnclass=cssdata-dfn-for=display-outsidedata-dfn-type=valuedata-export="" id=valdef-display-outside-internal-ruby-element>internal ruby element<aclass=self-linkhref=#valdef-display-outside-internal-ruby-element></a></dfn>,
298
+
The element is an <dfndata-dfn-type=dfndata-noexport="" id=internal-ruby-element>internal ruby element<aclass=self-linkhref=#internal-ruby-element></a></dfn>,
296
299
and participates in a ruby layout context. <adata-biblio-type=normativedata-link-type=bibliohref=#biblio-css3rubytitle=biblio-CSS3RUBY>[CSS3RUBY]</a>
297
-
These values are all <adata-link-type=dfnhref=#layout-specific-display-roletitle="layout-specific display roles">layout-specific display roles</a>.
300
+
301
+
<p><aclass=cssdata-link-type=maybehref=#valdef-display-outside-ruby-basetitle=ruby-base>ruby-base</a> and <aclass=cssdata-link-type=maybehref=#valdef-display-outside-ruby-texttitle=ruby-text>ruby-text</a> are <adata-link-type=dfnhref=#layout-specific-leaf-typestitle="layout-specific leaf types">layout-specific leaf types</a>;
302
+
<aclass=cssdata-link-type=maybehref=#valdef-display-outside-ruby-base-containertitle=ruby-base-container>ruby-base-container</a> and <aclass=cssdata-link-type=maybehref=#valdef-display-outside-ruby-text-containertitle=ruby-text-container>ruby-text-container</a> are <adata-link-type=dfnhref=#layout-specific-internal-typestitle="layout-specific internal types">layout-specific internal types</a>.</p>
298
303
</dl>
299
304
300
305
<p>Some values of <aclass=propertydata-link-type=propdeschref=#propdef-display-outsidetitle=display-outside>display-outside</a> are specialized for particular formatting contexts,
301
-
and don’t have meaning outside of those specific contexts.
302
-
These values are called <dfndata-dfn-type=dfndata-noexport="" id=layout-specific-display-roletitle="layout-specific display role">layout-specific display roles<aclass=self-linkhref=#layout-specific-display-role></a></dfn>.
303
-
Generally, a <adata-link-type=dfnhref=#layout-specific-display-roletitle="layout-specific display role">layout-specific display role</a> will generate wrapper boxes around itself
304
-
to ensure that it ends up in the correct formatting context,
305
-
if it’s not placed in an appropriate formatting context;
306
-
the details of this are specified by each layout mode.</p>
306
+
and don’t have meaning outside of those specific contexts:</p>
These display types require their parent and children to be of particular display types.
312
+
For example, a <aclass=cssdata-link-type=maybehref=#valdef-display-outside-table-rowtitle=table-row>table-row</a> box requires its parent to be a <adata-link-type=dfntitle="table row group box">table row group box</a>
313
+
and its children to be <aclass=cssdata-link-for=display-outsidedata-link-type=maybehref=#valdef-display-outside-table-celltitle=table-cell>table-cell</a> boxes.
These display types require their parent to be of a particular display type,
318
+
but can accept any <aclass=propertydata-link-type=propdeschref=#propdef-display-insidetitle=display-inside>display-inside</a> value.
319
+
For example, a <aclass=cssdata-link-for=display-outsidedata-link-type=maybehref=#valdef-display-outside-table-captiontitle=table-caption>table-caption</a> box must have a <aclass=cssdata-link-for=display-insidedata-link-type=maybehref=#valdef-display-inside-tabletitle=table>table</a> parent,
320
+
but can establish any kind of formatting context for its children.
321
+
</dl>
322
+
323
+
<p>Boxes with layout-specific types generate wrapper boxes around themselves
324
+
when placed in an incompatible parent,
325
+
as defined by their respective specifications.</p>
Creating List Markers: the <aclass=propertydata-link-type=propdeschref=#propdef-display-listtitle=display-list>display-list</a> property</span><aclass=self-linkhref=#display-list></a></h3>
<aclass=cssdata-link-for=display-outsidedata-link-type=maybehref=#valdef-display-outside-contentstitle=contents>contents</a> currently only has an effect on box generation and layout.
773
-
Other things that care about the document tree are unaffected, like counter scopes.
774
-
Is this what we want?
775
-
776
-
<ahref=#issue-70648825> ↵ </a></div></div>
791
+
<h2class="no-num heading settled" id=issues-index><spanclass=content>Issues Index</span><aclass=self-linkhref=#issues-index></a></h2><divstyle="counter-reset: issue"><divclass=issue><aclass=cssdata-link-for=display-outsidedata-link-type=maybehref=#valdef-display-outside-contentstitle=contents>contents</a> currently only has an effect on box generation and layout.
792
+
Other things that care about the document tree are unaffected, like counter scopes.
793
+
Is this what we want?<ahref=#issue-1cacf007> ↵ </a></div></div>
0 commit comments