| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
| |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| |
| <head> |
| |
| <title>CSS Reftest Reference</title> |
| <link rel="author" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> |
| |
| <style type="text/css"><![CDATA[ |
| td {padding: 0;} |
| |
| div.control |
| { |
| background-color: yellow; |
| border: black solid medium; |
| width: 7em; |
| } |
| |
| div.a |
| { |
| background-color: aqua; |
| height: 1.5em; |
| margin: 0 0 0 auto; |
| width: 4em; |
| } |
| |
| div.b {height: 0.5em;} |
| |
| div.c {background-color: orange;} |
| ]]></style> |
| |
| </head> |
| |
| <body> |
| |
| <p>Test passes if there are <strong>4 identical rectangles</strong> and no red.</p> |
| |
| <table> |
| <tr> |
| <td> |
| <div class="control"> |
| <div class="a">TEST</div> |
| <div class="b"></div> |
| <div class="c">TEST</div> |
| </div> |
| </td> |
| <td> |
| <div class="control"> |
| <div class="a">TEST</div> |
| <div class="b"></div> |
| <div class="c">TEST</div> |
| </div> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <div class="control"> |
| <div class="a">TEST</div> |
| <div class="b"></div> |
| <div class="c">TEST</div> |
| </div> |
| </td> |
| <td> |
| <div class="control"> |
| <div class="a">TEST</div> |
| <div class="b"></div> |
| <div class="c">TEST</div> |
| </div> |
| </td> |
| </tr> |
| </table> |
| |
| </body> |
| </html> |