inline-formatting-context-023.xht (1338B)
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"> 3 <head> 4 <title>CSS Test: Bidirectional text runs can create additional line boxes</title> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-04-02 --> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#inline-formatting" /> 8 <link rel="match" href="inline-formatting-context-023-ref.xht" /> 9 10 <meta name="assert" content="Additional inline boxes can be created for the bidirectional text." /> 11 <style type="text/css"> 12 #span1 13 { 14 margin: 1px; 15 padding: 1px; 16 line-height: 25px; 17 } 18 #span2 19 { 20 direction: rtl; 21 unicode-bidi: bidi-override; 22 line-height: 30px; 23 } 24 </style> 25 </head> 26 <body> 27 <p>Test passes if there are 3 instances of "Filler Text".</p> 28 <div> 29 <span id="span1">Filler Text <span id="span2">txeT relliF</span> Filler Text</span> 30 </div> 31 </body> 32 </html>