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
The background of the root element becomes the background of the canvas and covers the entire <ahref="intro.html#canvas">canvas</a>, anchored at the same point as it would be if it was painted only for the root element itself. The root element does not paint this background again.
108
+
The background of the root element becomes the background of the canvas and
109
+
covers the entire <ahref="intro.html#canvas">canvas</a>, anchored (for
110
+
<ahref="colors.html#propdef-background-position" class="noxref"><spanclass="propinst-background-position">'background-position'</span></a>) at
111
+
the same point as it would be if it was painted only for the root element
112
+
itself. The root element does not paint this background again.
109
113
</p>
110
114
111
115
<p>For HTML documents, however, we recommend that authors specify the
@@ -117,7 +121,8 @@ <h2><a name="q2">14.2 The background</a></h2>
117
121
user agents must instead use the computed value of those properties
118
122
from that HTML element's first BODY element child when painting
119
123
backgrounds for the canvas, and must not paint a background for that
120
-
BODY element.
124
+
BODY element. Such backgrounds must also be anchored at the same point
125
+
as they would be if they were painted only for the root element.
exercising the possibilities of the latest levels of CSS.
100
100
</p>
101
101
<p>At the lexical level, CSS style sheets consist of a sequence of tokens.
102
-
The list of tokens for CSS 2.1 is as follows. The definitions use Lex-style
102
+
The list of tokens for CSS is as follows. The definitions use Lex-style
103
103
regular expressions. Octal codes refer to ISO 10646 (<ahref="refs.html#ref-ISO10646" rel="biblioentry" class="noxref"><spanclass="normref">[ISO10646]</span></a>). As in
104
104
Lex, in case of multiple matches, the longest match determines the token.
<p>Floats, absolutely positioned elements, inline-blocks, table-cells, and elements with 'overflow' other than 'visible' establish new block formatting contexts.</p>
0 commit comments