summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/floats-clear/margin-collapse-165-ref.xht
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/floats-clear/margin-collapse-165-ref.xht')
-rw-r--r--testing/web-platform/tests/css/CSS2/floats-clear/margin-collapse-165-ref.xht75
1 files changed, 75 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/floats-clear/margin-collapse-165-ref.xht b/testing/web-platform/tests/css/CSS2/floats-clear/margin-collapse-165-ref.xht
new file mode 100644
index 0000000000..4007bfae5a
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/floats-clear/margin-collapse-165-ref.xht
@@ -0,0 +1,75 @@
+<!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>