summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-anonymous-boxes/339388-1a.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/table-anonymous-boxes/339388-1a.html')
-rw-r--r--layout/reftests/table-anonymous-boxes/339388-1a.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/layout/reftests/table-anonymous-boxes/339388-1a.html b/layout/reftests/table-anonymous-boxes/339388-1a.html
new file mode 100644
index 0000000000..3939f2b1fc
--- /dev/null
+++ b/layout/reftests/table-anonymous-boxes/339388-1a.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+ <head>
+ <script>
+ function doTest() {
+ var n = document.getElementById("n");
+ for (var i = 0; i < 5; ++i) {
+ n.style.cssFloat = "left";
+ document.body.offsetWidth;
+ n.style.cssFloat = "";
+ document.body.offsetWidth;
+ }
+ document.documentElement.className = "";
+ }
+ </script>
+ </head>
+
+ <body onload="doTest()">
+ <table border="5">
+ <tr>
+ <td id="n">TD</td>
+ </tr>
+ </table>
+ </body>
+</html>