OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <style> | 3 <style> |
4 div>div{background:lime;width:100px;height:20px;border:1px solid green} | 4 div>div{background:lime;width:100px;height:20px;border:1px solid green} |
5 </style> | 5 </style> |
6 | 6 |
7 <script src="../../resources/js-test.js"></script> | 7 <script src="../../resources/js-test.js"></script> |
8 | 8 |
9 <body style="width:700px;margin:0px"> | 9 <body style="width:700px;margin:0px"> |
10 | 10 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 shouldBe("rtl_in_ltr_r.getBoundingClientRect().right","700"); | 48 shouldBe("rtl_in_ltr_r.getBoundingClientRect().right","700"); |
49 shouldBe("ltr_in_ltr_r.getBoundingClientRect().right","700"); | 49 shouldBe("ltr_in_ltr_r.getBoundingClientRect().right","700"); |
50 | 50 |
51 rtl_in_rtl_l = document.getElementById("rtl_in_rtl_l"); | 51 rtl_in_rtl_l = document.getElementById("rtl_in_rtl_l"); |
52 ltr_in_rtl_l = document.getElementById("ltr_in_rtl_l"); | 52 ltr_in_rtl_l = document.getElementById("ltr_in_rtl_l"); |
53 shouldBe("rtl_in_rtl_l.getBoundingClientRect().left","0"); | 53 shouldBe("rtl_in_rtl_l.getBoundingClientRect().left","0"); |
54 shouldBe("ltr_in_rtl_l.getBoundingClientRect().left","0"); | 54 shouldBe("ltr_in_rtl_l.getBoundingClientRect().left","0"); |
55 </script> | 55 </script> |
56 | 56 |
57 </body> | 57 </body> |
OLD | NEW |