Title: [220057] trunk/LayoutTests
Revision
220057
Author
commit-qu...@webkit.org
Date
2017-07-31 02:07:41 -0700 (Mon, 31 Jul 2017)

Log Message

[GTK] Layout Tests fast/dom/{Element,Range}/getClientRects.html are failing
https://bugs.webkit.org/show_bug.cgi?id=141700

Patch by Ms2ger <ms2...@igalia.com> on 2017-07-31
Reviewed by Sam Weinig.

Add gtk-specific expectations for getClientRects tests.

Since these expectations depend on text metrics, it is unsurprising that they
are platform-dependent.

* platform/gtk/TestExpectations:
* platform/gtk/fast/dom/Element/getClientRects-expected.txt: Added.
* platform/gtk/fast/dom/Range/getClientRects-expected.txt:

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (220056 => 220057)


--- trunk/LayoutTests/ChangeLog	2017-07-31 08:20:18 UTC (rev 220056)
+++ trunk/LayoutTests/ChangeLog	2017-07-31 09:07:41 UTC (rev 220057)
@@ -1,3 +1,19 @@
+2017-07-31  Ms2ger  <ms2...@igalia.com>
+
+        [GTK] Layout Tests fast/dom/{Element,Range}/getClientRects.html are failing
+        https://bugs.webkit.org/show_bug.cgi?id=141700
+
+        Reviewed by Sam Weinig.
+
+        Add gtk-specific expectations for getClientRects tests.
+
+        Since these expectations depend on text metrics, it is unsurprising that they
+        are platform-dependent.
+
+        * platform/gtk/TestExpectations:
+        * platform/gtk/fast/dom/Element/getClientRects-expected.txt: Added.
+        * platform/gtk/fast/dom/Range/getClientRects-expected.txt:
+
 2017-07-30  Darin Adler  <da...@apple.com>
 
         Remove code in HTMLObjectElement attribute parsing that forces style resolution and layout

Modified: trunk/LayoutTests/platform/gtk/TestExpectations (220056 => 220057)


--- trunk/LayoutTests/platform/gtk/TestExpectations	2017-07-31 08:20:18 UTC (rev 220056)
+++ trunk/LayoutTests/platform/gtk/TestExpectations	2017-07-31 09:07:41 UTC (rev 220057)
@@ -951,8 +951,6 @@
 webkit.org/b/141698 editing/pasteboard/5761530-1.html [ Failure ]
 webkit.org/b/141699 fast/attachment/attachment-disabled-rendering.html [ Failure ]
 webkit.org/b/141699 fast/attachment/attachment-rendering.html [ Failure ]
-webkit.org/b/141700 fast/dom/Element/getClientRects.html [ Failure ]
-webkit.org/b/141700 fast/dom/Range/getClientRects.html [ Failure ]
 
 webkit.org/b/141705 media/video-fullscreeen-only-controls.html [ Failure ]
 

Added: trunk/LayoutTests/platform/gtk/fast/dom/Element/getClientRects-expected.txt (0 => 220057)


--- trunk/LayoutTests/platform/gtk/fast/dom/Element/getClientRects-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/gtk/fast/dom/Element/getClientRects-expected.txt	2017-07-31 09:07:41 UTC (rev 220057)
@@ -0,0 +1,49 @@
+Client bounding rects for #1
+PASS testRects.length is 1
+
+Client bounding rects for #2
+PASS testRects.length is 1
+
+Client bounding rects for #3
+PASS testRects.length is 1
+
+Client bounding rects for #4
+PASS testRects.length is 1
+
+Client bounding rects for #5
+PASS testRects.length is 1
+
+Client bounding rects for #6
+Known failure. Skipping.
+
+Client bounding rects for #7
+FAIL testRects.length should be 11. Was 10.
+
+Client bounding rects for #8
+PASS testRects.length is 1
+
+Client bounding rects for #9
+PASS testRects.length is 1
+
+Client bounding rects for #10
+PASS testRects.length is 1
+
+Client bounding rects for #11
+PASS testRects.length is 1
+
+Client bounding rects for #12
+PASS testRects.length is 1
+
+Client bounding rects for #13
+PASS testRects.length is 1
+
+Client bounding rects for #14
+PASS testRects.length is 3
+
+Client bounding rects for #15
+PASS testRects.length is 1
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Modified: trunk/LayoutTests/platform/gtk/fast/dom/Range/getClientRects-expected.txt (220056 => 220057)


