summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/floats/float-in-self-painting-inline.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/floats/float-in-self-painting-inline.html')
-rw-r--r--testing/web-platform/tests/css/CSS2/floats/float-in-self-painting-inline.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/floats/float-in-self-painting-inline.html b/testing/web-platform/tests/css/CSS2/floats/float-in-self-painting-inline.html
new file mode 100644
index 0000000000..6ff47d3626
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/floats/float-in-self-painting-inline.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<title>Floats in self-painting inline box should not crash</title>
+<link rel="help" href="https://crbug.com/1109565">
+<link rel="author" href="kojii@chromium.org">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<span style='opacity: 0.5'>
+ <div style="float: right">X</div>
+</span>
+<img title="ABC">
+<script>
+test(() => {}, "Pass if not crashes");
+</script>