tor-browser

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

ruby-bidi-004.html (754B)


      1 <!DOCTYPE html>
      2 <meta charset="UTF-8">
      3 <title>CSS Ruby test: dir=rtl on rb and rt elements</title>
      4 <link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
      5 <link rel="author" title="Mozilla" href="https://www.mozilla.org">
      6 <link rel="help" href="https://drafts.csswg.org/css-ruby-1/#bidi">
      7 <link rel="match" href="ruby-bidi-004-ref.html">
      8 <style>
      9 div { font-size: 50px; }
     10 rb, rt, span { unicode-bidi: isolate; }
     11 </style>
     12 <p>All three examples should look the same:</p>
     13 
     14 <div>
     15 <p>
     16  <ruby dir=rtl>&#x6F1; &#x6F2; &#x6F3;<rt>1 2 3</rt></ruby>
     17 </p>
     18 
     19 <p>
     20  <ruby><span dir=rtl>&#x6F1; &#x6F2; &#x6F3;</span><rt dir=rtl>1 2 3</rt></ruby>
     21 </p>
     22 
     23 <p>
     24  <ruby><rb dir=rtl>&#x6F1; &#x6F2; &#x6F3;</rb><rt dir=rtl>1 2 3</rt></ruby>
     25 </p>
     26 </div>