summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/486052-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/486052-1.html')
-rw-r--r--layout/reftests/bugs/486052-1.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/bugs/486052-1.html b/layout/reftests/bugs/486052-1.html
new file mode 100644
index 0000000000..78ab224c04
--- /dev/null
+++ b/layout/reftests/bugs/486052-1.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <script>
+ function doTest() {
+ var d = document.createElement("div");
+ d.textContent = "Test";
+ d.style.top = d.style.left = 0;
+ d.style.position = "absolute";
+ document.getElementById("t").appendChild(d);
+ }
+ </script>
+ </head>
+ <body onload="doTest()">
+ <table>
+ <tr><td>This is a test</td></tr>
+ <tr><td>This is a test</td></tr>
+ <tr><td>This is a test</td></tr>
+ <tr><td>This is a test</td></tr>
+ <caption style="position: relative; caption-side: bottom" id="t"></caption>
+ </table>
+ </body>
+</html>