outline-019

outline - text-align

WeasyPrint

This browser

Flags
ahem, interact
Assertion
The outline should be drawn around an object and may be drawn starting just outside the border edge of such object.

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3 
 4  <head>
 5 
 6   <title>CSS Test: outline - text-align</title>
 7 
 8   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
 9   <link rel="author" title="James Hopkins" href="james(a)idreamincode.co.uk">
10   <link rel="help" href="http://www.w3.org/TR/CSS21/ui.html#dynamic-outlines">
11   <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#alignment-prop">
12   <meta name="flags" content="ahem interact">
13   <meta name="assert" content="The outline should be drawn around an object and may be drawn starting just outside the border edge of such object.">
14 
15   <style type="text/css">
16   div
17   {
18   color: white;
19   font: 16px/4 Ahem;
20   text-align: justify;
21   width: 400px;
22   }
23 
24   span
25   {
26   border: blue solid 8px;
27   color: blue;
28   outline: orange solid 8px;
29   }
30   </style>
31 
32  </head>
33 
34  <body>
35 
36   <p>A thick orange border should be drawn around each of the 6 small blue rectangles. Each of the blue rectangles must not protrude out of each of their respective orange borders.</p>
37 
38   <div> XXXXXXXX <span>Filler</span> XXXXXXXXX <span>Filler</span> XXXXXXXXXX <span>Filler</span> XXXXXXXXXXX <span>Filler</span> XXXXXXXXXXXX <span>Filler</span> XXXXXXXXXXXXX <span>Filler</span> XXXXXXXXXXXXXX </div>
39 
40  </body>
41 </html>