border-right-width-095-ref.xht (848B)
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#rectangle 13 { 14 height: 132px; 15 /* 16 16px : p's margin-top 17 + 18 20px : p's line box height 19 + 20 96px : square's height 21 ======== 22 132px 23 */ 24 margin-left: 20px; 25 } 26 27 p 28 { 29 font: 1em/1.25 serif; 30 margin: 1em 0; 31 } 32 33 div 34 { 35 background-color: black; 36 float: right; 37 height: 96px; 38 width: 96px; 39 } 40 ]]></style> 41 42 </head> 43 44 <body> 45 46 <div id="rectangle"></div> 47 48 <p>Test passes if there is a black square next to a black rectangle.</p> 49 50 <div></div> 51 52 </body> 53 </html>