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-left-width using millimeters with a minimum plus one value, 1mm</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-left-width">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties">
8 <meta name="flags" content="">
9 <meta name="assert" content="The 'border-left-width' property supports a minimum plus one length value in millimeters that sets the width of the left border.">
10 <style type="text/css">
11 div
12 {
13 height: 50px;
14 }
15 .ref1, .ref2
16 {
17 position: absolute;
18 }
19 .ref1
20 {
21 background: red;
22 width: 3px;
23 z-index: -1;
24 }
25 .ref2
26 {
27 background: green;
28 width: 4px;
29 }
30 .test1, .test2
31 {
32 border-left-style: solid;
33 border-left-width: 1mm;
34 width: 0;
35 }
36 .test1
37 {
38 border-left-color: green;
39 }
40 .test2
41 {
42 border-left-color: red;
43 }
44 #parent
45 {
46 background: red;
47 margin-top: 5px;
48 width: 4px;
49 }
50 </style>
51 </head>
52 <body>
53 <p>Test passes if there are two solid green lines below and there is no red visible on the page.</p>
54 <div class="ref1"></div>
55 <div class="test1"></div>
56 <div id="parent">
57 <div class="ref2"></div>
58 <div class="test2"></div>
59 </div>
60 </body>
61 </html>