summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-tables/crashtests/dynamic_table_layout_crash.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-tables/crashtests/dynamic_table_layout_crash.html')
-rw-r--r--testing/web-platform/tests/css/css-tables/crashtests/dynamic_table_layout_crash.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-tables/crashtests/dynamic_table_layout_crash.html b/testing/web-platform/tests/css/css-tables/crashtests/dynamic_table_layout_crash.html
new file mode 100644
index 0000000000..cc28f3bfdc
--- /dev/null
+++ b/testing/web-platform/tests/css/css-tables/crashtests/dynamic_table_layout_crash.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<table id="target" style="border: solid; border-collapse: collapse; table-layout: fixed; width: 50px;">
+ <tr><td style="background: lime;">hi</td></tr>
+ <td colspan=3>there</td>
+</table>
+<script>
+document.body.offsetTop;
+document.getElementById('target').style.tableLayout = 'auto';
+</script>