tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

dynamicDirAuto-refRTL-NoDir.html (675B)


      1 <!DOCTYPE HTML>
      2 <html>
      3  <head>
      4    <meta charset="utf-8">
      5    <title>Set and unset dir="auto"</title>
      6    <style>
      7     textarea { resize: none; }
      8    </style>
      9  </head>
     10  <body>
     11    <div><input type="text" value="אבג ABC" dir="ltr"></div>
     12    <div><span dir="ltr">אבג ABC</span></div>
     13    <div><textarea dir="ltr">אבג ABC</textarea></div>
     14    <div><button dir="ltr">אבג ABC</button></div>
     15    <!-- the last line is span dir="rtl" because it's the reference
     16    for a bdi that begins with rtl characters, so with an empty or
     17    invalid value for the dir attribute it will be resolved as rtl -->
     18    <div><span dir="rtl">אבג ABC</span></div>
     19  </body>
     20 </html>