Skip to content

Commit 04de32d

Browse files
committed
[css-display] Properly specify table-caption boxes. Fixes #1189.
1 parent 434765e commit 04de32d

1 file changed

Lines changed: 24 additions & 10 deletions

File tree

css-display/Overview.bs

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Previous Version: https://www.w3.org/TR/2014/WD-css-display-3-20140911/
1414
Editor: Tab Atkins Jr., Google, http://xanthir.com/contact/
1515
Editor: Elika J. Etemad / fantasai, Invited Expert, http://fantasai.inkedblade.net/contact, w3cid 35400
1616
Abstract: This module describes how the CSS formatting box tree is generated from the document element tree and defines the 'display' property that controls it.
17-
Ignored Terms: display-model, display-role, table row group box, absolutely positioned
17+
Ignored Terms: display-model, display-role, table row group box, absolutely positioned, table formatting context
1818
At Risk: Application of ''::first-letter'' in the presence of run-ins
1919
At Risk: ''display: run-in''
2020
At Risk: All two-keyword values of 'display' and ''display: inline-list-item''
@@ -338,9 +338,11 @@ Inner Display Layout Models: the ''flow'', ''flow-root'', ''table'', ''grid'', a
338338

339339
<dt><dfn>table</dfn>
340340
<dd>
341-
The element generates a principal <i>table wrapper box</i>
342-
containing an additionally-generated <i>table box</i>,
343-
and establishes a <i>table formatting context</i>. [[!CSS2]]
341+
The element generates a principal <a>table wrapper box</a>
342+
that establishes a <a>block formatting context</a>,
343+
and which contains
344+
an additionally-generated <a>table box</a>
345+
that establishes a <a>table formatting context</a>. [[!CSS2]]
344346

345347
<dt><dfn>flex</dfn>
346348
<dd>
@@ -403,17 +405,29 @@ Layout-Internal Display Types: the ''table-*'' and ''ruby-*'' keywords</h3>
403405
The <<display-internal>> keywords are defined as follows:
404406

405407
<dl dfn-type=value dfn-for="display, <display-internal>">
406-
<dt><dfn>table-row-group</dfn>, <dfn>table-header-group</dfn>, <dfn>table-footer-group</dfn>, <dfn>table-row</dfn>, <dfn>table-cell</dfn>, <dfn>table-column-group</dfn>, <dfn>table-column</dfn>, <dfn>table-caption</dfn>
408+
<dt><dfn>table-row-group</dfn>, <dfn>table-header-group</dfn>, <dfn>table-footer-group</dfn>, <dfn>table-row</dfn>, <dfn>table-cell</dfn>, <dfn>table-column-group</dfn>, <dfn>table-column</dfn>
407409
<dd>
408-
The element is an <dfn dfn for>internal table element</dfn>,
409-
and participates in a table layout context. [[!CSS2]]
410+
The element is an <dfn dfn for>internal table element</dfn>.
411+
It generates the appropriate <dfn dfn for>internal table box</dfn>
412+
which participates in a <a>table formatting context</a>.
413+
See <a href="https://www.w3.org/TR/CSS2/tables.html#table-display">CSS2&sect;17.2</a> [[!CSS2]].
410414

411-
''table-cell'' and ''table-caption'' have a ''flow-root'' <a>inner display type</a>.
415+
''table-cell'' boxes have a ''flow-root'' <a>inner display type</a>.
416+
417+
<dt><dfn>table-caption</dfn>
418+
<dd>
419+
The element generates a <dfn dfn for>table caption box</dfn>,
420+
which is a <a>block box</a> with special behavior with respect to table and table wrapper boxes.
421+
See <a href="https://www.w3.org/TR/CSS2/tables.html#table-display">CSS2&sect;17.2</a> [[!CSS2]].
422+
423+
''table-caption'' boxes have a ''flow-root'' <a>inner display type</a>.
424+
<dt>
412425

413426
<dt><dfn>ruby-base</dfn>, <dfn>ruby-text</dfn>, <dfn>ruby-base-container</dfn>, <dfn>ruby-text-container</dfn>
414427
<dd>
415-
The element is an <dfn dfn for>internal ruby element</dfn>,
416-
and participates in a ruby layout context. [[!CSS3RUBY]]
428+
The element is an <dfn dfn for>internal ruby element</dfn>.
429+
It generates the appropriate <dfn dfn for>internal ruby box</dfn>
430+
which participates in a <a>ruby formatting context</a>. [[!CSS3RUBY]]
417431

418432
''ruby-base'' and ''ruby-text'' have a ''flow'' <a>inner display type</a>.
419433
</dl>

0 commit comments

Comments
 (0)