| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../../resources/js-test.js"></script> |
| 5 <script src="../resources/subpixel-utils.js"></script> | 5 <script src="../resources/subpixel-utils.js"></script> |
| 6 | 6 |
| 7 <style> | 7 <style> |
| 8 #container { | 8 #container { |
| 9 font: 20px/1 Ahem, sans-serif; | 9 font: 20px/1 Ahem, sans-serif; |
| 10 width: 200px; | 10 width: 200px; |
| 11 height: 150px; | 11 height: 150px; |
| 12 } | 12 } |
| 13 | 13 |
| 14 #float-left { | 14 #float-left { |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 shouldBeCloseTo("elementRect('l4').left", marginLeftXIntercept(3), 1, quiet); | 82 shouldBeCloseTo("elementRect('l4').left", marginLeftXIntercept(3), 1, quiet); |
| 83 | 83 |
| 84 shouldBe("elementRect('l5').top", "100"); | 84 shouldBe("elementRect('l5').top", "100"); |
| 85 shouldBeCloseTo("elementRect('l5').left", marginLeftXIntercept(2), 1, quiet); | 85 shouldBeCloseTo("elementRect('l5').left", marginLeftXIntercept(2), 1, quiet); |
| 86 | 86 |
| 87 shouldBe("elementRect('l6').top", "120"); | 87 shouldBe("elementRect('l6').top", "120"); |
| 88 shouldBeCloseTo("elementRect('l6').left", marginLeftXIntercept(1), 1, quiet); | 88 shouldBeCloseTo("elementRect('l6').left", marginLeftXIntercept(1), 1, quiet); |
| 89 | 89 |
| 90 </script> | 90 </script> |
| 91 </html> | 91 </html> |
| OLD | NEW |