summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bidi/151407-1-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bidi/151407-1-ref.html')
-rw-r--r--layout/reftests/bidi/151407-1-ref.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/layout/reftests/bidi/151407-1-ref.html b/layout/reftests/bidi/151407-1-ref.html
new file mode 100644
index 0000000000..43ef5f3f8d
--- /dev/null
+++ b/layout/reftests/bidi/151407-1-ref.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>Test GetDir() for elements</title>
+ </head>
+ <body>
+ <div dir="">dir="", getDir returns ""</div>
+ <div dir="ltr">dir="ltr", getDir returns "ltr"</div>
+ <div dir="rtl">dir="rtl", getDir returns "rtl"</div>
+ <div dir="auto">dir="auto", getDir returns "auto"</div>
+ <div dir="foopy">dir="foopy", getDir returns ""</div>
+ <div>no dir attribute, getDir returns ""</div>
+ </body>
+</html>