outline-layout-004.xht (1230B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: Outline is connected and closed</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="assert" content="Outline is connected and encloses the appropriate content." /> 8 <style type="text/css"> 9 div 10 { 11 width: 200px; 12 } 13 span 14 { 15 outline: green solid 2px; 16 } 17 </style> 18 </head> 19 <body> 20 <p>Test passes if all "Filler Text" below is surrounded by a green outline and there is no hole or opening in the outline.</p> 21 <p>The outline is not required to be rectangular, nor is it required to be a single shape: 22 each line of "Filler Text" may have a separate outline, 23 or the whole block may share a common outline.</p> 24 <div> 25 <span>Filler Text Filler Text Filler Text Filler Text Filler Text Filler Text Filler Text</span> 26 </div> 27 </body> 28 </html>