bidi-box-model-034

bidirection box model - padding-left on bidi-override block

WeasyPrint

This browser

Assertion
Side padding should be unaffected by directionality

Source

 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: bidirection box model - padding-left on bidi-override block</title>
 5     <link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com">
 6     <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#bidi-box-model">
 7     <meta name="flags" content="">
 8     <meta name="assert" content="Side padding should be unaffected by directionality">
 9     <style type="text/css">
10       div {
11       text-align: left;
12       width: 10em;
13       padding-left: 2em;
14       margin-bottom: 1em;
15       background: navy;
16       font: 1em/1 Ahem;
17       color: orange;
18       }
19 
20       .rtol {
21       direction: rtl;
22       unicode-bidi: bidi-override;
23       }
24       
25     </style>
26   </head>
27   
28   <body>
29     <p>Two identical patterns:</p>
30     <div>
31       Text
32     </div>
33     <div class="rtol">
34       txeT
35     </div>
36   </body>
37 </html>