bidi-breaking-003-ref.xht (2277B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 5 <head> 6 7 <title>CSS Reftest Reference</title> 8 9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 10 11 <style type="text/css"><![CDATA[ 12 p + .set {border-top: solid orange;} 13 14 .set 15 { 16 border-bottom: solid orange; 17 clear: both; 18 float: left; 19 } 20 21 .control 22 { 23 border: silver solid; 24 color: blue; 25 float: left; 26 font: bold larger monospace; 27 margin: 1em; 28 padding: 0.25em; 29 } 30 31 /* ensure BDO processing */ 32 bdo 33 { 34 direction: ltr; 35 unicode-bidi: bidi-override; 36 } 37 ]]></style> 38 39 </head> 40 41 <body> 42 43 <p>In each pair of silver boxes below, the two patterns must be identical.</p> 44 45 <!-- 46 א א is hebrew letter alef 47 ת ת is hebrew letter tav 48 --> 49 50 <!-- control for bidi support --> 51 <div class="set"> 52 <div class="control"> 53 <div><bdo dir="ltr">א ÷ × - + </bdo></div> 54 <div><bdo dir="ltr"> ÷ × - + ת</bdo></div> 55 </div> 56 <div class="control"> 57 <div><bdo dir="ltr">א ÷ × - + </bdo></div> 58 <div><bdo dir="ltr"> ÷ × - + ת</bdo></div> 59 </div> 60 </div> 61 62 <!-- paragraph separator breaks bidi paragraph --> 63 <div class="set"> 64 <div class="control"> 65 <div><bdo dir="ltr">א + - × ÷ </bdo></div> 66 <div><bdo dir="ltr"> + - × ÷ ת</bdo></div> 67 </div> 68 <div class="control"> 69 <div><bdo dir="ltr">א + - × ÷ </bdo></div> 70 <div><bdo dir="ltr"> + - × ÷ ת</bdo></div> 71 </div> 72 </div> 73 74 <!-- line separator does not break bidi paragraph --> 75 <div class="set"> 76 <div class="control"> 77 <div><bdo dir="ltr"> ÷ × - + א</bdo></div> 78 <div><bdo dir="ltr">ת ÷ × - + </bdo></div> 79 </div> 80 <div class="control"> 81 <div><bdo dir="ltr"> ÷ × - + א</bdo></div> 82 <div><bdo dir="ltr">ת ÷ × - + </bdo></div> 83 </div> 84 </div> 85 86 </body> 87 </html>