Bug 1729777 [wpt PR 30405] - Parsing for contain-intrinsic-size: auto <length>, a...
[gecko.git] / testing / web-platform / tests / css / css-backgrounds / ttwf-css3background-border-style-shorthand-missing-left.htm
blob8c17fa998044aa1e9445ab4c92753e2ff49949ea
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>CSS Backgrounds and Borders Test: border_style</title>
5 <link rel="author" title="disound" href="mailto:disound@gmail.com" />
6 <link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-style" />
7 <meta name="flags" content="image" />
8 <meta name="assert" content="'Border-style' is a shorthand for the other four. Its four values set the top, right, bottom and left border respectively. A missing left is the same as right, a missing bottom is the same as top, and a missing right is also the same as top." />
9 <style>
10 #ref {
11 background-color: white;
12 height: 160px;
13 width: 160px;
15 #test {
16 border: black solid 5px;
17 border-style: solid dotted dashed;
18 bottom: 160px;
19 height: 100px;
20 padding: 25px;
21 position: relative;
22 width: 100px;
24 </style>
25 </head>
26 <body>
27 <p>Test passes if there is a white square, <strong>left border style is dotted</strong>, bottom border style is dashed, right border style is dotted, top border style is solid.</p>
28 <div id="ref"></div>
29 <div id="test"></div>
30 </body>
31 </html>