1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
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 <style type="text/css">
10 div
11 {
12 margin-top: 10px;
13 width: 1.5in;
14 }
15 span
16 {
17 border-left: solid blue;
18 border-right: solid orange;
19 font: 1.5em/1em Ahem;
20 }
21 </style>
22 </head>
23 <body>
24 <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>
25 <div>
26 <span>xx xx xx xx xx xx</span>
27 </div>
28 <div>
29 Reference:<br>
30 <img alt="reference" src="support/ltr-borders-001.png">
31 </div>
32 </body>
33 </html>