| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <link href="resources/grid.css" rel="stylesheet"> | 3 <link href="resources/grid.css" rel="stylesheet"> |
| 4 <style> | 4 <style> |
| 5 | 5 |
| 6 .grid { | 6 .grid { |
| 7 grid-template-columns: 100px 200px; | 7 grid-template-columns: 100px 200px; |
| 8 grid-template-rows: 50px 150px; | 8 grid-template-rows: 50px 150px; |
| 9 width: 500px; | 9 width: 500px; |
| 10 height: 300px; | 10 height: 300px; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 top: 35px; | 45 top: 35px; |
| 46 bottom: 40px; | 46 bottom: 40px; |
| 47 } | 47 } |
| 48 | 48 |
| 49 .red { | 49 .red { |
| 50 background-color: red; | 50 background-color: red; |
| 51 } | 51 } |
| 52 </style> | 52 </style> |
| 53 <body> | 53 <body> |
| 54 | 54 |
| 55 <p>This test checks that the background of positioned items is painted in the ri
ght position.</p> | 55 <p>This test checks that the background of positioned items is painted in the ri
ght position using RTL direction.</p> |
| 56 | 56 |
| 57 <p>The test passes if you see 4 green boxes and no red.</p> | 57 <p>The test passes if you see 4 green boxes and no red.</p> |
| 58 | 58 |
| 59 <div class="container"> | 59 <div class="container"> |
| 60 <div class="absolute red" style="left: 55px; top: 50px; width: 100px; height
: 50px"></div> | 60 <div class="absolute red" style="left: 455px; top: 50px; width: 100px; heigh
t: 50px"></div> |
| 61 <div class="absolute red" style="left: 290px; top: 50px; width: 50px; height
: 20px"></div> | 61 <div class="absolute red" style="left: 390px; top: 50px; width: 50px; height
: 20px"></div> |
| 62 <div class="absolute red" style="left: 50px; top: 115px; width: 50px; height
: 30px"></div> | 62 <div class="absolute red" style="left: 500px; top: 115px; width: 50px; heigh
t: 30px"></div> |
| 63 <div class="absolute red" style="left: 175px; top: 135px; width: 145px; heig
ht: 75px"></div> | 63 <div class="absolute red" style="left: 275px; top: 135px; width: 145px; heig
ht: 75px"></div> |
| 64 <div class="grid"> | 64 <div class="grid directionRTL"> |
| 65 <div class="absolute onlyFirstRowOnlyFirstColumn sizedToGridArea" | 65 <div class="absolute onlyFirstRowOnlyFirstColumn sizedToGridArea" |
| 66 style="left: 5px;"> | 66 style="left: 5px;"> |
| 67 </div> | 67 </div> |
| 68 <div class="absolute onlyFirstRowOnlySecondColumn lengthSize" | 68 <div class="absolute onlyFirstRowOnlySecondColumn lengthSize" |
| 69 style="right: 10px;"> | 69 style="right: 10px;"> |
| 70 </div> | 70 </div> |
| 71 <div class="absolute onlySecondRowOnlyFirstColumn percentageSize" | 71 <div class="absolute onlySecondRowOnlyFirstColumn percentageSize" |
| 72 style="top: 15px;"> | 72 style="top: 15px;"> |
| 73 </div> | 73 </div> |
| 74 <div class="absolute onlySecondRowOnlySecondColumn offsetsSize"></div> | 74 <div class="absolute onlySecondRowOnlySecondColumn offsetsSize"></div> |
| 75 </div> | 75 </div> |
| 76 </div> | 76 </div> |
| 77 | 77 |
| 78 </body> | 78 </body> |
| OLD | NEW |