layout/reftests/bidi/dirAuto/dynamicDirAuto-refRTL-NoDir.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bidi/dirAuto/dynamicDirAuto-refRTL-NoDir.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,20 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +  <head>
     1.7 +    <meta charset="utf-8">
     1.8 +    <title>Set and unset dir="auto"</title>
     1.9 +    <style>
    1.10 +     textarea { resize: none; }
    1.11 +    </style>
    1.12 +  </head>
    1.13 +  <body>
    1.14 +    <div><input type="text" value="אבג ABC" dir="ltr"></div>
    1.15 +    <div><span dir="ltr">אבג ABC</span></div>
    1.16 +    <div><textarea dir="ltr">אבג ABC</textarea></div>
    1.17 +    <div><button dir="ltr">אבג ABC</button></div>
    1.18 +    <!-- the last line is span dir="rtl" because it's the reference
    1.19 +    for a bdi that begins with rtl characters, so with an empty or
    1.20 +    invalid value for the dir attribute it will be resolved as rtl -->
    1.21 +    <div><span dir="rtl">אבג ABC</span></div>
    1.22 +  </body>
    1.23 +</html>

mercurial