tor-browser

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

bidi-isolate-005.html (1499B)


      1 <!DOCTYPE html>
      2 <html lang="en">
      3 <head>
      4 <meta charset="utf-8"/>
      5 <title>direction/unicode-bidi: element as directional character with unicode-bidi isolate, rtl</title>
      6 
      7 <link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
      8 <style type="text/css">
      9 .test span { direction: rtl; unicode-bidi: isolate; }
     10 
     11 /* the following styles are not part of the test */
     12 .test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10em; padding: 5px; clear: both; }
     13 input { margin: 5px; }
     14 @font-face {
     15    font-family: 'ezra_silregular';
     16    src: url('/fonts/sileot-webfont.woff') format('woff');
     17    font-weight: normal;
     18    font-style: normal;
     19    }
     20 .test, .ref { font-family: ezra_silregular, serif; }
     21 </style>
     22 </head>
     23 <body>
     24 <p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
     25 
     26 
     27 <!--Notes:
     28 Key to entities used below:
     29        &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
     30        &#x202d; - The LRO (left-to-right-override) formatting character.
     31        &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO.
     32 -->
     33 
     34 
     35 
     36 <div class="ref"><div dir="rtl">&#x202d;a &gt; &#x5d1; &lt; &#x5d0; &gt; d&#x202c;</div>
     37      	     <div dir="rtl">&#x202d;a &gt; b &gt; c &gt; d&#x202c;</div>
     38      	     </div>
     39 
     40 
     41 <div class="ref"><div dir="rtl">&#x202d;a &gt; &#x5d1; &lt; &#x5d0; &gt; d&#x202c;</div>
     42      	     <div dir="rtl">&#x202d;a &gt; b &gt; c &gt; d&#x202c;</div>
     43      	     </div>
     44 
     45 
     46 
     47 
     48 
     49 
     50 </body></html>