ltr-borders-001.xht (1410B)
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: Borders drawn in visual order even when direction set to left-to-right</title> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 6 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#bidi-box-model" /> 7 <meta name="flags" content="ahem image" /> 8 <meta name="assert" content="Borders are drawn in visual order depending on the direction of content." /> 9 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 10 <style type="text/css"> 11 div 12 { 13 margin-top: 10px; 14 width: 1.5in; 15 } 16 span 17 { 18 border-left: solid blue; 19 border-right: solid orange; 20 font: 1.5em/1em Ahem; 21 } 22 </style> 23 </head> 24 <body> 25 <p>Test passes if the shape of the boxes below match the same shape as the reference image. It is ok if the scale is different.</p> 26 <div> 27 <span>xx xx xx xx xx xx</span> 28 </div> 29 <div> 30 Reference:<br /> 31 <img alt="Image download support must be enabled" src="support/ltr-borders-001.png" /> 32 </div> 33 </body> 34 </html>