summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/remove-inline-child.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-break/remove-inline-child.html')
-rw-r--r--testing/web-platform/tests/css/css-break/remove-inline-child.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-break/remove-inline-child.html b/testing/web-platform/tests/css/css-break/remove-inline-child.html
new file mode 100644
index 0000000000..64f4d0b1ac
--- /dev/null
+++ b/testing/web-platform/tests/css/css-break/remove-inline-child.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=1075517">
+<div style="columns:2; column-fill:auto; line-height:20px; height:50px;">
+ <div>
+ <span id="removeme">
+ line1<br>
+ line2<br>
+ line3<br>
+ line4<br>
+ </span>
+ </div>
+</div>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script>
+ test(()=> {
+ document.body.offsetTop;
+ removeme.style.display = "none";
+ }, "no crash");
+</script>