rtl-span-only-ib

Bidi box model test 7

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3  <head>
 4   <link rel="reference" href="left-rtl-ref.xht">
 5   <title>CSS Test: Bidi box model test 7</title>
 6   <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu">
 7   <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#bidi-box-model">
 8   <meta name="flags" content="">
 9   <style type="text/css">
10       .r { direction: rtl; }
11       .l { direction: ltr; }
12       span { border: 2px solid; padding: 0 10px 0 5px; margin: 0 60px 0 30px; }
13   </style>
14  </head>
15  <body>
16    <div><span class="r">One<div></div>Two</span></div>
17  </body>
18 </html>