Index: LayoutTests/platform/win/fast/dom/Range/getClientRects-expected.txt |
diff --git a/LayoutTests/platform/win/fast/dom/Range/getClientRects-expected.txt b/LayoutTests/platform/win/fast/dom/Range/getClientRects-expected.txt |
index bc2ae30669bedfd54515988ec4a088bc62273eb5..44a557a99d45a493ac34461e6c2c7551b0b7e93c 100644 |
--- a/LayoutTests/platform/win/fast/dom/Range/getClientRects-expected.txt |
+++ b/LayoutTests/platform/win/fast/dom/Range/getClientRects-expected.txt |
@@ -5,187 +5,187 @@ PASS rects[0].top is 8 |
PASS rects[0].width is 400 |
PASS rects[0].height is 160 |
PASS rects[1].left is 8 |
-FAIL rects[1].top should be 19. Was 18. |
-FAIL rects[1].width should be 396. Was 378. |
-FAIL rects[1].height should be 18. Was 19. |
+PASS rects[1].top is 19 |
+FAIL rects[1].width should be 396. Was 387. |
+FAIL rects[1].height should be 18. Was 17. |
PASS rects[2].left is 8 |
-FAIL rects[2].top should be 59. Was 58. |
-FAIL rects[2].width should be 398. Was 378. |
-FAIL rects[2].height should be 18. Was 19. |
+PASS rects[2].top is 59 |
+FAIL rects[2].width should be 398. Was 360. |
+FAIL rects[2].height should be 18. Was 17. |
PASS rects[3].left is 8 |
-FAIL rects[3].top should be 99. Was 98. |
-FAIL rects[3].width should be 360. Was 380. |
-FAIL rects[3].height should be 18. Was 19. |
+PASS rects[3].top is 99 |
+FAIL rects[3].width should be 360. Was 382. |
+FAIL rects[3].height should be 18. Was 17. |
PASS rects[4].left is 8 |
-FAIL rects[4].top should be 139. Was 138. |
-FAIL rects[4].width should be 306. Was 247. |
-FAIL rects[4].height should be 18. Was 19. |
+PASS rects[4].top is 139 |
+FAIL rects[4].width should be 306. Was 369. |
+FAIL rects[4].height should be 18. Was 17. |
Test 2 |
PASS rects.length is 4 |
PASS rects[0].left is 8 |
-FAIL rects[0].top should be 215. Was 218. |
-FAIL rects[0].width should be 396. Was 378. |
-FAIL rects[0].height should be 18. Was 19. |
+PASS rects[0].top is 215 |
+FAIL rects[0].width should be 396. Was 387. |
+FAIL rects[0].height should be 18. Was 17. |
PASS rects[1].left is 8 |
-FAIL rects[1].top should be 255. Was 258. |
-FAIL rects[1].width should be 398. Was 378. |
-FAIL rects[1].height should be 18. Was 19. |
+PASS rects[1].top is 255 |
+FAIL rects[1].width should be 398. Was 360. |
+FAIL rects[1].height should be 18. Was 17. |
PASS rects[2].left is 8 |
-FAIL rects[2].top should be 295. Was 298. |
-FAIL rects[2].width should be 360. Was 380. |
-FAIL rects[2].height should be 18. Was 19. |
+PASS rects[2].top is 295 |
+FAIL rects[2].width should be 360. Was 382. |
+FAIL rects[2].height should be 18. Was 17. |
PASS rects[3].left is 8 |
-FAIL rects[3].top should be 335. Was 338. |
-FAIL rects[3].width should be 306. Was 247. |
-FAIL rects[3].height should be 18. Was 19. |
+PASS rects[3].top is 335 |
+FAIL rects[3].width should be 306. Was 369. |
+FAIL rects[3].height should be 18. Was 17. |
Test 3 |
PASS rects.length is 4 |
-FAIL rects[0].left should be 80. Was 76. |
-FAIL rects[0].top should be 411. Was 418. |
-FAIL rects[0].width should be 324. Was 310. |
-FAIL rects[0].height should be 18. Was 19. |
+FAIL rects[0].left should be 80. Was 81. |
+PASS rects[0].top is 411 |
+FAIL rects[0].width should be 324. Was 314. |
+FAIL rects[0].height should be 18. Was 17. |
PASS rects[1].left is 8 |
-FAIL rects[1].top should be 451. Was 458. |
-FAIL rects[1].width should be 398. Was 378. |
-FAIL rects[1].height should be 18. Was 19. |
+PASS rects[1].top is 451 |
+FAIL rects[1].width should be 398. Was 360. |
+FAIL rects[1].height should be 18. Was 17. |
PASS rects[2].left is 8 |
-FAIL rects[2].top should be 491. Was 498. |
-FAIL rects[2].width should be 360. Was 380. |
-FAIL rects[2].height should be 18. Was 19. |
+PASS rects[2].top is 491 |
+FAIL rects[2].width should be 360. Was 382. |
+FAIL rects[2].height should be 18. Was 17. |
PASS rects[3].left is 8 |
-FAIL rects[3].top should be 531. Was 538. |
-FAIL rects[3].width should be 88. Was 38. |
-FAIL rects[3].height should be 18. Was 19. |
+PASS rects[3].top is 531 |
+FAIL rects[3].width should be 88. Was 147. |
+FAIL rects[3].height should be 18. Was 17. |
Test 4 |
-FAIL rects.length should be 7. Was 6. |
+PASS rects.length is 7 |
PASS rects[0].left is 8 |
-FAIL rects[0].top should be 596. Was 608. |
+PASS rects[0].top is 596 |
PASS rects[0].width is 400 |
-FAIL rects[0].height should be 278. Was 238. |
+PASS rects[0].height is 278 |
PASS rects[1].left is 8 |
-FAIL rects[1].top should be 607. Was 618. |
-FAIL rects[1].width should be 396. Was 378. |
-FAIL rects[1].height should be 18. Was 19. |
+PASS rects[1].top is 607 |
+FAIL rects[1].width should be 396. Was 387. |
+FAIL rects[1].height should be 18. Was 17. |
PASS rects[2].left is 8 |
-FAIL rects[2].top should be 725. Was 736. |
-FAIL rects[2].width should be 242. Was 230. |
-FAIL rects[2].height should be 18. Was 19. |
-FAIL rects[3].left should be 326. Was 314. |
-FAIL rects[3].top should be 725. Was 736. |
-FAIL rects[3].width should be 44. Was 86. |
-FAIL rects[3].height should be 18. Was 19. |
+PASS rects[2].top is 725 |
+FAIL rects[2].width should be 242. Was 269. |
+FAIL rects[2].height should be 18. Was 17. |
+FAIL rects[3].left should be 326. Was 352. |
+PASS rects[3].top is 725 |
+FAIL rects[3].width should be 44. Was 46. |
+FAIL rects[3].height should be 18. Was 17. |
PASS rects[4].left is 8 |
-FAIL rects[4].top should be 765. Was 776. |
-FAIL rects[4].width should be 341. Was 398. |
-FAIL rects[4].height should be 18. Was 19. |
+PASS rects[4].top is 765 |
+FAIL rects[4].width should be 341. Was 349. |
+FAIL rects[4].height should be 18. Was 17. |
PASS rects[5].left is 8 |
-FAIL rects[5].top should be 805. Was 816. |
-FAIL rects[5].width should be 366. Was 291. |
-FAIL rects[5].height should be 18. Was 19. |
-FAIL rects[6].left should be 8. Threw exception TypeError: Cannot read property 'left' of undefined |
-FAIL rects[6].top should be 845. Threw exception TypeError: Cannot read property 'top' of undefined |
-FAIL rects[6].width should be 67. Threw exception TypeError: Cannot read property 'width' of undefined |
-FAIL rects[6].height should be 18. Threw exception TypeError: Cannot read property 'height' of undefined |
+PASS rects[5].top is 805 |
+FAIL rects[5].width should be 366. Was 376. |
+FAIL rects[5].height should be 18. Was 17. |
+PASS rects[6].left is 8 |
+PASS rects[6].top is 845 |
+FAIL rects[6].width should be 67. Was 68. |
+FAIL rects[6].height should be 18. Was 17. |
Test 5 |
PASS rects.length is 5 |
-FAIL rects[0].left should be 80. Was 76. |
-FAIL rects[0].top should be 921. Was 896. |
-FAIL rects[0].width should be 324. Was 310. |
-FAIL rects[0].height should be 18. Was 19. |
+FAIL rects[0].left should be 80. Was 81. |
+PASS rects[0].top is 921 |
+FAIL rects[0].width should be 324. Was 314. |
+FAIL rects[0].height should be 18. Was 17. |
PASS rects[1].left is 8 |
-FAIL rects[1].top should be 1039. Was 1014. |
-FAIL rects[1].width should be 242. Was 230. |
-FAIL rects[1].height should be 18. Was 19. |
-FAIL rects[2].left should be 250. Was 238. |
-FAIL rects[2].top should be 950. Was 926. |
-PASS rects[2].width is 76 |
+PASS rects[1].top is 1039 |
+FAIL rects[1].width should be 242. Was 269. |
+FAIL rects[1].height should be 18. Was 17. |
+FAIL rects[2].left should be 250. Was 276. |
+PASS rects[2].top is 950 |
+FAIL rects[2].width should be 76. Was 77. |
PASS rects[2].height is 103 |
-FAIL rects[3].left should be 326. Was 314. |
-FAIL rects[3].top should be 1039. Was 1014. |
-FAIL rects[3].width should be 44. Was 86. |
-FAIL rects[3].height should be 18. Was 19. |
+FAIL rects[3].left should be 326. Was 352. |
+PASS rects[3].top is 1039 |
+FAIL rects[3].width should be 44. Was 46. |
+FAIL rects[3].height should be 18. Was 17. |
PASS rects[4].left is 8 |
-FAIL rects[4].top should be 1079. Was 1054. |
-FAIL rects[4].width should be 284. Was 220. |
-FAIL rects[4].height should be 18. Was 19. |
+PASS rects[4].top is 1079 |
+FAIL rects[4].width should be 284. Was 290. |
+FAIL rects[4].height should be 18. Was 17. |
Test 6 |
-PASS rects.length is 7 |
+FAIL rects.length should be 7. Was 8. |
PASS rects[0].left is 8 |
-FAIL rects[0].top should be 1224. Was 1164. |
+PASS rects[0].top is 1224 |
PASS rects[0].width is 400 |
-PASS rects[0].height is 200 |
+FAIL rects[0].height should be 200. Was 240. |
PASS rects[1].left is 8 |
-FAIL rects[1].top should be 1235. Was 1174. |
-FAIL rects[1].width should be 396. Was 378. |
-FAIL rects[1].height should be 18. Was 19. |
+PASS rects[1].top is 1235 |
+FAIL rects[1].width should be 396. Was 387. |
+FAIL rects[1].height should be 18. Was 17. |
PASS rects[2].left is 8 |
-FAIL rects[2].top should be 1275. Was 1214. |
-FAIL rects[2].width should be 57. Was 54. |
-FAIL rects[2].height should be 18. Was 19. |
-FAIL rects[3].left should be 105. Was 102. |
-FAIL rects[3].top should be 1275. Was 1214. |
-FAIL rects[3].width should be 44. Was 43. |
-FAIL rects[3].height should be 18. Was 19. |
-PASS rects[4].left is 8 |
-FAIL rects[4].top should be 1315. Was 1254. |
-FAIL rects[4].width should be 387. Was 363. |
-FAIL rects[4].height should be 18. Was 19. |
+PASS rects[2].top is 1275 |
+FAIL rects[2].width should be 57. Was 16. |
+FAIL rects[2].height should be 18. Was 17. |
+FAIL rects[3].left should be 105. Was 8. |
+FAIL rects[3].top should be 1275. Was 1315. |
+FAIL rects[3].width should be 44. Was 59. |
+FAIL rects[3].height should be 18. Was 17. |
+FAIL rects[4].left should be 8. Was 106. |
+PASS rects[4].top is 1315 |
+FAIL rects[4].width should be 387. Was 46. |
+FAIL rects[4].height should be 18. Was 17. |
PASS rects[5].left is 8 |
-FAIL rects[5].top should be 1355. Was 1294. |
-FAIL rects[5].width should be 397. Was 389. |
-FAIL rects[5].height should be 18. Was 19. |
+PASS rects[5].top is 1355 |
+PASS rects[5].width is 397 |
+FAIL rects[5].height should be 18. Was 17. |
PASS rects[6].left is 8 |
-FAIL rects[6].top should be 1395. Was 1334. |
-FAIL rects[6].width should be 171. Was 148. |
-FAIL rects[6].height should be 18. Was 19. |
+PASS rects[6].top is 1395 |
+FAIL rects[6].width should be 171. Was 360. |
+FAIL rects[6].height should be 18. Was 17. |
Test 7 |
-PASS rects.length is 7 |
+FAIL rects.length should be 7. Was 8. |
PASS rects[0].left is 8 |
-FAIL rects[0].top should be 1471. Was 1414. |
-FAIL rects[0].width should be 396. Was 378. |
-FAIL rects[0].height should be 18. Was 19. |
+FAIL rects[0].top should be 1471. Was 1511. |
+FAIL rects[0].width should be 396. Was 387. |
+FAIL rects[0].height should be 18. Was 17. |
PASS rects[1].left is 8 |
-FAIL rects[1].top should be 1500. Was 1444. |
-PASS rects[1].width is 400 |
-PASS rects[1].height is 40 |
+FAIL rects[1].top should be 1500. Was 1551. |
+FAIL rects[1].width should be 400. Was 16. |
+FAIL rects[1].height should be 40. Was 17. |
PASS rects[2].left is 8 |
-FAIL rects[2].top should be 1511. Was 1454. |
-FAIL rects[2].width should be 57. Was 54. |
-FAIL rects[2].height should be 18. Was 19. |
-FAIL rects[3].left should be 105. Was 102. |
-FAIL rects[3].top should be 1511. Was 1454. |
-FAIL rects[3].width should be 44. Was 43. |
-FAIL rects[3].height should be 18. Was 19. |
-PASS rects[4].left is 8 |
-FAIL rects[4].top should be 1551. Was 1494. |
-FAIL rects[4].width should be 387. Was 363. |
-FAIL rects[4].height should be 18. Was 19. |
+FAIL rects[2].top should be 1511. Was 1580. |
+FAIL rects[2].width should be 57. Was 400. |
+FAIL rects[2].height should be 18. Was 40. |
+FAIL rects[3].left should be 105. Was 8. |
+FAIL rects[3].top should be 1511. Was 1591. |
+FAIL rects[3].width should be 44. Was 59. |
+FAIL rects[3].height should be 18. Was 17. |
+FAIL rects[4].left should be 8. Was 106. |
+FAIL rects[4].top should be 1551. Was 1591. |
+FAIL rects[4].width should be 387. Was 46. |
+FAIL rects[4].height should be 18. Was 17. |
PASS rects[5].left is 8 |
-FAIL rects[5].top should be 1591. Was 1534. |
-FAIL rects[5].width should be 397. Was 389. |
-FAIL rects[5].height should be 18. Was 19. |
+FAIL rects[5].top should be 1591. Was 1631. |
+PASS rects[5].width is 397 |
+FAIL rects[5].height should be 18. Was 17. |
PASS rects[6].left is 8 |
-FAIL rects[6].top should be 1631. Was 1574. |
-FAIL rects[6].width should be 171. Was 148. |
-FAIL rects[6].height should be 18. Was 19. |
+FAIL rects[6].top should be 1631. Was 1671. |
+FAIL rects[6].width should be 171. Was 360. |
+FAIL rects[6].height should be 18. Was 17. |
Test 8 |
PASS rects.length is 4 |
-PASS rects[0].left is 168 |
-FAIL rects[0].top should be 1678. Was 1625. |
-FAIL rects[0].width should be 269. Was 259. |
-FAIL rects[0].height should be 316. Was 303. |
-PASS rects[1].left is 137 |
-FAIL rects[1].top should be 1704. Was 1651. |
-FAIL rects[1].width should be 271. Was 259. |
-FAIL rects[1].height should be 317. Was 303. |
+FAIL rects[0].left should be 168. Was 169. |
+FAIL rects[0].top should be 1678. Was 1758. |
+FAIL rects[0].width should be 269. Was 262. |
+FAIL rects[0].height should be 316. Was 308. |
+FAIL rects[1].left should be 137. Was 138. |
+FAIL rects[1].top should be 1704. Was 1784. |
+FAIL rects[1].width should be 271. Was 246. |
+FAIL rects[1].height should be 317. Was 287. |
PASS rects[2].left is 107 |
-FAIL rects[2].top should be 1729. Was 1677. |
+FAIL rects[2].top should be 1729. Was 1809. |
FAIL rects[2].width should be 246. Was 260. |
FAIL rects[2].height should be 289. Was 304. |
-PASS rects[3].left is 76 |
-FAIL rects[3].top should be 1755. Was 1702. |
-FAIL rects[3].width should be 212. Was 174. |
-FAIL rects[3].height should be 247. Was 203. |
+FAIL rects[3].left should be 76. Was 77. |
+FAIL rects[3].top should be 1755. Was 1835. |
+FAIL rects[3].width should be 212. Was 251. |
+FAIL rects[3].height should be 247. Was 294. |
Test 9 |
FAIL rects.length should be 1. Was 0. |
FAIL rects[0].left should be 8. Threw exception TypeError: Cannot read property 'left' of undefined |
@@ -195,27 +195,27 @@ FAIL rects[0].height should be 18. Threw exception TypeError: Cannot read proper |
Test 9b |
PASS rects.length is 1 |
PASS rects[0].left is 8 |
-FAIL rects[0].top should be 1903. Was 1854. |
+FAIL rects[0].top should be 1903. Was 1983. |
PASS rects[0].width is 0 |
-FAIL rects[0].height should be 18. Was 19. |
+FAIL rects[0].height should be 18. Was 17. |
Test 10 |
-PASS rects.length is 4 |
-FAIL rects[0].left should be 19. Was 18. |
-FAIL rects[0].top should be 2088. Was 2044. |
-FAIL rects[0].width should be 18. Was 19. |
-FAIL rects[0].height should be 393. Was 399. |
-FAIL rects[1].left should be 59. Was 58. |
-FAIL rects[1].top should be 2088. Was 2044. |
-FAIL rects[1].width should be 18. Was 19. |
-FAIL rects[1].height should be 377. Was 398. |
-FAIL rects[2].left should be 99. Was 98. |
-FAIL rects[2].top should be 2088. Was 2044. |
-FAIL rects[2].width should be 18. Was 19. |
-FAIL rects[2].height should be 372. Was 380. |
-FAIL rects[3].left should be 139. Was 138. |
-FAIL rects[3].top should be 2088. Was 2044. |
-FAIL rects[3].width should be 18. Was 19. |
-FAIL rects[3].height should be 360. Was 247. |
+FAIL rects.length should be 4. Was 5. |
+PASS rects[0].left is 19 |
+FAIL rects[0].top should be 2088. Was 2168. |
+FAIL rects[0].width should be 18. Was 17. |
+FAIL rects[0].height should be 393. Was 375. |
+PASS rects[1].left is 59 |
+FAIL rects[1].top should be 2088. Was 2168. |
+FAIL rects[1].width should be 18. Was 17. |
+FAIL rects[1].height should be 377. Was 368. |
+PASS rects[2].left is 99 |
+FAIL rects[2].top should be 2088. Was 2168. |
+FAIL rects[2].width should be 18. Was 17. |
+FAIL rects[2].height should be 372. Was 349. |
+PASS rects[3].left is 139 |
+FAIL rects[3].top should be 2088. Was 2168. |
+FAIL rects[3].width should be 18. Was 17. |
+FAIL rects[3].height should be 360. Was 376. |
Test 11 |
PASS rects.length is 0 |
PASS successfullyParsed is true |