Skip to content

Commit 3a4e2c7

Browse files
committed
[CSS21] Added concrete text for the erratum for 14.2 (http://www.w3.org/Style/css2-updates/REC-CSS2-20110607-errata.html#s.14.2). The text has not yet been validated by the WG.
1 parent d998236 commit 3a4e2c7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

css2/colors.src

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,20 @@ background for that child element. Such backgrounds must also be
8080
anchored at the same point as they would be if they were painted only
8181
for the root element.
8282
</p>
83+
84+
<!-- ToDo: ask the WG to validate the following text for erratum
85+
http://www.w3.org/Style/css2-updates/REC-CSS2-20110607-errata.html#s.14.2 -->
86+
87+
<p>However, if the element whose backgound 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.
91+
92+
<p>Note that, if the element has 'visibility: hidden' but not
93+
'display: none', its background <em>is</em> used for the canvas.
94+
95+
<!-- end of erratum -->
96+
8397
<div class="html-example"><p>
8498
According to these rules, the canvas underlying the following
8599
HTML document will have a "marble" background:

0 commit comments

Comments
 (0)