You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-display-3/Overview.bs
+11-7
Original file line number
Diff line number
Diff line change
@@ -49,15 +49,19 @@ Introduction</h2>
49
49
50
50
<p><em>This section is normative.</em>
51
51
52
-
CSS takes a source document, organized as a <dfn export for=CSS lt="element tree">tree</dfn> of <dfn export for=CSS lt="element">elements</dfn> and <dfn export for=CSS lt="text node">text nodes</dfn>,
53
-
and renders it onto a <a href="https://www.w3.org/TR/CSS2/intro.html#canvas">canvas</a> (such as your screen, a piece of paper, or an audio stream).
52
+
CSS takes a source document, organized as
53
+
a <dfn id="element-tree" oldids="css-element-tree" export for=CSS lt="element tree">tree</dfn>
54
+
of <dfn id="elements" oldids="css-element" export for=CSS lt="element">elements</dfn>
55
+
and <dfn id="text-nodes" oldids="css-text-node" export for=CSS lt="text node">text nodes</dfn>,
56
+
and renders it onto a <a href="https://www.w3.org/TR/CSS2/intro.html#canvas">canvas</a>
57
+
(such as your screen, a piece of paper, or an audio stream).
54
58
To do this, it generates an intermediary structure,
55
-
the <dfn export for=CSS>box tree</dfn>,
59
+
the <dfn id="box tree" oldids="css-box-tree" export for=CSS>box tree</dfn>,
56
60
which represents the formatting structure of the rendered document.
57
-
Each <dfn export for=CSS>box</dfn> in the <a>box tree</a>
61
+
Each <dfn id="box" oldids="css-box" export for=CSS>box</dfn> in the <a>box tree</a>
58
62
represents its corresponding [=CSS/element=] (or <a>pseudo-element</a>)
59
63
in space and/or time on the canvas,
60
-
while each <dfn export for=CSS>text run</dfn> in the <a>box tree</a>
64
+
while each <dfn id="text-run" oldids="css-text-run" export for=CSS>text run</dfn> in the <a>box tree</a>
61
65
likewise represents the contents of its corresponding <a>text nodes</a>.
62
66
63
67
To create the <a>box tree</a>,
@@ -107,7 +111,7 @@ Introduction</h2>
107
111
which is assigned the same styles as the generating <a>text nodes</a>.
108
112
If the sequence contains no text, however, it does not generate a <a>text run</a>.
109
113
110
-
An <dfn for=CSS lt="anonymous|anonymous box" export>anonymous box</dfn> is a box that is not associated with any element.
114
+
An <dfn id="anonymous" oldids="css-anonymous" for=CSS lt="anonymous|anonymous box" export>anonymous box</dfn> is a box that is not associated with any element.
111
115
<a>Anonymous boxes</a> are generated in certain circumstances
112
116
to fix up the <a>box tree</a> when it requires a particular nested structure
113
117
that is not provided by the boxes generated from the <a>element tree</a>.
0 commit comments