outline-overlap-001

Outline overlaps with other elements

WeasyPrint

This browser

Assertion
Outline can overlap with other elements.

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: Outline overlaps with other elements</title>
 5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
 6         <link rel="help" href="http://www.w3.org/TR/CSS21/ui.html#dynamic-outlines">
 7         <meta name="flags" content="">
 8         <meta name="assert" content="Outline can overlap with other elements.">
 9         <style type="text/css">
10             span
11             {
12                 outline: 8px solid blue;
13             }
14         </style>
15     </head>
16     <body>
17         <p>Test passes if the "Filler Text" below is overlapped by the blue box.</p>
18         <div>
19             Filler Text<br>
20             <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
21         </div>
22     </body>
23 </html>