summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1364280-1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/1364280-1.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1364280-1.html b/layout/reftests/bugs/1364280-1.html
new file mode 100644
index 0000000000..6573787fd9
--- /dev/null
+++ b/layout/reftests/bugs/1364280-1.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<style>
+ div { color: red; }
+ div:dir(ltr) { color: green }
+</style>
+<body dir="rtl"
+ onload="window.oldColor = getComputedStyle(document.querySelector('div')).color;
+ document.body.dir = 'ltr'">
+ <div>
+ This should be green.
+ </div>
+</body>