Index: LayoutTests/platform/mac/fast/dom/Range/getClientRects-expected.txt |
diff --git a/LayoutTests/platform/mac/fast/dom/Range/getClientRects-expected.txt b/LayoutTests/platform/mac/fast/dom/Range/getClientRects-expected.txt |
index a73e82bf8fede45d1b280857370794d54f42708d..39baecac2592712a92083df2bad55d46a567c810 100644 |
--- a/LayoutTests/platform/mac/fast/dom/Range/getClientRects-expected.txt |
+++ b/LayoutTests/platform/mac/fast/dom/Range/getClientRects-expected.txt |
@@ -6,51 +6,51 @@ 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 20. |
-FAIL rects[1].width should be 396. Was 387. |
+FAIL rects[1].width should be 396. Was 386.578125. |
FAIL rects[1].height should be 18. Was 16. |
PASS rects[2].left is 8 |
FAIL rects[2].top should be 59. Was 60. |
-FAIL rects[2].width should be 398. Was 360. |
+FAIL rects[2].width should be 398. Was 359.9140625. |
FAIL rects[2].height should be 18. Was 16. |
PASS rects[3].left is 8 |
FAIL rects[3].top should be 99. Was 100. |
-FAIL rects[3].width should be 360. Was 382. |
+FAIL rects[3].width should be 360. Was 381.25. |
FAIL rects[3].height should be 18. Was 16. |
PASS rects[4].left is 8 |
FAIL rects[4].top should be 139. Was 140. |
-FAIL rects[4].width should be 306. Was 369. |
+FAIL rects[4].width should be 306. Was 368.359375. |
FAIL rects[4].height should be 18. Was 16. |
Test 2 |
PASS rects.length is 4 |
PASS rects[0].left is 8 |
FAIL rects[0].top should be 215. Was 212. |
-FAIL rects[0].width should be 396. Was 387. |
+FAIL rects[0].width should be 396. Was 386.578125. |
FAIL rects[0].height should be 18. Was 16. |
PASS rects[1].left is 8 |
FAIL rects[1].top should be 255. Was 252. |
-FAIL rects[1].width should be 398. Was 360. |
+FAIL rects[1].width should be 398. Was 359.9140625. |
FAIL rects[1].height should be 18. Was 16. |
PASS rects[2].left is 8 |
FAIL rects[2].top should be 295. Was 292. |
-FAIL rects[2].width should be 360. Was 382. |
+FAIL rects[2].width should be 360. Was 381.25. |
FAIL rects[2].height should be 18. Was 16. |
PASS rects[3].left is 8 |
FAIL rects[3].top should be 335. Was 332. |
-FAIL rects[3].width should be 306. Was 369. |
+FAIL rects[3].width should be 306. Was 368.359375. |
FAIL rects[3].height should be 18. Was 16. |
Test 3 |
PASS rects.length is 4 |
FAIL rects[0].left should be 80. Was 81. |
FAIL rects[0].top should be 411. Was 404. |
-FAIL rects[0].width should be 324. Was 314. |
+FAIL rects[0].width should be 324. Was 313.578125. |
FAIL rects[0].height should be 18. Was 16. |
PASS rects[1].left is 8 |
FAIL rects[1].top should be 451. Was 444. |
-FAIL rects[1].width should be 398. Was 360. |
+FAIL rects[1].width should be 398. Was 359.9140625. |
FAIL rects[1].height should be 18. Was 16. |
PASS rects[2].left is 8 |
FAIL rects[2].top should be 491. Was 484. |
-FAIL rects[2].width should be 360. Was 382. |
+FAIL rects[2].width should be 360. Was 381.25. |
FAIL rects[2].height should be 18. Was 16. |
PASS rects[3].left is 8 |
FAIL rects[3].top should be 531. Was 524. |
@@ -64,45 +64,45 @@ PASS rects[0].width is 400 |
FAIL rects[0].height should be 278. Was 279. |
PASS rects[1].left is 8 |
FAIL rects[1].top should be 607. Was 596. |
-FAIL rects[1].width should be 396. Was 387. |
+FAIL rects[1].width should be 396. Was 386.578125. |
FAIL rects[1].height should be 18. Was 16. |
PASS rects[2].left is 8 |
FAIL rects[2].top should be 725. Was 715. |
-FAIL rects[2].width should be 242. Was 269. |
+FAIL rects[2].width should be 242. Was 268.390625. |
FAIL rects[2].height should be 18. Was 16. |
-FAIL rects[3].left should be 326. Was 352. |
+FAIL rects[3].left should be 326. Was 352.390625. |
FAIL rects[3].top should be 725. Was 715. |
-FAIL rects[3].width should be 44. Was 46. |
+FAIL rects[3].width should be 44. Was 44.875. |
FAIL rects[3].height should be 18. Was 16. |
PASS rects[4].left is 8 |
FAIL rects[4].top should be 765. Was 755. |
-FAIL rects[4].width should be 341. Was 349. |
+FAIL rects[4].width should be 341. Was 348.3828125. |
FAIL rects[4].height should be 18. Was 16. |
PASS rects[5].left is 8 |
FAIL rects[5].top should be 805. Was 795. |
-FAIL rects[5].width should be 366. Was 376. |
+FAIL rects[5].width should be 366. Was 375.8984375. |
FAIL rects[5].height should be 18. Was 16. |
PASS rects[6].left is 8 |
FAIL rects[6].top should be 845. Was 835. |
-FAIL rects[6].width should be 67. Was 68. |
+FAIL rects[6].width should be 67. Was 67.9765625. |
FAIL rects[6].height should be 18. Was 16. |
Test 5 |
PASS rects.length is 5 |
FAIL rects[0].left should be 80. Was 81. |
FAIL rects[0].top should be 921. Was 907. |
-FAIL rects[0].width should be 324. Was 314. |
+FAIL rects[0].width should be 324. Was 313.578125. |
FAIL rects[0].height should be 18. Was 16. |
PASS rects[1].left is 8 |
FAIL rects[1].top should be 1039. Was 1026. |
-FAIL rects[1].width should be 242. Was 269. |
+FAIL rects[1].width should be 242. Was 268.390625. |
FAIL rects[1].height should be 18. Was 16. |
-FAIL rects[2].left should be 250. Was 276. |
+FAIL rects[2].left should be 250. Was 276.390625. |
FAIL rects[2].top should be 950. Was 935. |
-FAIL rects[2].width should be 76. Was 77. |
+PASS rects[2].width is 76 |
PASS rects[2].height is 103 |
-FAIL rects[3].left should be 326. Was 352. |
+FAIL rects[3].left should be 326. Was 352.390625. |
FAIL rects[3].top should be 1039. Was 1026. |
-FAIL rects[3].width should be 44. Was 46. |
+FAIL rects[3].width should be 44. Was 44.875. |
FAIL rects[3].height should be 18. Was 16. |
PASS rects[4].left is 8 |
FAIL rects[4].top should be 1079. Was 1066. |
@@ -116,7 +116,7 @@ PASS rects[0].width is 400 |
FAIL rects[0].height should be 200. Was 240. |
PASS rects[1].left is 8 |
FAIL rects[1].top should be 1235. Was 1218. |
-FAIL rects[1].width should be 396. Was 387. |
+FAIL rects[1].width should be 396. Was 386.578125. |
FAIL rects[1].height should be 18. Was 16. |
PASS rects[2].left is 8 |
FAIL rects[2].top should be 1275. Was 1258. |
@@ -124,25 +124,25 @@ FAIL rects[2].width should be 57. Was 16. |
FAIL rects[2].height should be 18. Was 16. |
FAIL rects[3].left should be 105. Was 8. |
FAIL rects[3].top should be 1275. Was 1298. |
-FAIL rects[3].width should be 44. Was 59. |
+FAIL rects[3].width should be 44. Was 58.21875. |
FAIL rects[3].height should be 18. Was 16. |
-FAIL rects[4].left should be 8. Was 106. |
+FAIL rects[4].left should be 8. Was 106.21875. |
FAIL rects[4].top should be 1315. Was 1298. |
-FAIL rects[4].width should be 387. Was 46. |
+FAIL rects[4].width should be 387. Was 45.3203125. |
FAIL rects[4].height should be 18. Was 16. |
PASS rects[5].left is 8 |
FAIL rects[5].top should be 1355. Was 1338. |
-PASS rects[5].width is 397 |
+FAIL rects[5].width should be 397. Was 396.34375. |
FAIL rects[5].height should be 18. Was 16. |
PASS rects[6].left is 8 |
FAIL rects[6].top should be 1395. Was 1378. |
-FAIL rects[6].width should be 171. Was 360. |
+FAIL rects[6].width should be 171. Was 359.9296875. |
FAIL rects[6].height should be 18. Was 16. |
Test 7 |
FAIL rects.length should be 7. Was 8. |
PASS rects[0].left is 8 |
FAIL rects[0].top should be 1471. Was 1490. |
-FAIL rects[0].width should be 396. Was 387. |
+FAIL rects[0].width should be 396. Was 386.578125. |
FAIL rects[0].height should be 18. Was 16. |
PASS rects[1].left is 8 |
FAIL rects[1].top should be 1500. Was 1530. |
@@ -154,38 +154,38 @@ 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 1570. |
-FAIL rects[3].width should be 44. Was 59. |
+FAIL rects[3].width should be 44. Was 58.21875. |
FAIL rects[3].height should be 18. Was 16. |
-FAIL rects[4].left should be 8. Was 106. |
+FAIL rects[4].left should be 8. Was 106.21875. |
FAIL rects[4].top should be 1551. Was 1570. |
-FAIL rects[4].width should be 387. Was 46. |
+FAIL rects[4].width should be 387. Was 45.3203125. |
FAIL rects[4].height should be 18. Was 16. |
PASS rects[5].left is 8 |
FAIL rects[5].top should be 1591. Was 1610. |
-PASS rects[5].width is 397 |
+FAIL rects[5].width should be 397. Was 396.34375. |
FAIL rects[5].height should be 18. Was 16. |
PASS rects[6].left is 8 |
FAIL rects[6].top should be 1631. Was 1650. |
-FAIL rects[6].width should be 171. Was 360. |
+FAIL rects[6].width should be 171. Was 359.9296875. |
FAIL rects[6].height should be 18. Was 16. |
Test 8 |
PASS rects.length is 4 |
-FAIL rects[0].left should be 168. Was 169. |
-FAIL rects[0].top should be 1678. Was 1733. |
-FAIL rects[0].width should be 269. Was 262. |
-FAIL rects[0].height should be 316. Was 307. |
-FAIL rects[1].left should be 137. Was 138. |
-FAIL rects[1].top should be 1704. Was 1758. |
-FAIL rects[1].width should be 271. Was 245. |
-FAIL rects[1].height should be 317. Was 287. |
-PASS rects[2].left is 107 |
-FAIL rects[2].top should be 1729. Was 1784. |
-FAIL rects[2].width should be 246. Was 259. |
-FAIL rects[2].height should be 289. Was 303. |
-FAIL rects[3].left should be 76. Was 77. |
-FAIL rects[3].top should be 1755. Was 1810. |
-FAIL rects[3].width should be 212. Was 250. |
-FAIL rects[3].height should be 247. Was 293. |
+FAIL rects[0].left should be 168. Was 169.27679443359375. |
+FAIL rects[0].top should be 1678. Was 1733.08154296875. |
+FAIL rects[0].width should be 269. Was 260.74432373046875. |
+FAIL rects[0].height should be 316. Was 306.420654296875. |
+FAIL rects[1].left should be 137. Was 138.635009765625. |
+FAIL rects[1].top should be 1704. Was 1758.7930908203125. |
+FAIL rects[1].width should be 271. Was 243.60501098632812. |
+FAIL rects[1].height should be 317. Was 285.9947509765625. |
+FAIL rects[2].left should be 107. Was 107.99323272705078. |
+FAIL rects[2].top should be 1729. Was 1784.5045166015625. |
+FAIL rects[2].width should be 246. Was 257.3194885253906. |
+FAIL rects[2].height should be 289. Was 302.3389892578125. |
+FAIL rects[3].left should be 76. Was 77.35145568847656. |
+FAIL rects[3].top should be 1755. Was 1810.216064453125. |
+FAIL rects[3].width should be 212. Was 249.03355407714844. |
+FAIL rects[3].height should be 247. Was 292.46435546875. |
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 |
@@ -207,15 +207,15 @@ FAIL rects[0].height should be 393. Was 375. |
FAIL rects[1].left should be 59. Was 60. |
FAIL rects[1].top should be 2088. Was 2134. |
FAIL rects[1].width should be 18. Was 16. |
-FAIL rects[1].height should be 377. Was 368. |
+FAIL rects[1].height should be 377. Was 367.03125. |
FAIL rects[2].left should be 99. Was 100. |
FAIL rects[2].top should be 2088. Was 2134. |
FAIL rects[2].width should be 18. Was 16. |
-FAIL rects[2].height should be 372. Was 349. |
+FAIL rects[2].height should be 372. Was 348.3828125. |
FAIL rects[3].left should be 139. Was 140. |
FAIL rects[3].top should be 2088. Was 2134. |
FAIL rects[3].width should be 18. Was 16. |
-FAIL rects[3].height should be 360. Was 376. |
+FAIL rects[3].height should be 360. Was 375.8984375. |
Test 11 |
PASS rects.length is 0 |
PASS successfullyParsed is true |