summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/editing/run/first-letter-crossing-engine-boundary-crash.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/editing/run/first-letter-crossing-engine-boundary-crash.html')
-rw-r--r--testing/web-platform/tests/editing/run/first-letter-crossing-engine-boundary-crash.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/tests/editing/run/first-letter-crossing-engine-boundary-crash.html b/testing/web-platform/tests/editing/run/first-letter-crossing-engine-boundary-crash.html
new file mode 100644
index 0000000000..be6325fce4
--- /dev/null
+++ b/testing/web-platform/tests/editing/run/first-letter-crossing-engine-boundary-crash.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
+<link rel="help" href="http://crbug.com/962090">
+<style>
+ #container::first-letter { background:blue; }
+</style>
+<div id="container">
+ <div id="edit" style="overflow:hidden;" contenteditable>xx</div>
+ <div id="elm" style="display:none;">PASS</div>
+</div>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script>
+ document.body.offsetTop;
+ elm.style.display = "initial";
+ test(()=>{}, "No crash or DCHECK failure");
+</script>