Skip to content

Commit 4c21a2a

Browse files
committed
[css-display] Specify that empty text nodes don't generate text runs. Fixes #1808.
1 parent cb7be24 commit 4c21a2a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

css-display-3/Overview.bs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,10 @@ Introduction</h2>
9090
for each property,
9191
the value from the box to which that property was applied.
9292

93-
Similarly, each contiguous sequence of sibling <a>text nodes</a> generates a <a>text run</a>,
93+
Similarly, each contiguous sequence of sibling <a>text nodes</a> generates a <a>text run</a>
94+
containing their text contents,
9495
which is assigned the same styles as the generating <a>text nodes</a>.
96+
If the sequence contains no text, however, it does not generate a <a>text run</a>.
9597

9698
An <dfn for=CSS lt="anonymous|anonymous box" export>anonymous box</dfn> is a box that is not associated with any element.
9799
<a>Anonymous boxes</a> are generated in certain circumstances

0 commit comments

Comments
 (0)