summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bidi/151407-1-ref.html
blob: 43ef5f3f8d793a9f0fb9ce4107c2b5eb77050c03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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>