line-breaking-bidi-002.xht (2716B)
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 (with hebrew character)</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/002.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-002-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>. (Force bidi: א)</p> 22 <p class="test"> xxxxxxxxxxxxxxxxxxxx‪xxxxxxxxxxxxxxxxxxxx‬xxxxxxxxxxxxxxxxxxxx‪xxxxxxxxxxxxxxxxxxxx‬xxxxxxxxxxxxxxxxxxxx‪xxxxxxxxxxxxxxxxxxxx‬xxxxxxxxxxxxxxxxxxxx‪xxxxxxxxxxxxxxxxxxxx‬xxxxxxxxxxxxxxxxxxxx </p> 23 <p class="test"> xxxxxxxxxxxxxxxxxxxx‫xxxxxxxxxxxxxxxxxxxx‬xxxxxxxxxxxxxxxxxxxx‫xxxxxxxxxxxxxxxxxxxx‬xxxxxxxxxxxxxxxxxxxx‫xxxxxxxxxxxxxxxxxxxx‬xxxxxxxxxxxxxxxxxxxx‫xxxxxxxxxxxxxxxxxxxx‬xxxxxxxxxxxxxxxxxxxx </p> 24 <p class="test"> xxxxxxxxxxxxxxxxxxxx‭xxxxxxxxxxxxxxxxxxxx‬xxxxxxxxxxxxxxxxxxxx‭xxxxxxxxxxxxxxxxxxxx‬xxxxxxxxxxxxxxxxxxxx‭xxxxxxxxxxxxxxxxxxxx‬xxxxxxxxxxxxxxxxxxxx‭xxxxxxxxxxxxxxxxxxxx‬xxxxxxxxxxxxxxxxxxxx </p> 25 <p class="test"> xxxxxxxxxxxxxxxxxxxx‮xxxxxxxxxxxxxxxxxxxx‬xxxxxxxxxxxxxxxxxxxx‮xxxxxxxxxxxxxxxxxxxx‬xxxxxxxxxxxxxxxxxxxx‮xxxxxxxxxxxxxxxxxxxx‬xxxxxxxxxxxxxxxxxxxx‮xxxxxxxxxxxxxxxxxxxx‬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>