summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/crashtests/first-letter-contributed-to-ancestor.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/mathml/crashtests/first-letter-contributed-to-ancestor.html')
-rw-r--r--testing/web-platform/tests/mathml/crashtests/first-letter-contributed-to-ancestor.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/tests/mathml/crashtests/first-letter-contributed-to-ancestor.html b/testing/web-platform/tests/mathml/crashtests/first-letter-contributed-to-ancestor.html
new file mode 100644
index 0000000000..f50841d94a
--- /dev/null
+++ b/testing/web-platform/tests/mathml/crashtests/first-letter-contributed-to-ancestor.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1495811">
+<style>
+ math {
+ display: inline-block;
+ }
+ math::first-letter {
+ background-color: blue;
+ }
+</style>
+<math>
+ <mo id="mo">%</mo>
+</math>
+<script>
+ mo.appendChild(document.createTextNode("A"));
+ document.body.innerText += "";
+</script>