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: Border-top-color set to transparent</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties">
8 <meta name="flags" content="">
9 <meta name="assert" content="The 'border-top-color' set to transparent properly renders a border with no visible color.">
10 <style type="text/css">
11 #wrapper
12 {
13 background-color: green;
14 width: 1in;
15 }
16 #test
17 {
18 border-top-style: solid;
19 border-top-width: 1in;
20 border-top-color: red;
21 border-top-color: transparent;
22 height: 0;
23 }
24 </style>
25 </head>
26 <body>
27 <p>Test passes if there is a green box below.</p>
28 <div id="wrapper">
29 <div id="test"></div>
30 </div>
31 </body>
32 </html>