| OLD | NEW |
| 1 This test checks getBoundingClientRect() on rectangles | 1 This test checks getBoundingClientRect() on rectangles |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 PASS successfullyParsed is true |
| 6 |
| 7 TEST COMPLETE |
| 5 Checking a rectangle of absolute size at absolute coordinates: | 8 Checking a rectangle of absolute size at absolute coordinates: |
| 6 PASS r1.left.toFixed(2) is "20.00" | 9 PASS r1.left.toFixed(2) is "20.00" |
| 7 PASS r1.top.toFixed(2) is "30.00" | 10 PASS r1.top.toFixed(2) is "30.00" |
| 8 PASS r1.width.toFixed(2) is "40.00" | 11 PASS r1.width.toFixed(2) is "40.00" |
| 9 PASS r1.height.toFixed(2) is "50.00" | 12 PASS r1.height.toFixed(2) is "50.00" |
| 10 PASS r1.right.toFixed(2) is "60.00" | 13 PASS r1.right.toFixed(2) is "60.00" |
| 11 PASS r1.bottom.toFixed(2) is "80.00" | 14 PASS r1.bottom.toFixed(2) is "80.00" |
| 12 | 15 |
| 13 Checking a resized rectangle at relative coordinates: | 16 Checking a resized rectangle at relative coordinates: |
| 14 PASS r2.left.toFixed(2) is "180.00" | 17 PASS r2.left.toFixed(2) is "180.00" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 29 PASS r4.top.toFixed(2) is "50.00" | 32 PASS r4.top.toFixed(2) is "50.00" |
| 30 PASS r4.width.toFixed(2) is "210.00" | 33 PASS r4.width.toFixed(2) is "210.00" |
| 31 PASS r4.height.toFixed(2) is "60.00" | 34 PASS r4.height.toFixed(2) is "60.00" |
| 32 PASS r4.right.toFixed(2) is "510.00" | 35 PASS r4.right.toFixed(2) is "510.00" |
| 33 PASS r4.bottom.toFixed(2) is "110.00" | 36 PASS r4.bottom.toFixed(2) is "110.00" |
| 34 | 37 |
| 35 PASS successfullyParsed is true | 38 PASS successfullyParsed is true |
| 36 | 39 |
| 37 TEST COMPLETE | 40 TEST COMPLETE |
| 38 | 41 |
| OLD | NEW |