Skip to content

Commit cdffbb1

Browse files
committed
[CSS21] New text for erratum for canvas background. Still needs validation.
1 parent 156b081 commit cdffbb1

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

css2/colors.src

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,14 @@ for the root element.
8484
<!-- ToDo: ask the WG to validate the following text for erratum
8585
http://www.w3.org/Style/css2-updates/REC-CSS2-20110607-errata.html#s.14.2 -->
8686

87-
<p>However, if the element whose background would be used for the
88-
background of the canvas has 'display: none', or is a descendant of an
89-
element with 'display: none', then the canvas background is
90-
undefined.
87+
<p>However, if no boxes are generated for the element whose background
88+
would be used for the background of the canvas, then the canvas
89+
background is transparent. (in CSS 2.1, that is the case when the
90+
element or an ancestor has 'display: none'.)
9191

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

9596
<!-- end of erratum -->
9697

0 commit comments

Comments
 (0)