abspos-width-005-ref.xht (805B)
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 Reftest Reference</title> 8 9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 10 11 <style type="text/css"><![CDATA[ 12 div#parent 13 { 14 border: fuchsia solid thin; 15 height: 5em; 16 padding: 1em; 17 width: 10em; 18 } 19 20 div#child 21 { 22 border: aqua solid thin; 23 padding: 1em; 24 width: 3em; 25 } 26 ]]></style> 27 28 </head> 29 30 <body> 31 32 <p>The blue rectangle should be well within the pink rectangle, but its text should overflow out of both rectangles.</p> 33 34 <div id="parent"> 35 <div id="child">overflowyflowyflowyflowyflowyflowyflowyflowy</div> 36 </div> 37 38 </body> 39 </html>