1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: currentColor (with 'background-color')</title>
5 <link rel="author" title="L. David Baron" href="https://dbaron.org/">
6 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/">
7 <link rel="help" href="http://www.w3.org/TR/css3-color/#currentcolor">
8 <link rel="match" href="reference/t44-currentcolor-background-b-ref.htm">
9 <meta name="flags" content="">
10 <meta name="assert" content="currentColor uses the color from the color property">
11 <style type="text/css">
12 #two {
13 color: green;
14 background: red;
15 background: currentcolor;
16 }
17 #three {
18 color: green;
19 background-color: red;
20 background-color: currentColor;
21 }
22 </style>
23 </head>
24 <body>
25 <p>This paragraph should be followed by two green blocks.</p>
26 <p id="two">This text should NOT be visible.</p>
27 <p id="three">This text should NOT be visible.</p>
28 </body>
29 </html>