summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/with-custom-layout-on-same-element-crash.https.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-multicol/with-custom-layout-on-same-element-crash.https.html')
-rw-r--r--testing/web-platform/tests/css/css-multicol/with-custom-layout-on-same-element-crash.https.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-multicol/with-custom-layout-on-same-element-crash.https.html b/testing/web-platform/tests/css/css-multicol/with-custom-layout-on-same-element-crash.https.html
new file mode 100644
index 0000000000..7e1c804258
--- /dev/null
+++ b/testing/web-platform/tests/css/css-multicol/with-custom-layout-on-same-element-crash.https.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
+<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=997403">
+<div id="elm" style="display:layout(parent); columns:2; width:10em; height:60px; column-fill:auto; line-height:20px;">
+ x
+ <span>
+ <div style="display:inline-block;"></div>
+ </span>
+ <div style="height:1px;"></div>
+ <br>
+</div>
+<script>
+</script>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script>
+ document.body.offsetTop;
+ elm.style.display = "none";
+ document.body.offsetTop;
+ test(()=> {}, "No crash");
+</script>