Skip to content

Commit b09f3b7

Browse files
tabatkinsJordan Taylor
authored and
Jordan Taylor
committed
Clarify that nodes other than text and elements are treated as non-existent. Fixes w3c#4860.
1 parent d85cede commit b09f3b7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

css-display-3/Overview.bs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@ Introduction</h2>
5757
and <dfn id="text-nodes" oldids="css-text-node" export for=CSS lt="text node">text nodes</dfn>,
5858
and renders it onto a <a href="https://www.w3.org/TR/CSS2/intro.html#canvas">canvas</a>
5959
(such as your screen, a piece of paper, or an audio stream).
60+
(Some source documents start from more complex trees,
61+
such as the DOM,
62+
which can have comment nodes
63+
and other types of things.
64+
For the purposes of CSS,
65+
all of these additional types of nodes are ignored,
66+
as if they didn't exist.)
67+
6068
To do this, it generates an intermediary structure,
6169
the <dfn id="box-tree" oldids="css-box-tree" export for=CSS>box tree</dfn>,
6270
which represents the formatting structure of the rendered document.

0 commit comments

Comments
 (0)