c5504-mrgn-l-001-ref.xht (1291B)
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 p 13 { 14 color: navy; 15 margin: 0; 16 } 17 18 div.control 19 { 20 border: black solid medium; 21 margin: 1.25em; 22 width: 12.5em; 23 } 24 25 div.control div {height: 1.25em;} 26 27 div.a 28 { 29 border-left: orange solid 2.5em; 30 border-right: yellow solid 8.75em; 31 } 32 33 div.aa {border-right: teal solid 1.25em;} 34 35 div.b 36 { 37 border-left: orange solid 2.5em; 38 border-right: aqua solid 6.25em; 39 } 40 41 div.bb 42 { 43 border-left: yellow solid 2.5em; 44 border-right: teal solid 1.25em; 45 } 46 ]]> 47 </style> 48 49 </head> 50 51 <body> 52 53 <p>The following two diagrams should look identical.</p> 54 55 <div class="control"> 56 <div class="a"><div class="aa"></div></div> 57 <div class="b"><div class="bb"></div></div> 58 <div class="a"><div class="aa"></div></div> 59 </div> 60 61 <div class="control"> 62 <div class="a"><div class="aa"></div></div> 63 <div class="b"><div class="bb"></div></div> 64 <div class="a"><div class="aa"></div></div> 65 </div> 66 67 </body> 68 </html>