border-right-width-028

Border-right-width using picas with a nominal value, 6pc

WeasyPrint

This browser

Assertion
The 'border-right-width' property supports a nominal length value in picas that sets the width of the right border.

Source

 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 picas with a nominal value, 6pc</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="">
 9         <meta name="assert" content="The 'border-right-width' property supports a nominal length value in picas that sets the width of the right border.">
10         <style type="text/css">
11             div
12             {
13                 height: 1in;
14             }
15             #reference
16             {
17                 background-color: black;
18                 width: 1in;
19                 margin-top: 5px;
20             }
21             #test
22             {
23                 border-right-style: solid;
24                 border-right-width: 6pc;
25                 width: 0;
26             }
27         </style>
28     </head>
29     <body>
30         <p>Test passes if the two boxes below are the same width.</p>
31         <div id="test"></div>
32         <div id="reference"></div>
33     </body>
34 </html>