--- trunk/LayoutTests/platform/gtk/fast/dom/Range/getClientRects-expected.txt	2017-07-31 08:20:18 UTC (rev 220056)
+++ trunk/LayoutTests/platform/gtk/fast/dom/Range/getClientRects-expected.txt	2017-07-31 09:07:41 UTC (rev 220057)
@@ -1,255 +1,263 @@
 Test 1
 PASS rects.length is 5
-PASS rects[0].left is 8
-PASS rects[0].top is 8
-PASS rects[0].width is 400
-PASS rects[0].height is 160
-PASS rects[1].left is 8
-PASS rects[1].top is 19
-PASS rects[1].width is 396
-FAIL rects[1].height should be 18. Was 17.
-PASS rects[2].left is 8
-PASS rects[2].top is 59
-PASS rects[2].width is 398
-FAIL rects[2].height should be 18. Was 17.
-PASS rects[3].left is 8
-PASS rects[3].top is 99
-PASS rects[3].width is 360
-FAIL rects[3].height should be 18. Was 17.
-PASS rects[4].left is 8
-PASS rects[4].top is 139
-PASS rects[4].width is 306
-FAIL rects[4].height should be 18. Was 17.
+PASS rects[0].left.toFixed(2) is "8.00"
+PASS rects[0].top.toFixed(2) is "8.00"
+PASS rects[0].width.toFixed(2) is "400.00"
+PASS rects[0].height.toFixed(2) is "160.00"
+PASS rects[1].left.toFixed(2) is "8.00"
+PASS rects[1].top.toFixed(2) is "19.00"
+FAIL rects[1].width.toFixed(2) should be 386.58. Was 396.00.
+FAIL rects[1].height.toFixed(2) should be 18.00. Was 17.00.
+PASS rects[2].left.toFixed(2) is "8.00"
+PASS rects[2].top.toFixed(2) is "59.00"
+FAIL rects[2].width.toFixed(2) should be 359.91. Was 398.00.
+FAIL rects[2].height.toFixed(2) should be 18.00. Was 17.00.
+PASS rects[3].left.toFixed(2) is "8.00"
+PASS rects[3].top.toFixed(2) is "99.00"
+FAIL rects[3].width.toFixed(2) should be 381.25. Was 360.00.
+FAIL rects[3].height.toFixed(2) should be 18.00. Was 17.00.
+PASS rects[4].left.toFixed(2) is "8.00"
+PASS rects[4].top.toFixed(2) is "139.00"
+FAIL rects[4].width.toFixed(2) should be 368.36. Was 306.00.
+FAIL rects[4].height.toFixed(2) should be 18.00. Was 17.00.
 Test 2
 PASS rects.length is 4
-PASS rects[0].left is 8
-FAIL rects[0].top should be 215. Was 213.
-PASS rects[0].width is 396
-FAIL rects[0].height should be 18. Was 17.
-PASS rects[1].left is 8
-FAIL rects[1].top should be 255. Was 253.
-PASS rects[1].width is 398
-FAIL rects[1].height should be 18. Was 17.
-PASS rects[2].left is 8
-FAIL rects[2].top should be 295. Was 293.
-PASS rects[2].width is 360
-FAIL rects[2].height should be 18. Was 17.
-PASS rects[3].left is 8
-FAIL rects[3].top should be 335. Was 333.
-PASS rects[3].width is 306
-FAIL rects[3].height should be 18. Was 17.
+PASS rects[0].left.toFixed(2) is "8.00"
+FAIL rects[0].top.toFixed(2) should be 215.00. Was 213.00.
+FAIL rects[0].width.toFixed(2) should be 386.58. Was 396.00.
+FAIL rects[0].height.toFixed(2) should be 18.00. Was 17.00.
+PASS rects[1].left.toFixed(2) is "8.00"
+FAIL rects[1].top.toFixed(2) should be 255.00. Was 253.00.
+FAIL rects[1].width.toFixed(2) should be 359.91. Was 398.00.
+FAIL rects[1].height.toFixed(2) should be 18.00. Was 17.00.
+PASS rects[2].left.toFixed(2) is "8.00"
+FAIL rects[2].top.toFixed(2) should be 295.00. Was 293.00.
+FAIL rects[2].width.toFixed(2) should be 381.25. Was 360.00.
+FAIL rects[2].height.toFixed(2) should be 18.00. Was 17.00.
+PASS rects[3].left.toFixed(2) is "8.00"
+FAIL rects[3].top.toFixed(2) should be 335.00. Was 333.00.
+FAIL rects[3].width.toFixed(2) should be 368.36. Was 306.00.
+FAIL rects[3].height.toFixed(2) should be 18.00. Was 17.00.
 Test 3
 PASS rects.length is 4
