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-color with a transparent border</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-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-color' property set to 'transparent' is supported and applies to all sides of an element.">
10 <style type="text/css">
11 #wrapper
12 {
13 position: relative;
14 }
15 #div1, #test
16 {
17 border-style: solid;
18 border-width: 10px;
19 height: 1in;
20 width: 1in;
21 position: absolute;
22 top: 0;
23 left: 0;
24 }
25 #div1
26 {
27 border-color: green;
28 }
29 #test
30 {
31 border-color: transparent;
32 }
33 </style>
34 </head>
35 <body>
36 <p>Test passes if there is a green box below.</p>
37 <div id="wrapper">
38 <div id="div1"></div>
39 <div id="test"></div>
40 </div>
41 </body>
42 </html>