| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html1/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 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserB
ugsSection/css21testsuite/" /> |
| 9 |
| 10 <style type="text/css"><![CDATA[ |
| 11 td {padding: 0;} |
| 12 |
| 13 div.control |
| 14 { |
| 15 background-color: yellow; |
| 16 border: black solid medium; |
| 17 width: 7em; |
| 18 } |
| 19 |
| 20 div.a |
| 21 { |
| 22 background-color: aqua; |
| 23 height: 1.5em; |
| 24 margin: 0 0 0 auto; |
| 25 width: 4em; |
| 26 } |
| 27 |
| 28 div.b {height: 0.5em;} |
| 29 |
| 30 div.c {background-color: orange;} |
| 31 ]]></style> |
| 32 |
| 33 </head> |
| 34 |
| 35 <body> |
| 36 |
| 37 <p>Test passes if there are <strong>4 identical rectangles</strong> and no red
.</p> |
| 38 |
| 39 <table> |
| 40 <tr> |
| 41 <td> |
| 42 <div class="control"> |
| 43 <div class="a">TEST</div> |
| 44 <div class="b"></div> |
| 45 <div class="c">TEST</div> |
| 46 </div> |
| 47 </td> |
| 48 <td> |
| 49 <div class="control"> |
| 50 <div class="a">TEST</div> |
| 51 <div class="b"></div> |
| 52 <div class="c">TEST</div> |
| 53 </div> |
| 54 </td> |
| 55 </tr> |
| 56 <tr> |
| 57 <td> |
| 58 <div class="control"> |
| 59 <div class="a">TEST</div> |
| 60 <div class="b"></div> |
| 61 <div class="c">TEST</div> |
| 62 </div> |
| 63 </td> |
| 64 <td> |
| 65 <div class="control"> |
| 66 <div class="a">TEST</div> |
| 67 <div class="b"></div> |
| 68 <div class="c">TEST</div> |
| 69 </div> |
| 70 </td> |
| 71 </tr> |
| 72 </table> |
| 73 |
| 74 </body> |
| 75 </html> |
| OLD | NEW |