summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1263845.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/1263845.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1263845.html b/layout/reftests/bugs/1263845.html
new file mode 100644
index 0000000000..3bc9c28b99
--- /dev/null
+++ b/layout/reftests/bugs/1263845.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<div id="wrap" style="height: 200px; background: yellow">
+ <table style="height: 100%; background: purple">
+ <tr>
+ <td>
+ This is some text
+ </td>
+ </tr>
+ </table>
+</div>
+<script>
+ // Make sure we do a layout at the 200px height.
+ document.body.offsetWidth;
+ document.getElementById("wrap").style.height = "";
+</script>