bidi-011.xht (1505B)
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 wrapping bidi formatting characters</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/011.html" type="text/html"/> 9 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#bidi-box-model"/> 10 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#bidi-control-codes"/> 11 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#bidi-box-model"/> 12 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#direction"/> 13 <link rel="help" href="http://unicode.org/reports/tr9/"/> 14 <link rel="match" href="bidi-011-ref.xht" /> 15 16 <style type="text/css"> 17 div div { border: solid black; color: navy; margin: 1em; padding: 1em; font: 2em monospace; } 18 span { border: solid orange; padding: 0.1em 1em; margin: 0.1em 1em; background: yellow; } 19 </style> 20 </head> 21 <body> 22 <p> The following two lines should be identical. (Force bidi: א) </p> 23 <div> 24 <div class="test">TE<span>‮TSET</span>‭ST </div> 25 <div class="reference">TEST<span>TEST</span></div> 26 </div> 27 </body> 28 </html>