OLD | NEW |
1 Test | 1 Test |
2 Test | 2 Test |
3 Test | 3 Test |
4 This test checks getBoundingClientRect() on zoomed HTML and SVG elements | 4 This test checks getBoundingClientRect() on zoomed HTML and SVG elements |
5 | 5 |
6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
7 | 7 |
| 8 PASS successfullyParsed is true |
| 9 |
| 10 TEST COMPLETE |
8 Gray rectangles: 100x50 | 11 Gray rectangles: 100x50 |
9 Green rectangles: 100x50, zoom=200% | 12 Green rectangles: 100x50, zoom=200% |
10 Blue rectangles: 200x100, zoom=50% | 13 Blue rectangles: 200x100, zoom=50% |
11 | 14 |
12 Checking HTML elements: | 15 Checking HTML elements: |
13 | 16 |
14 PASS div1.left.toFixed(2) is "0.00" | 17 PASS div1.left.toFixed(2) is "0.00" |
15 PASS div1.top.toFixed(2) is "0.00" | 18 PASS div1.top.toFixed(2) is "0.00" |
16 PASS div1.width.toFixed(2) is "100.00" | 19 PASS div1.width.toFixed(2) is "100.00" |
17 PASS div1.height.toFixed(2) is "50.00" | 20 PASS div1.height.toFixed(2) is "50.00" |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 FAIL text3.top.toFixed(2) should be 565.33. Was 563.58. | 109 FAIL text3.top.toFixed(2) should be 565.33. Was 563.58. |
107 FAIL text3.width.toFixed(2) should be 98.41. Was 49.22. | 110 FAIL text3.width.toFixed(2) should be 98.41. Was 49.22. |
108 FAIL text3.height.toFixed(2) should be 12.31. Was 14.06. | 111 FAIL text3.height.toFixed(2) should be 12.31. Was 14.06. |
109 FAIL text3.right.toFixed(2) should be 1198.41. Was 1149.22. | 112 FAIL text3.right.toFixed(2) should be 1198.41. Was 1149.22. |
110 PASS text3.bottom.toFixed(2) is "577.64" | 113 PASS text3.bottom.toFixed(2) is "577.64" |
111 | 114 |
112 PASS successfullyParsed is true | 115 PASS successfullyParsed is true |
113 | 116 |
114 TEST COMPLETE | 117 TEST COMPLETE |
115 | 118 |
OLD | NEW |