Skip to content

Commit 5aa3d34

Browse files
committed
[css-display] Clarify that box fixup is after display: none/contents, and that these values do not affect markup-based relationships.
1 parent 3fdc809 commit 5aa3d34

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

css-display/Overview.bs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,17 @@ Box Generation: the ''none'' and ''contents'' keywords</h3>
487487
Elements with either of these values do not have <a>inner</a> or <a>outer display types</a>,
488488
because they don't generate any boxes at all.
489489

490+
Note: As these values cause affected elements to not generate a box,
491+
anonymous box generation rules will ignore the elided elements entirely,
492+
as if they did not exist in the box tree.
493+
494+
Markup-based relationships, however, are not affected by these values,
495+
as they are solely rendering-time effects.
496+
For example,
497+
although they may affect which table cell <em>appears</em> in a column,
498+
they do not affect which table cell is associated with a particular column <em>element</em>.
499+
Similarly, they cannot affect which HTML <{summary}> element is associated with a particular table or whether a <{legend}> is the name of a <{fieldset}>.
500+
490501
<h3 id='legacy-display'>
491502
Precomposed Inline-level Display Values</h3>
492503

0 commit comments

Comments
 (0)