-PASS rects[0].left is 80
-FAIL rects[0].top should be 411. Was 407.
-PASS rects[0].width is 324
-FAIL rects[0].height should be 18. Was 17.
-PASS rects[1].left is 8
-FAIL rects[1].top should be 451. Was 447.
-PASS rects[1].width is 398
-FAIL rects[1].height should be 18. Was 17.
-PASS rects[2].left is 8
-FAIL rects[2].top should be 491. Was 487.
-PASS rects[2].width is 360
-FAIL rects[2].height should be 18. Was 17.
-PASS rects[3].left is 8
-FAIL rects[3].top should be 531. Was 527.
-PASS rects[3].width is 88
-FAIL rects[3].height should be 18. Was 17.
+FAIL rects[0].left.toFixed(2) should be 81.31. Was 80.00.
+FAIL rects[0].top.toFixed(2) should be 411.00. Was 407.00.
+FAIL rects[0].width.toFixed(2) should be 313.27. Was 324.00.
+FAIL rects[0].height.toFixed(2) should be 18.00. Was 17.00.
+PASS rects[1].left.toFixed(2) is "8.00"
+FAIL rects[1].top.toFixed(2) should be 451.00. Was 447.00.
+FAIL rects[1].width.toFixed(2) should be 359.91. Was 398.00.
+FAIL rects[1].height.toFixed(2) should be 18.00. Was 17.00.
+PASS rects[2].left.toFixed(2) is "8.00"
+FAIL rects[2].top.toFixed(2) should be 491.00. Was 487.00.
+FAIL rects[2].width.toFixed(2) should be 381.25. Was 360.00.
+FAIL rects[2].height.toFixed(2) should be 18.00. Was 17.00.
+PASS rects[3].left.toFixed(2) is "8.00"
+FAIL rects[3].top.toFixed(2) should be 531.00. Was 527.00.
+FAIL rects[3].width.toFixed(2) should be 146.66. Was 88.00.
+FAIL rects[3].height.toFixed(2) should be 18.00. Was 17.00.
 Test 4
 PASS rects.length is 7
-PASS rects[0].left is 8
-FAIL rects[0].top should be 596. Was 590.
-PASS rects[0].width is 400
-PASS rects[0].height is 278
-PASS rects[1].left is 8
-FAIL rects[1].top should be 607. Was 601.
-PASS rects[1].width is 396
-FAIL rects[1].height should be 18. Was 17.
-PASS rects[2].left is 8
-FAIL rects[2].top should be 725. Was 719.
-PASS rects[2].width is 242
-FAIL rects[2].height should be 18. Was 17.
-PASS rects[3].left is 326
-FAIL rects[3].top should be 725. Was 719.
-PASS rects[3].width is 44
-FAIL rects[3].height should be 18. Was 17.
-PASS rects[4].left is 8
-FAIL rects[4].top should be 765. Was 759.
-PASS rects[4].width is 341
-FAIL rects[4].height should be 18. Was 17.
-PASS rects[5].left is 8
-FAIL rects[5].top should be 805. Was 799.
-PASS rects[5].width is 366
-FAIL rects[5].height should be 18. Was 17.
-PASS rects[6].left is 8
-FAIL rects[6].top should be 845. Was 839.
-PASS rects[6].width is 67
-FAIL rects[6].height should be 18. Was 17.
+PASS rects[0].left.toFixed(2) is "8.00"
+FAIL rects[0].top.toFixed(2) should be 596.00. Was 590.00.
+PASS rects[0].width.toFixed(2) is "400.00"
+PASS rects[0].height.toFixed(2) is "278.00"
+PASS rects[1].left.toFixed(2) is "8.00"
+FAIL rects[1].top.toFixed(2) should be 607.00. Was 601.00.
+FAIL rects[1].width.toFixed(2) should be 386.58. Was 396.00.
+FAIL rects[1].height.toFixed(2) should be 18.00. Was 17.00.
+PASS rects[2].left.toFixed(2) is "8.00"
+FAIL rects[2].top.toFixed(2) should be 725.00. Was 719.00.
+FAIL rects[2].width.toFixed(2) should be 268.39. Was 242.00.
+FAIL rects[2].height.toFixed(2) should be 18.00. Was 17.00.
+FAIL rects[3].left.toFixed(2) should be 352.39. Was 326.00.
+FAIL rects[3].top.toFixed(2) should be 725.00. Was 719.00.
+FAIL rects[3].width.toFixed(2) should be 44.88. Was 44.00.
+FAIL rects[3].height.toFixed(2) should be 18.00. Was 17.00.
+PASS rects[4].left.toFixed(2) is "8.00"
+FAIL rects[4].top.toFixed(2) should be 765.00. Was 759.00.
+FAIL rects[4].width.toFixed(2) should be 348.38. Was 341.00.
+FAIL rects[4].height.toFixed(2) should be 18.00. Was 17.00.
+PASS rects[5].left.toFixed(2) is "8.00"
+FAIL rects[5].top.toFixed(2) should be 805.00. Was 799.00.
+FAIL rects[5].width.toFixed(2) should be 375.90. Was 366.00.
+FAIL rects[5].height.toFixed(2) should be 18.00. Was 17.00.
+PASS rects[6].left.toFixed(2) is "8.00"
+FAIL rects[6].top.toFixed(2) should be 845.00. Was 839.00.
+FAIL rects[6].width.toFixed(2) should be 67.98. Was 67.00.
+FAIL rects[6].height.toFixed(2) should be 18.00. Was 17.00.
 Test 5
 PASS rects.length is 5
