summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/399384-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/399384-1.html')
-rw-r--r--layout/reftests/bugs/399384-1.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/layout/reftests/bugs/399384-1.html b/layout/reftests/bugs/399384-1.html
new file mode 100644
index 000000000..7b5b47542
--- /dev/null
+++ b/layout/reftests/bugs/399384-1.html
@@ -0,0 +1,21 @@
+<html class="reftest-wait">
+<head>
+ <style>
+ .first:first-letter { color: red; }
+ .right { direction: rtl; }
+ </style>
+ <script>
+ function tweak() {
+ document.body.style.background = 'lightblue';
+ document.documentElement.className = "";
+ }
+ </script>
+</head>
+
+<body onload="tweak();">
+ <div class="first"><span>abc</span></div>
+ <div class="first"><span class="right">def</span></div>
+ <div class="first right"><span>geh</span></div>
+</body>
+
+</html>