border-003

Border set using border-color

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Assertion
The 'border' shorthand property properly accepts and sets border-color.

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 set using border-color</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">
 7         <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties">
 8         <link rel="help" href="http://www.w3.org/TR/css3-background/#borders">
 9         <link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-shorthands">
10         <link rel="match" href="reference/border-003-ref.htm">
11         <meta name="flags" content="">
12         <meta name="assert" content="The 'border' shorthand property properly accepts and sets border-color.">
13         <style type="text/css">
14             div
15             {
16                 border: blue;
17                 border-style: solid;
18                 border-width: 5px;
19                 height: 100px;
20                 width: 100px;
21             }
22         </style>
23     </head>
24     <body>
25         <p>Test passes if there is a hollow blue square.</p>
26         <div></div>
27     </body>
28 </html>