-PASS rects[0].left is 80
-FAIL rects[0].top should be 921. Was 913.
-PASS rects[0].width is 324
-FAIL rects[0].height should be 18. Was 17.
-PASS rects[1].left is 8
-FAIL rects[1].top should be 1039. Was 1031.
-PASS rects[1].width is 242
-FAIL rects[1].height should be 18. Was 17.
-PASS rects[2].left is 250
-FAIL rects[2].top should be 950. Was 942.
-PASS rects[2].width is 76
-PASS rects[2].height is 103
-PASS rects[3].left is 326
-FAIL rects[3].top should be 1039. Was 1031.
-PASS rects[3].width is 44
-FAIL rects[3].height should be 18. Was 17.
-PASS rects[4].left is 8
-FAIL rects[4].top should be 1079. Was 1071.
-PASS rects[4].width is 284
-FAIL rects[4].height should be 18. Was 17.
+FAIL rects[0].left.toFixed(2) should be 81.00. Was 80.00.
+FAIL rects[0].top.toFixed(2) should be 921.00. Was 913.00.
+FAIL rects[0].width.toFixed(2) should be 313.58. Was 324.00.
+FAIL rects[0].height.toFixed(2) should be 18.00. Was 17.00.
+PASS rects[1].left.toFixed(2) is "8.00"
+FAIL rects[1].top.toFixed(2) should be 1039.00. Was 1031.00.
+FAIL rects[1].width.toFixed(2) should be 268.39. Was 242.00.
+FAIL rects[1].height.toFixed(2) should be 18.00. Was 17.00.
+FAIL rects[2].left.toFixed(2) should be 276.39. Was 250.00.
+FAIL rects[2].top.toFixed(2) should be 950.00. Was 942.00.
+PASS rects[2].width.toFixed(2) is "76.00"
+PASS rects[2].height.toFixed(2) is "103.00"
+FAIL rects[3].left.toFixed(2) should be 352.39. Was 326.00.
+FAIL rects[3].top.toFixed(2) should be 1039.00. Was 1031.00.
+FAIL rects[3].width.toFixed(2) should be 44.88. Was 44.00.
+FAIL rects[3].height.toFixed(2) should be 18.00. Was 17.00.
+PASS rects[4].left.toFixed(2) is "8.00"
+FAIL rects[4].top.toFixed(2) should be 1079.00. Was 1071.00.
+FAIL rects[4].width.toFixed(2) should be 291.00. Was 284.00.
+FAIL rects[4].height.toFixed(2) should be 18.00. Was 17.00.
 Test 6
