Skip to content

Commit e225aed

Browse files
committed
[css-display-3] Improve intro explanation of element trees. w3c#4663
1 parent 1025c4a commit e225aed

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

css-display-3/Overview.bs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,18 @@ Introduction</h2>
7070

7171
<p><em>This section is normative.</em>
7272

73-
CSS takes a source document, organized as
73+
CSS takes a source document organized as
7474
a <dfn id="element-tree" oldids="css-element-tree" export for=CSS lt="element tree">tree</dfn>
7575
of <dfn id="elements" oldids="css-element" export for=CSS lt="element">elements</dfn>
76-
and <dfn id="text-nodes" oldids="css-text-node" export for=CSS lt="text node">text nodes</dfn>,
76+
(which can contain a mix of other [=elements=] and [=text nodes=])
77+
and <dfn id="text-nodes" oldids="css-text-node" export for=CSS lt="text node">text nodes</dfn>
78+
(which can contain text),
7779
and renders it onto a <a href="https://www.w3.org/TR/CSS2/intro.html#canvas">canvas</a>
7880
such as your screen, a piece of paper, or an audio stream.
79-
(Some source documents start from more complex trees,
80-
such as the DOM,
81-
which can have comment nodes
82-
and other types of things.
83-
[[DOM]]
81+
Although any such source document can be rendered with CSS,
82+
the most commonly used type is the the DOM. [[DOM]]
83+
(Some of these more complex tree types might have additional types of nodes,
84+
such as the comment nodes in the DOM.
8485
For the purposes of CSS,
8586
all of these additional types of nodes are ignored,
8687
as if they didn't exist.)

0 commit comments

Comments
 (0)