summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/chrome-crash-001.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-grid/chrome-crash-001.html')
-rw-r--r--testing/web-platform/tests/css/css-grid/chrome-crash-001.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-grid/chrome-crash-001.html b/testing/web-platform/tests/css/css-grid/chrome-crash-001.html
new file mode 100644
index 0000000000..c9ea9332a1
--- /dev/null
+++ b/testing/web-platform/tests/css/css-grid/chrome-crash-001.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=991446">
+<meta name="assert" content="The renderer should not crash.">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<body style="display: inline-grid; align-items: end;">
+ <div style="border-top-color: inherit;"></div>
+ text
+</body>
+<script>
+test(() => {
+ document.body.offsetTop;
+ document.body.style.alignItems = '';
+ document.body.offsetTop;
+}, 'The renderer should not crash.');
+</script>