-PASS rects.length is 7
-PASS rects[0].left is 8
-FAIL rects[0].top should be 1224. Was 1214.
-PASS rects[0].width is 400
-PASS rects[0].height is 200
-PASS rects[1].left is 8
-FAIL rects[1].top should be 1235. Was 1225.
-PASS rects[1].width is 396
-FAIL rects[1].height should be 18. Was 17.
-PASS rects[2].left is 8
-FAIL rects[2].top should be 1275. Was 1265.
-PASS rects[2].width is 57
-FAIL rects[2].height should be 18. Was 17.
-PASS rects[3].left is 105
-FAIL rects[3].top should be 1275. Was 1265.
-PASS rects[3].width is 44
-FAIL rects[3].height should be 18. Was 17.
-PASS rects[4].left is 8
-FAIL rects[4].top should be 1315. Was 1305.
-PASS rects[4].width is 387
-FAIL rects[4].height should be 18. Was 17.
-PASS rects[5].left is 8
-FAIL rects[5].top should be 1355. Was 1345.
-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 1385.
-PASS rects[6].width is 171
-FAIL rects[6].height should be 18. Was 17.
+FAIL rects.length should be 8. Was 7.
+PASS rects[0].left.toFixed(2) is "8.00"
+FAIL rects[0].top.toFixed(2) should be 1224.00. Was 1214.00.
+PASS rects[0].width.toFixed(2) is "400.00"
+FAIL rects[0].height.toFixed(2) should be 240.00. Was 200.00.
+PASS rects[1].left.toFixed(2) is "8.00"
+FAIL rects[1].top.toFixed(2) should be 1235.00. Was 1225.00.
+FAIL rects[1].width.toFixed(2) should be 386.58. Was 396.00.
+FAIL rects[1].height.toFixed(2) should be 18.00. Was 17.00.
+PASS rects[2].left.toFixed(2) is "8.00"
+FAIL rects[2].top.toFixed(2) should be 1275.00. Was 1265.00.
+FAIL rects[2].width.toFixed(2) should be 16.00. Was 57.00.
+FAIL rects[2].height.toFixed(2) should be 18.00. Was 17.00.
+FAIL rects[3].left.toFixed(2) should be 8.00. Was 105.00.
+FAIL rects[3].top.toFixed(2) should be 1315.00. Was 1265.00.
+FAIL rects[3].width.toFixed(2) should be 58.22. Was 44.00.
+FAIL rects[3].height.toFixed(2) should be 18.00. Was 17.00.
+FAIL rects[4].left.toFixed(2) should be 106.22. Was 8.00.
+FAIL rects[4].top.toFixed(2) should be 1315.00. Was 1305.00.
+FAIL rects[4].width.toFixed(2) should be 45.32. Was 387.00.
+FAIL rects[4].height.toFixed(2) should be 18.00. Was 17.00.
+PASS rects[5].left.toFixed(2) is "8.00"
+FAIL rects[5].top.toFixed(2) should be 1355.00. Was 1345.00.
+FAIL rects[5].width.toFixed(2) should be 396.34. Was 397.00.
+FAIL rects[5].height.toFixed(2) should be 18.00. Was 17.00.
+PASS rects[6].left.toFixed(2) is "8.00"
+FAIL rects[6].top.toFixed(2) should be 1395.00. Was 1385.00.
+FAIL rects[6].width.toFixed(2) should be 359.93. Was 171.00.
+FAIL rects[6].height.toFixed(2) should be 18.00. Was 17.00.
+FAIL rects[7].left.toFixed(2) should be 8.00. Threw exception TypeError: undefined is not an object (evaluating 'rects[7].left')
+FAIL rects[7].top.toFixed(2) should be 1435.00. Threw exception TypeError: undefined is not an object (evaluating 'rects[7].top')
+FAIL rects[7].width.toFixed(2) should be 221.71. Threw exception TypeError: undefined is not an object (evaluating 'rects[7].width')
+FAIL rects[7].height.toFixed(2) should be 18.00. Threw exception TypeError: undefined is not an object (evaluating 'rects[7].height')
 Test 7
