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-right-width using 'em' units with a minimum minus one (negative) value, -1em</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-right-width">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties">
8 <meta name="flags" content="ahem invalid">
9 <meta name="assert" content="The 'border-right-width' property does not support a negative length value in 'em' units and resets to the initial value.">
10 <style type="text/css">
11 div
12 {
13 border-right-style: solid;
14 font: 20px/1 Ahem;
15 height: 1in;
16 width: 0;
17 }
18 #reference
19 {
20 border-right-width: medium;
21 margin-top: 5px;
22 }
23 #test
24 {
25 border-right-style: solid;
26 border-right-width: -1em;
27 }
28 </style>
29 </head>
30 <body>
31 <p>Test passes if the two lines below are the same width.</p>
32 <div id="test"></div>
33 <div id="reference"></div>
34 </body>
35 </html>