summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/472950-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/generic/crashtests/472950-1.html')
-rw-r--r--layout/generic/crashtests/472950-1.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/layout/generic/crashtests/472950-1.html b/layout/generic/crashtests/472950-1.html
new file mode 100644
index 0000000000..cd2a49aa3d
--- /dev/null
+++ b/layout/generic/crashtests/472950-1.html
@@ -0,0 +1,21 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<style>div::first-letter { color: green; }</style>
+<script>
+
+function boom()
+{
+ var e = document.getElementById("e");
+ document.documentElement.style.direction = "rtl";
+ e.style.whiteSpace = "pre";
+}
+
+</script>
+</head>
+<body onload="boom();">
+
+<div><span style="direction: rtl;" id="e"><span>
+
+ </span>A B</span></div>
+
+</body></html></html>