-PASS rects.length is 7
-PASS rects[0].left is 8
-FAIL rects[0].top should be 1471. Was 1459.
-PASS rects[0].width is 396
-FAIL rects[0].height should be 18. Was 17.
-PASS rects[1].left is 8
-FAIL rects[1].top should be 1500. Was 1488.
-PASS rects[1].width is 400
-PASS rects[1].height is 40
-PASS rects[2].left is 8
-FAIL rects[2].top should be 1511. Was 1499.
-PASS rects[2].width is 57
-FAIL rects[2].height should be 18. Was 17.
-PASS rects[3].left is 105
-FAIL rects[3].top should be 1511. Was 1499.
-PASS rects[3].width is 44
-FAIL rects[3].height should be 18. Was 17.
-PASS rects[4].left is 8
-FAIL rects[4].top should be 1551. Was 1539.
-PASS rects[4].width is 387
-FAIL rects[4].height should be 18. Was 17.
-PASS rects[5].left is 8
-FAIL rects[5].top should be 1591. Was 1579.
-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 1619.
-PASS rects[6].width is 171
-FAIL rects[6].height should be 18. Was 17.
+FAIL rects.length should be 8. Was 7.
+PASS rects[0].left.toFixed(2) is "8.00"
+FAIL rects[0].top.toFixed(2) should be 1511.00. Was 1459.00.
+FAIL rects[0].width.toFixed(2) should be 386.58. Was 396.00.
+FAIL rects[0].height.toFixed(2) should be 18.00. Was 17.00.
+PASS rects[1].left.toFixed(2) is "8.00"
+FAIL rects[1].top.toFixed(2) should be 1551.00. Was 1488.00.
+FAIL rects[1].width.toFixed(2) should be 16.00. Was 400.00.
+FAIL rects[1].height.toFixed(2) should be 18.00. Was 40.00.
+PASS rects[2].left.toFixed(2) is "8.00"
+FAIL rects[2].top.toFixed(2) should be 1580.00. Was 1499.00.
+FAIL rects[2].width.toFixed(2) should be 400.00. Was 57.00.
+FAIL rects[2].height.toFixed(2) should be 40.00. Was 17.00.
+FAIL rects[3].left.toFixed(2) should be 8.00. Was 105.00.
+FAIL rects[3].top.toFixed(2) should be 1591.00. Was 1499.00.
+FAIL rects[3].width.toFixed(2) should be 58.22. Was 44.00.
+FAIL rects[3].height.toFixed(2) should be 18.00. Was 17.00.
+FAIL rects[4].left.toFixed(2) should be 106.22. Was 8.00.
+FAIL rects[4].top.toFixed(2) should be 1591.00. Was 1539.00.
+FAIL rects[4].width.toFixed(2) should be 45.32. Was 387.00.
+FAIL rects[4].height.toFixed(2) should be 18.00. Was 17.00.
+PASS rects[5].left.toFixed(2) is "8.00"
+FAIL rects[5].top.toFixed(2) should be 1631.00. Was 1579.00.
+FAIL rects[5].width.toFixed(2) should be 396.34. Was 397.00.
+FAIL rects[5].height.toFixed(2) should be 18.00. Was 17.00.
+PASS rects[6].left.toFixed(2) is "8.00"
+FAIL rects[6].top.toFixed(2) should be 1671.00. Was 1619.00.
+FAIL rects[6].width.toFixed(2) should be 359.93. Was 171.00.
+FAIL rects[6].height.toFixed(2) should be 18.00. Was 17.00.
+FAIL rects[7].left.toFixed(2) should be 8.00. Threw exception TypeError: undefined is not an object (evaluating 'rects[7].left')
+FAIL rects[7].top.toFixed(2) should be 1711.00. Threw exception TypeError: undefined is not an object (evaluating 'rects[7].top')
+FAIL rects[7].width.toFixed(2) should be 221.71. Threw exception TypeError: undefined is not an object (evaluating 'rects[7].width')
+FAIL rects[7].height.toFixed(2) should be 18.00. Threw exception TypeError: undefined is not an object (evaluating 'rects[7].height')
 Test 8
 PASS rects.length is 4
