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 }
22
23 span
24 {
25 border: blue solid 8px;
26 color: blue;
27 outline: orange solid 8px;
28 }
29 </style>
30
31 </head>
32
33 <body>
34
35 <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. This should be still true even after changing the window size.</p>
36
37 <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>
38
39 </body>
40 </html>