bidi-009b.xht (1825B)
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: The bidi algorithm and inlines in CSS: embed levels and display: table-row; </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-07-01 --> 8 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/inline/bidi/009.html" type="text/html"/> 9 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#bidi-box-model"/> 10 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#direction"/> 11 <link rel="help" href="http://unicode.org/reports/tr9/"/> 12 <link rel="match" href="bidi-005b-ref.xht" /> 13 14 <style type="text/css"> 15 div { margin: 1em; padding: 0.75em; background: black; color: yellow; 16 letter-spacing: 1em; font: 2em/1 serif; } 17 div p { display: table-row; } 18 .one, .c, .j, .e { color: aqua; } 19 .two, .i, .d, .k, .b { color: fuchsia; } 20 </style> 21 </head> 22 <body> 23 <p> The following two blocks should be identical, including overflow. (Force bidi: א) </p> 24 <div> 25 <p class="reference"><span class="a">a</span><span class="b">b</span><span class="c">c</span><span class="d">d</span><span class="e">e</span><span class="f">f</span><span class="g">g</span><span class="h">h</span><span class="i">i</span><span class="j">j</span><span class="k">k</span><span class="l">l</span><span class="m">m</span></p> 26 </div> 27 <div> 28 <p class="test">a‮l‭<span class="one">c‮j‭e‮</span>h‭g‬f<span class="two">‬i‬d‬k‬b</span>‬m</p> 29 </div> 30 </body> 31 </html>