tor-browser

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

line-breaking-bidi-001.xht (2669B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
      3  <head>
      4 
      5   <title>CSS Test: Line breaking and the bidi algorithm</title>
      6   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
      7   <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-03-14 -->
      8   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/text/white-space/normal/line-breaking/bidi/001.html" type="text/html"/>
      9   <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#white-space-model" />
     10   <link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-processing" />
     11   <link rel="match" href="line-breaking-bidi-001-ref.xht" />
     12 
     13   <meta name="flags" content="ahem" />
     14   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     15   <style type="text/css">
     16    .test { color: green; background: red; font: 1.25em/1 Ahem; white-space: normal; }
     17   </style>
     18  </head>
     19  <body>
     20 
     21   <p>Test passes if there are only 4 very long green bars and <strong>no red</strong>.</p>
     22   <p class="test"> xxxxxxxxxxxxxxxxxxxx&#x202A;xxxxxxxxxxxxxxxxxxxx&#x202C;xxxxxxxxxxxxxxxxxxxx&#x202A;xxxxxxxxxxxxxxxxxxxx&#x202C;xxxxxxxxxxxxxxxxxxxx&#x202A;xxxxxxxxxxxxxxxxxxxx&#x202C;xxxxxxxxxxxxxxxxxxxx&#x202A;xxxxxxxxxxxxxxxxxxxx&#x202C;xxxxxxxxxxxxxxxxxxxx </p>
     23   <p class="test"> xxxxxxxxxxxxxxxxxxxx&#x202B;xxxxxxxxxxxxxxxxxxxx&#x202C;xxxxxxxxxxxxxxxxxxxx&#x202B;xxxxxxxxxxxxxxxxxxxx&#x202C;xxxxxxxxxxxxxxxxxxxx&#x202B;xxxxxxxxxxxxxxxxxxxx&#x202C;xxxxxxxxxxxxxxxxxxxx&#x202B;xxxxxxxxxxxxxxxxxxxx&#x202C;xxxxxxxxxxxxxxxxxxxx </p>
     24   <p class="test"> xxxxxxxxxxxxxxxxxxxx&#x202D;xxxxxxxxxxxxxxxxxxxx&#x202C;xxxxxxxxxxxxxxxxxxxx&#x202D;xxxxxxxxxxxxxxxxxxxx&#x202C;xxxxxxxxxxxxxxxxxxxx&#x202D;xxxxxxxxxxxxxxxxxxxx&#x202C;xxxxxxxxxxxxxxxxxxxx&#x202D;xxxxxxxxxxxxxxxxxxxx&#x202C;xxxxxxxxxxxxxxxxxxxx </p>
     25   <p class="test"> xxxxxxxxxxxxxxxxxxxx&#x202E;xxxxxxxxxxxxxxxxxxxx&#x202C;xxxxxxxxxxxxxxxxxxxx&#x202E;xxxxxxxxxxxxxxxxxxxx&#x202C;xxxxxxxxxxxxxxxxxxxx&#x202E;xxxxxxxxxxxxxxxxxxxx&#x202C;xxxxxxxxxxxxxxxxxxxx&#x202E;xxxxxxxxxxxxxxxxxxxx&#x202C;xxxxxxxxxxxxxxxxxxxx </p>
     26 
     27   <!--
     28 Char
     29 name Unicode       Function                 Equivalent Markup
     30 LRE	  U+202A	Left-to-Right Embedding	DIR attribute e.g. DIR="LTR"
     31 RLE	  U+202B	Right-to-Left Embedding	DIR attribute e.g. DIR="RTL"
     32 PDF	  U+202C	Pop Directional Format	No Equivalent </BDO> ends override
     33 LRO	  U+202D	Left-to-Right Override 	BDO Element e.g. <BDO dir="LTR">
     34 RLO	  U+202E	Right-to-Left Override	BDO Element e.g. <BDO dir="RTL">
     35   -->
     36 
     37  </body>
     38 </html>