outline-007

outline-style: auto

WeasyPrint

Reference (bad) by WeasyPrint

Reference (bad) by this browser

This browser

Assertion
outline-style:auto allows the UA to display any outline it wants, but it must display something.

Source

 1 <!DOCTYPE html>
 2 <html lang="en"><head><meta charset="utf-8">
 3   <title>CSS-UI test: outline-style: auto</title>
 4   <link href="http://florian.rivoal.net" rel="author" title="Florian Rivoal">
 5   <meta content="" name="flags">
 6   <meta content="outline-style:auto allows the UA to display any outline it wants, but it must display something." name="assert">
 7   <link href="reference/outline-007-ref.htm" rel="mismatch">
 8   <link href="https://drafts.csswg.org/css-ui-3/#outline-props" rel="help">
 9 <style>
10 div {
11   width: 100px;
12   height: 100px;
13   outline-style: auto;
14 
15   /* These values may be ignored by the UA, but just in case they are not,
16      set them to something that does not result in the outline being invisible */
17   outline-width: 5px;
18   outline-color: green;
19 }
20 
21 </style>
22 
23   </head><body><p>Test passes if there is an outlined box below. The outline may be any shape or color so long as it is visible.</p>
24   <div></div>
25 
26 </body></html>