border-bottom-width-023

Border-bottom-width using picas with a minimum minus one (negative) value, -1pc

WeasyPrint

This browser

Flags
invalid
Assertion
The 'border-bottom-width' property does not support a negative length value in picas and resets to the initial value.

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-bottom-width using picas with a minimum minus one (negative) value, -1pc</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="invalid">
 9         <meta name="assert" content="The 'border-bottom-width' property does not support a negative length value in picas and resets to the initial value.">
10         <style type="text/css">
11             span
12             {
13                 border-bottom-style: solid;
14             }
15             #span1
16             {
17                 border-bottom-width: -1pc;
18             }
19             #span2
20             {
21                 border-bottom-width: medium;
22             }
23         </style>
24     </head>
25     <body>
26         <p>Test passes if all the "Filler Text" below is underlined and both lines are the same thickness.</p>
27         <div>
28             <span id="span1">Filler Text Filler Text Filler Text</span> <span id="span2">Filler Text Filler Text Filler Text</span>
29         </div>
30     </body>
31 </html>