We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a4e2c7 commit f853bbeCopy full SHA for f853bbe
1 file changed
css2/colors.html
@@ -122,6 +122,19 @@ <h2>14.2 <a name="background">The background</a></h2>
122
anchored at the same point as they would be if they were painted only
123
for the root element.
124
</p>
125
+
126
127
128
+<p>However, if the element whose backgound would be used for the
129
+background of the canvas has 'display: none', or is a descendant of an
130
+element with 'display: none', then the canvas background is
131
+undefined.
132
133
+<p>Note that, if the element has 'visibility: hidden' but not
134
+'display: none', its background <em>is</em> used for the canvas.
135
136
137
138
<div class="html-example"><p>
139
According to these rules, the canvas underlying the following
140
HTML document will have a "marble" background:
0 commit comments