summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-tables/absolute-crash.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-tables/absolute-crash.html')
-rw-r--r--testing/web-platform/tests/css/css-tables/absolute-crash.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-tables/absolute-crash.html b/testing/web-platform/tests/css/css-tables/absolute-crash.html
new file mode 100644
index 0000000000..d455825607
--- /dev/null
+++ b/testing/web-platform/tests/css/css-tables/absolute-crash.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<link rel="help" href="https://crbug.com/958381">
+<table style="position: relative; max-height: 10px;">
+ <caption>caption</caption>
+ <td><div id=target style="position: absolute;"></div></td>
+</table>
+<script>
+ document.body.offsetTop;
+ document.getElementById('target').style.top = '10px';
+</script>