outline-019.xht (1519B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 5 <head> 6 7 <title>CSS Test: outline - text-align</title> 8 9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 10 <link rel="author" title="James Hopkins" href="http://idreamincode.co.uk/css21testsuite" /> 11 <link rel="help" href="http://www.w3.org/TR/CSS21/ui.html#dynamic-outlines" /> 12 <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#alignment-prop" /> 13 <meta name="flags" content="ahem interact" /> 14 <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." /> 15 16 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 17 <style type="text/css"><![CDATA[ 18 div 19 { 20 color: white; 21 font: 1.25em/3 Ahem; 22 text-align: justify; 23 width: 500px; 24 } 25 26 span 27 { 28 border: blue solid 8px; 29 color: blue; 30 outline: orange solid 8px; 31 } 32 ]]></style> 33 34 </head> 35 36 <body> 37 38 <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> 39 40 <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> 41 42 </body> 43 </html>