-FAIL rects[0].left should be 168. Was 169.
-FAIL rects[0].top should be 1678. Was 1664.
-FAIL rects[0].width should be 269. Was 268.
-FAIL rects[0].height should be 316. Was 315.
-FAIL rects[1].left should be 137. Was 138.
-FAIL rects[1].top should be 1704. Was 1690.
-FAIL rects[1].width should be 271. Was 270.
-FAIL rects[1].height should be 317. Was 316.
-PASS rects[2].left is 107
-FAIL rects[2].top should be 1729. Was 1715.
-PASS rects[2].width is 246
-FAIL rects[2].height should be 289. Was 288.
-FAIL rects[3].left should be 76. Was 77.
-FAIL rects[3].top should be 1755. Was 1741.
-FAIL rects[3].width should be 212. Was 211.
-FAIL rects[3].height should be 247. Was 246.
+FAIL rects[0].left.toFixed(2) should be 168.51. Was 169.28.
+FAIL rects[0].top.toFixed(2) should be 1758.44. Was 1664.44.
+FAIL rects[0].width.toFixed(2) should be 262.28. Was 267.57.
+FAIL rects[0].height.toFixed(2) should be 307.71. Was 314.28.
+FAIL rects[1].left.toFixed(2) should be 137.87. Was 138.64.
+FAIL rects[1].top.toFixed(2) should be 1784.15. Was 1690.15.
+FAIL rects[1].width.toFixed(2) should be 245.14. Was 268.85.
+FAIL rects[1].height.toFixed(2) should be 287.28. Was 315.81.
+FAIL rects[2].left.toFixed(2) should be 107.23. Was 107.99.
+FAIL rects[2].top.toFixed(2) should be 1809.86. Was 1715.86.
+FAIL rects[2].width.toFixed(2) should be 258.85. Was 244.43.
+FAIL rects[2].height.toFixed(2) should be 303.62. Was 286.70.
+FAIL rects[3].left.toFixed(2) should be 76.59. Was 77.35.
+FAIL rects[3].top.toFixed(2) should be 1835.57. Was 1741.57.
+FAIL rects[3].width.toFixed(2) should be 250.57. Was 209.72.
+FAIL rects[3].height.toFixed(2) should be 293.75. Was 245.34.
 Test 9
-FAIL rects.length should be 1. Was 0.
-FAIL rects[0].left should be 8. Threw exception TypeError: undefined is not an object (evaluating 'rects[0].left')
-FAIL rects[0].top should be 1903. Threw exception TypeError: undefined is not an object (evaluating 'rects[0].top')
-FAIL rects[0].width should be 0. Threw exception TypeError: undefined is not an object (evaluating 'rects[0].width')
-FAIL rects[0].height should be 18. Threw exception TypeError: undefined is not an object (evaluating 'rects[0].height')
+PASS rects.length is 0
 Test 9b
 PASS rects.length is 1
-PASS rects[0].left is 8
-FAIL rects[0].top should be 1903. Was 1887.
-PASS rects[0].width is 0
-FAIL rects[0].height should be 18. Was 17.
+PASS rects[0].left.toFixed(2) is "8.00"
+FAIL rects[0].top.toFixed(2) should be 1983.00. Was 1887.00.
+PASS rects[0].width.toFixed(2) is "0.00"
+FAIL rects[0].height.toFixed(2) should be 18.00. Was 17.00.
 Test 10
-PASS rects.length is 4
-PASS rects[0].left is 19
-FAIL rects[0].top should be 2088. Was 2070.
-FAIL rects[0].width should be 18. Was 17.
-PASS rects[0].height is 393
-PASS rects[1].left is 59
-FAIL rects[1].top should be 2088. Was 2070.
-FAIL rects[1].width should be 18. Was 17.
-PASS rects[1].height is 377
-PASS rects[2].left is 99
-FAIL rects[2].top should be 2088. Was 2070.
-FAIL rects[2].width should be 18. Was 17.
-PASS rects[2].height is 372
-PASS rects[3].left is 139
-FAIL rects[3].top should be 2088. Was 2070.
-FAIL rects[3].width should be 18. Was 17.
-PASS rects[3].height is 360
+FAIL rects.length should be 5. Was 4.
+PASS rects[0].left.toFixed(2) is "19.00"
+FAIL rects[0].top.toFixed(2) should be 2168.00. Was 2070.00.
+FAIL rects[0].width.toFixed(2) should be 18.00. Was 17.00.
+FAIL rects[0].height.toFixed(2) should be 375.00. Was 393.00.
+PASS rects[1].left.toFixed(2) is "59.00"
+FAIL rects[1].top.toFixed(2) should be 2168.00. Was 2070.00.
+FAIL rects[1].width.toFixed(2) should be 18.00. Was 17.00.
+FAIL rects[1].height.toFixed(2) should be 367.03. Was 377.00.
+PASS rects[2].left.toFixed(2) is "99.00"
+FAIL rects[2].top.toFixed(2) should be 2168.00. Was 2070.00.
+FAIL rects[2].width.toFixed(2) should be 18.00. Was 17.00.
+FAIL rects[2].height.toFixed(2) should be 348.38. Was 372.00.
+PASS rects[3].left.toFixed(2) is "139.00"
+FAIL rects[3].top.toFixed(2) should be 2168.00. Was 2070.00.
+FAIL rects[3].width.toFixed(2) should be 18.00. Was 17.00.
+FAIL rects[3].height.toFixed(2) should be 375.90. Was 360.00.
+FAIL rects[4].left.toFixed(2) should be 179.00. Threw exception TypeError: undefined is not an object (evaluating 'rects[4].left')
+FAIL rects[4].top.toFixed(2) should be 2168.00. Threw exception TypeError: undefined is not an object (evaluating 'rects[4].top')
+FAIL rects[4].width.toFixed(2) should be 18.00. Threw exception TypeError: undefined is not an object (evaluating 'rects[4].width')
+FAIL rects[4].height.toFixed(2) should be 67.98. Threw exception TypeError: undefined is not an object (evaluating 'rects[4].height')
 Test 11
 PASS rects.length is 2
