summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/editing/crashtests/outdent-editing-host-containing-combining-diacritical-mark.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/editing/crashtests/outdent-editing-host-containing-combining-diacritical-mark.html')
-rw-r--r--testing/web-platform/tests/editing/crashtests/outdent-editing-host-containing-combining-diacritical-mark.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/web-platform/tests/editing/crashtests/outdent-editing-host-containing-combining-diacritical-mark.html b/testing/web-platform/tests/editing/crashtests/outdent-editing-host-containing-combining-diacritical-mark.html
new file mode 100644
index 0000000000..0ed71f789b
--- /dev/null
+++ b/testing/web-platform/tests/editing/crashtests/outdent-editing-host-containing-combining-diacritical-mark.html
@@ -0,0 +1,16 @@
+<html class="test-wait">
+<head>
+<meta charset="utf-8">
+<title>Test for bug 499844 of Mozilla</title>
+<script>
+function boom()
+{
+ document.body.contentEditable = "true";
+ getSelection().collapse(document.body.firstChild, 0);
+ document.execCommand("outdent");
+ document.documentElement.removeAttribute("class");
+}
+</script>
+</head>
+<body style="word-spacing: 3px;" onload="boom();"> &#x0301;</body>
+</html>