1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3
4 <head>
5
6 <title>CSS Test: Border-width: inherit - border-style inherit</title>
7
8 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
9 <link rel="help" title="Section 8.5.1 Border width" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties">
10 <meta content="" name="flags">
11
12 <style type="text/css">
13 div#grand-parent
14 {
15 border-color: transparent;
16 border-style: solid;
17 border-width: 1em 0em;
18 }
19
20 div#parent
21 {
22 border-color: transparent;
23 border-style: inherit;
24 border-width: inherit;
25 }
26
27 div#child
28 {
29 border-color: green;
30 border-style: inherit;
31 border-width: inherit;
32 }
33 </style>
34
35 </head>
36
37 <body>
38
39 <p>Test passes if there is an horizontal thick green bar across the page.</p>
40
41 <div id="grand-parent">
42 <div id="parent">
43 <div id="child"></div>
44 </div>
45 </div>
46
47 </body>
48 </html>