-PASS rects[0].left is 8
-FAIL rects[0].top should be 2524. Was 2504.
-PASS rects[0].width is 400
-PASS rects[0].height is 40
-PASS rects[1].left is 8
-FAIL rects[1].top should be 2535. Was 2515.
-PASS rects[1].width is 177
-FAIL rects[1].height should be 18. Was 17.
+PASS rects[0].left.toFixed(2) is "8.00"
+FAIL rects[0].top.toFixed(2) should be 2604.00. Was 2504.00.
+PASS rects[0].width.toFixed(2) is "400.00"
+PASS rects[0].height.toFixed(2) is "40.00"
+PASS rects[1].left.toFixed(2) is "8.00"
+FAIL rects[1].top.toFixed(2) should be 2615.00. Was 2515.00.
+FAIL rects[1].width.toFixed(2) should be 181.75. Was 177.00.
+FAIL rects[1].height.toFixed(2) should be 18.00. Was 17.00.
 Test 12
 PASS rects.length is 1
-PASS rects[0].left is 8
-FAIL rects[0].top should be 2760. Was 2738.
-PASS rects[0].width is 400
-PASS rects[0].height is 160
+PASS rects[0].left.toFixed(2) is "8.00"
+FAIL rects[0].top.toFixed(2) should be 2840.00. Was 2738.00.
+PASS rects[0].width.toFixed(2) is "400.00"
+PASS rects[0].height.toFixed(2) is "160.00"
 Test 13
 PASS rects.length is 4
-PASS rects[0].left is 8
-FAIL rects[0].top should be 2967. Was 2943.
-PASS rects[0].width is 396
-FAIL rects[0].height should be 18. Was 17.
-PASS rects[1].left is 8
-FAIL rects[1].top should be 3007. Was 2983.
-PASS rects[1].width is 398
-FAIL rects[1].height should be 18. Was 17.
-PASS rects[2].left is 8
-FAIL rects[2].top should be 3047. Was 3023.
-PASS rects[2].width is 360
-FAIL rects[2].height should be 18. Was 17.
-PASS rects[3].left is 8
-FAIL rects[3].top should be 3087. Was 3063.
-PASS rects[3].width is 306
-FAIL rects[3].height should be 18. Was 17.
+PASS rects[0].left.toFixed(2) is "8.00"
+FAIL rects[0].top.toFixed(2) should be 3047.00. Was 2943.00.
+FAIL rects[0].width.toFixed(2) should be 386.58. Was 396.00.
+FAIL rects[0].height.toFixed(2) should be 18.00. Was 17.00.
+PASS rects[1].left.toFixed(2) is "8.00"
+FAIL rects[1].top.toFixed(2) should be 3087.00. Was 2983.00.
+FAIL rects[1].width.toFixed(2) should be 359.91. Was 398.00.
+FAIL rects[1].height.toFixed(2) should be 18.00. Was 17.00.
+PASS rects[2].left.toFixed(2) is "8.00"
+FAIL rects[2].top.toFixed(2) should be 3127.00. Was 3023.00.
+FAIL rects[2].width.toFixed(2) should be 381.25. Was 360.00.
+FAIL rects[2].height.toFixed(2) should be 18.00. Was 17.00.
+PASS rects[3].left.toFixed(2) is "8.00"
+FAIL rects[3].top.toFixed(2) should be 3167.00. Was 3063.00.
+FAIL rects[3].width.toFixed(2) should be 368.36. Was 306.00.
+FAIL rects[3].height.toFixed(2) should be 18.00. Was 17.00.
 Test 14
 PASS rects.length is 0
 PASS successfullyParsed is true
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to