Skip to content

Commit 200ebbc

Browse files
committed
Generated. Do not edit!
1 parent cdffbb1 commit 200ebbc

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

css2/colors.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,14 @@ <h2>14.2 <a name="background">The background</a></h2>
125125

126126

127127

128-
<p>However, if the element whose background 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.
128+
<p>However, if no boxes are generated for the element whose background
129+
would be used for the background of the canvas, then the canvas
130+
background is transparent. (in CSS 2.1, that is the case when the
131+
element or an ancestor has 'display: none'.)
132132

133133
<p>Note that, if the element has 'visibility: hidden' but not
134-
'display: none', its background <em>is</em> used for the canvas.
134+
'display: none', boxes <em>are</em> generated for it and its
135+
background <em>is</em> used for the canvas.
135136

136137

137138

0 commit comments

Comments
 (0)