tor-browser

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

dir-shadow-22-ref.html (789B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8"/>
      5 <title>[dir] and shadow slots: dir=rtl on the div (shadow host), text in the shadow tree</title>
      6 <link rel="author" title="Eric Meyer" href="mailto:emeyer@igalia.com">
      7 <link rel="help" href="https://html.spec.whatwg.org/multipage/C#the-dir-attribute">
      8 <link rel="help" href="https://github.com/whatwg/html/issues/3699">
      9 <link rel="help" href="https://github.com/whatwg/html/pull/9796">
     10 <style type="text/css">
     11 body {width: 600px;}
     12 div {border: 1px solid gray; margin: 1em;}
     13 </style>
     14 </head>
     15 <body>
     16 
     17 <p>`dir=rtl` on the div (shadow host), text in the shadow tree</p>
     18 <div id="host" dir="rtl">اختبر.</div>
     19 <p id="result">The HTML direction / computed CSS `direction` value for the host’s text is: rtl / rtl.</p>
     20 
     21 
     22 </body>
     23 </html>