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-bottom-width using 'ex' units with a minimum plus one value, 1ex</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-bottom-width">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties">
8 <meta name="flags" content="ahem">
9 <meta name="assert" content="The 'border-bottom-width' property supports a minimum plus one length value in 'ex' units that sets the width of the bottom border.">
10 <style type="text/css">
11 div
12 {
13 font: 20px/1 Ahem;
14 }
15 #wrapper
16 {
17 background: red;
18 height: 1ex;
19 }
20 #test
21 {
22 border-bottom-style: solid;
23 border-bottom-width: 1ex;
24 height: 0;
25 }
26 </style>
27 </head>
28 <body>
29 <p>Test passes if there is a box below and there is no red visible on the page.</p>
30 <div id="wrapper">
31 <div id="test"></div>
32 </div>
33 </body>
34 </html>