Title: [216025] trunk/LayoutTests
Revision
216025
Author
ryanhad...@apple.com
Date
2017-05-01 14:13:44 -0700 (Mon, 01 May 2017)

Log Message

Rebaselined fast/visual-viewport/ tests.
https://bugs.webkit.org/show_bug.cgi?id=171500

Unreviewed test gardening.

Patch by Matt Lewis <jlew...@apple.com> on 2017-05-01

* platform/ios-wk2/fast/visual-viewport/nonzoomed-rects-expected.txt:
* platform/ios-wk2/fast/visual-viewport/rtl-nonzoomed-rects-expected.txt:
* platform/ios-wk2/fast/visual-viewport/rtl-zoomed-rects-expected.txt:
* platform/ios-wk2/fast/visual-viewport/rubberbanding-viewport-rects-expected.txt:
* platform/ios-wk2/fast/visual-viewport/rubberbanding-viewport-rects-extended-background-expected.txt:
* platform/ios-wk2/fast/visual-viewport/rubberbanding-viewport-rects-header-footer-expected.txt:
* platform/ios-wk2/fast/visual-viewport/zoomed-fixed-expected.txt: Added.
* platform/ios-wk2/fast/visual-viewport/zoomed-fixed-header-and-footer-expected.txt: Added.
* platform/ios-wk2/fast/visual-viewport/zoomed-rects-expected.txt:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (216024 => 216025)


--- trunk/LayoutTests/ChangeLog	2017-05-01 21:06:39 UTC (rev 216024)
+++ trunk/LayoutTests/ChangeLog	2017-05-01 21:13:44 UTC (rev 216025)
@@ -1,3 +1,20 @@
+2017-05-01  Matt Lewis  <jlew...@apple.com>
+
+        Rebaselined fast/visual-viewport/ tests.
+        https://bugs.webkit.org/show_bug.cgi?id=171500
+
+        Unreviewed test gardening.
+
+        * platform/ios-wk2/fast/visual-viewport/nonzoomed-rects-expected.txt:
+        * platform/ios-wk2/fast/visual-viewport/rtl-nonzoomed-rects-expected.txt:
+        * platform/ios-wk2/fast/visual-viewport/rtl-zoomed-rects-expected.txt:
+        * platform/ios-wk2/fast/visual-viewport/rubberbanding-viewport-rects-expected.txt:
+        * platform/ios-wk2/fast/visual-viewport/rubberbanding-viewport-rects-extended-background-expected.txt:
+        * platform/ios-wk2/fast/visual-viewport/rubberbanding-viewport-rects-header-footer-expected.txt:
+        * platform/ios-wk2/fast/visual-viewport/zoomed-fixed-expected.txt: Added.
+        * platform/ios-wk2/fast/visual-viewport/zoomed-fixed-header-and-footer-expected.txt: Added.
+        * platform/ios-wk2/fast/visual-viewport/zoomed-rects-expected.txt:
+
 2017-05-01  Chris Dumez  <cdu...@apple.com>
 
         Do not dispatch SVG load event in frameless documents

Modified: trunk/LayoutTests/platform/ios-wk2/fast/visual-viewport/nonzoomed-rects-expected.txt (216024 => 216025)


--- trunk/LayoutTests/platform/ios-wk2/fast/visual-viewport/nonzoomed-rects-expected.txt	2017-05-01 21:06:39 UTC (rev 216024)
+++ trunk/LayoutTests/platform/ios-wk2/fast/visual-viewport/nonzoomed-rects-expected.txt	2017-05-01 21:13:44 UTC (rev 216025)
@@ -3,20 +3,20 @@
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-JSON.stringify(internals.layoutViewportRect()) is {"top":0,"right":800,"bottom":600,"left":0,"width":800,"height":600}
-JSON.stringify(internals.visualViewportRect()) is {"top":0,"right":800,"bottom":600,"left":0,"width":800,"height":600}
+JSON.stringify(internals.layoutViewportRect()) is {"x":0,"y":0,"width":800,"height":600,"top":0,"right":800,"bottom":600,"left":0}
+JSON.stringify(internals.visualViewportRect()) is {"x":0,"y":0,"width":800,"height":600,"top":0,"right":800,"bottom":600,"left":0}
 
 Scrolled to 475, 525
-JSON.stringify(internals.layoutViewportRect()) is {"top":525,"right":1275,"bottom":1125,"left":475,"width":800,"height":600}
-JSON.stringify(internals.visualViewportRect()) is {"top":525,"right":1275,"bottom":1125,"left":475,"width":800,"height":600}
+JSON.stringify(internals.layoutViewportRect()) is {"x":475,"y":525,"width":800,"height":600,"top":525,"right":1275,"bottom":1125,"left":475}
+JSON.stringify(internals.visualViewportRect()) is {"x":475,"y":525,"width":800,"height":600,"top":525,"right":1275,"bottom":1125,"left":475}
 
 Scrolled to 100, 776
-JSON.stringify(internals.layoutViewportRect()) is {"top":776,"right":900,"bottom":1376,"left":100,"width":800,"height":600}
-JSON.stringify(internals.visualViewportRect()) is {"top":776,"right":900,"bottom":1376,"left":100,"width":800,"height":600}
+JSON.stringify(internals.layoutViewportRect()) is {"x":100,"y":776,"width":800,"height":600,"top":776,"right":900,"bottom":1376,"left":100}
+JSON.stringify(internals.visualViewportRect()) is {"x":100,"y":776,"width":800,"height":600,"top":776,"right":900,"bottom":1376,"left":100}
 
 Scrolled to 50, 300
-JSON.stringify(internals.layoutViewportRect()) is {"top":300,"right":850,"bottom":900,"left":50,"width":800,"height":600}
-JSON.stringify(internals.visualViewportRect()) is {"top":300,"right":850,"bottom":900,"left":50,"width":800,"height":600}
+JSON.stringify(internals.layoutViewportRect()) is {"x":50,"y":300,"width":800,"height":600,"top":300,"right":850,"bottom":900,"left":50}
+JSON.stringify(internals.visualViewportRect()) is {"x":50,"y":300,"width":800,"height":600,"top":300,"right":850,"bottom":900,"left":50}
 PASS successfullyParsed is true
 
 TEST COMPLETE

Modified: trunk/LayoutTests/platform/ios-wk2/fast/visual-viewport/rtl-nonzoomed-rects-expected.txt (216024 => 216025)


--- trunk/LayoutTests/platform/ios-wk2/fast/visual-viewport/rtl-nonzoomed-rects-expected.txt	2017-05-01 21:06:39 UTC (rev 216024)
+++ trunk/LayoutTests/platform/ios-wk2/fast/visual-viewport/rtl-nonzoomed-rects-expected.txt	2017-05-01 21:13:44 UTC (rev 216025)
@@ -3,20 +3,20 @@
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-JSON.stringify(internals.layoutViewportRect()) is {"top":0,"right":800,"bottom":600,"left":0,"width":800,"height":600}
-JSON.stringify(internals.visualViewportRect()) is {"top":0,"right":800,"bottom":600,"left":0,"width":800,"height":600}
+JSON.stringify(internals.layoutViewportRect()) is {"x":0,"y":0,"width":800,"height":600,"top":0,"right":800,"bottom":600,"left":0}
+JSON.stringify(internals.visualViewportRect()) is {"x":0,"y":0,"width":800,"height":600,"top":0,"right":800,"bottom":600,"left":0}
 
 Scrolled to -475, 525
-JSON.stringify(internals.layoutViewportRect()) is {"top":525,"right":325,"bottom":1125,"left":-475,"width":800,"height":600}
-JSON.stringify(internals.visualViewportRect()) is {"top":525,"right":325,"bottom":1125,"left":-475,"width":800,"height":600}
+JSON.stringify(internals.layoutViewportRect()) is {"x":-475,"y":525,"width":800,"height":600,"top":525,"right":325,"bottom":1125,"left":-475}
+JSON.stringify(internals.visualViewportRect()) is {"x":-475,"y":525,"width":800,"height":600,"top":525,"right":325,"bottom":1125,"left":-475}
 
 Scrolled to -100, 776
-JSON.stringify(internals.layoutViewportRect()) is {"top":776,"right":700,"bottom":1376,"left":-100,"width":800,"height":600}
-JSON.stringify(internals.visualViewportRect()) is {"top":776,"right":700,"bottom":1376,"left":-100,"width":800,"height":600}
+JSON.stringify(internals.layoutViewportRect()) is {"x":-100,"y":776,"width":800,"height":600,"top":776,"right":700,"bottom":1376,"left":-100}
+JSON.stringify(internals.visualViewportRect()) is {"x":-100,"y":776,"width":800,"height":600,"top":776,"right":700,"bottom":1376,"left":-100}
 
 Scrolled to -50, 300
-JSON.stringify(internals.layoutViewportRect()) is {"top":300,"right":750,"bottom":900,"left":-50,"width":800,"height":600}
-JSON.stringify(internals.visualViewportRect()) is {"top":300,"right":750,"bottom":900,"left":-50,"width":800,"height":600}
+JSON.stringify(internals.layoutViewportRect()) is {"x":-50,"y":300,"width":800,"height":600,"top":300,"right":750,"bottom":900,"left":-50}
+JSON.stringify(internals.visualViewportRect()) is {"x":-50,"y":300,"width":800,"height":600,"top":300,"right":750,"bottom":900,"left":-50}
 PASS successfullyParsed is true
 
 TEST COMPLETE

Modified: trunk/LayoutTests/platform/ios-wk2/fast/visual-viewport/rtl-zoomed-rects-expected.txt (216024 => 216025)


--- trunk/LayoutTests/platform/ios-wk2/fast/visual-viewport/rtl-zoomed-rects-expected.txt	2017-05-01 21:06:39 UTC (rev 216024)
+++ trunk/LayoutTests/platform/ios-wk2/fast/visual-viewport/rtl-zoomed-rects-expected.txt	2017-05-01 21:13:44 UTC (rev 216025)
@@ -3,20 +3,20 @@
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-JSON.stringify(internals.layoutViewportRect()) is {"top":0,"right":800,"bottom":600,"left":0,"width":800,"height":600}
-JSON.stringify(internals.visualViewportRect()) is {"top":0,"right":400,"bottom":300,"left":0,"width":400,"height":300}
+JSON.stringify(internals.layoutViewportRect()) is {"x":0,"y":0,"width":800,"height":600,"top":0,"right":800,"bottom":600,"left":0}
+JSON.stringify(internals.visualViewportRect()) is {"x":0,"y":0,"width":400,"height":300,"top":0,"right":400,"bottom":300,"left":0}
 
 Scrolled to -475, 525
-JSON.stringify(internals.layoutViewportRect()) is {"top":0,"right":800,"bottom":600,"left":0,"width":800,"height":600}
-JSON.stringify(internals.visualViewportRect()) is {"top":525,"right":-75,"bottom":825,"left":-475,"width":400,"height":300}
+JSON.stringify(internals.layoutViewportRect()) is {"x":0,"y":0,"width":800,"height":600,"top":0,"right":800,"bottom":600,"left":0}
+JSON.stringify(internals.visualViewportRect()) is {"x":-475,"y":525,"width":400,"height":300,"top":525,"right":-75,"bottom":825,"left":-475}
 
 Scrolled to -100, 776
-JSON.stringify(internals.layoutViewportRect()) is {"top":0,"right":800,"bottom":600,"left":0,"width":800,"height":600}
-JSON.stringify(internals.visualViewportRect()) is {"top":776,"right":300,"bottom":1076,"left":-100,"width":400,"height":300}
+JSON.stringify(internals.layoutViewportRect()) is {"x":0,"y":0,"width":800,"height":600,"top":0,"right":800,"bottom":600,"left":0}
+JSON.stringify(internals.visualViewportRect()) is {"x":-100,"y":776,"width":400,"height":300,"top":776,"right":300,"bottom":1076,"left":-100}
 
 Scrolled to -50, 300
-JSON.stringify(internals.layoutViewportRect()) is {"top":0,"right":800,"bottom":600,"left":0,"width":800,"height":600}
-JSON.stringify(internals.visualViewportRect()) is {"top":300,"right":350,"bottom":600,"left":-50,"width":400,"height":300}
+JSON.stringify(internals.layoutViewportRect()) is {"x":0,"y":0,"width":800,"height":600,"top":0,"right":800,"bottom":600,"left":0}
+JSON.stringify(internals.visualViewportRect()) is {"x":-50,"y":300,"width":400,"height":300,"top":300,"right":350,"bottom":600,"left":-50}
 PASS successfullyParsed is true
 
 TEST COMPLETE

Modified: trunk/LayoutTests/platform/ios-wk2/fast/visual-viewport/rubberbanding-viewport-rects-expected.txt (216024 => 216025)


--- trunk/LayoutTests/platform/ios-wk2/fast/visual-viewport/rubberbanding-viewport-rects-expected.txt	2017-05-01 21:06:39 UTC (rev 216024)
+++ trunk/LayoutTests/platform/ios-wk2/fast/visual-viewport/rubberbanding-viewport-rects-expected.txt	2017-05-01 21:13:44 UTC (rev 216025)
@@ -4,16 +4,16 @@
 
 
 Scrolled to -123, -234
-JSON.stringify(layoutViewport) is {"top":0,"right":800,"bottom":600,"left":0,"width":800,"height":600}
-JSON.stringify(visualViewport) is {"top":-234,"right":677,"bottom":366,"left":-123,"width":800,"height":600}
+JSON.stringify(layoutViewport) is {"x":0,"y":0,"width":800,"height":600,"top":0,"right":800,"bottom":600,"left":0}
+JSON.stringify(visualViewport) is {"x":-123,"y":-234,"width":800,"height":600,"top":-234,"right":677,"bottom":366,"left":-123}
 
 Scrolled to 475, 525
-JSON.stringify(layoutViewport) is {"top":525,"right":1275,"bottom":1125,"left":475,"width":800,"height":600}
-JSON.stringify(visualViewport) is {"top":525,"right":1275,"bottom":1125,"left":475,"width":800,"height":600}
+JSON.stringify(layoutViewport) is {"x":475,"y":525,"width":800,"height":600,"top":525,"right":1275,"bottom":1125,"left":475}
+JSON.stringify(visualViewport) is {"x":475,"y":525,"width":800,"height":600,"top":525,"right":1275,"bottom":1125,"left":475}
 
 Scrolled to 1800, 1850
-JSON.stringify(layoutViewport) is {"top":1658,"right":2008,"bottom":2258,"left":1208,"width":800,"height":600}
-JSON.stringify(visualViewport) is {"top":1850,"right":2600,"bottom":2450,"left":1800,"width":800,"height":600}
+JSON.stringify(layoutViewport) is {"x":1208,"y":1672,"width":800,"height":600,"top":1672,"right":2008,"bottom":2272,"left":1208}
+JSON.stringify(visualViewport) is {"x":1800,"y":1850,"width":800,"height":600,"top":1850,"right":2600,"bottom":2450,"left":1800}
 PASS successfullyParsed is true
 
 TEST COMPLETE

Modified: trunk/LayoutTests/platform/ios-wk2/fast/visual-viewport/rubberbanding-viewport-rects-extended-background-expected.txt (216024 => 216025)


--- trunk/LayoutTests/platform/ios-wk2/fast/visual-viewport/rubberbanding-viewport-rects-extended-background-expected.txt	2017-05-01 21:06:39 UTC (rev 216024)
+++ trunk/LayoutTests/platform/ios-wk2/fast/visual-viewport/rubberbanding-viewport-rects-extended-background-expected.txt	2017-05-01 21:13:44 UTC (rev 216025)
@@ -4,16 +4,16 @@
 
 
 Scrolled to -123, -234
-JSON.stringify(layoutViewport) is {"top":-234,"right":677,"bottom":366,"left":-123,"width":800,"height":600}
-JSON.stringify(visualViewport) is {"top":-234,"right":677,"bottom":366,"left":-123,"width":800,"height":600}
+JSON.stringify(layoutViewport) is {"x":-123,"y":-234,"width":800,"height":600,"top":-234,"right":677,"bottom":366,"left":-123}
+JSON.stringify(visualViewport) is {"x":-123,"y":-234,"width":800,"height":600,"top":-234,"right":677,"bottom":366,"left":-123}
 
 Scrolled to 475, 525
-JSON.stringify(layoutViewport) is {"top":525,"right":1275,"bottom":1125,"left":475,"width":800,"height":600}
-JSON.stringify(visualViewport) is {"top":525,"right":1275,"bottom":1125,"left":475,"width":800,"height":600}
+JSON.stringify(layoutViewport) is {"x":475,"y":525,"width":800,"height":600,"top":525,"right":1275,"bottom":1125,"left":475}
+JSON.stringify(visualViewport) is {"x":475,"y":525,"width":800,"height":600,"top":525,"right":1275,"bottom":1125,"left":475}
 
 Scrolled to 1800, 1850
-JSON.stringify(layoutViewport) is {"top":1850,"right":2600,"bottom":2450,"left":1800,"width":800,"height":600}
-JSON.stringify(visualViewport) is {"top":1850,"right":2600,"bottom":2450,"left":1800,"width":800,"height":600}
+JSON.stringify(layoutViewport) is {"x":1800,"y":1850,"width":800,"height":600,"top":1850,"right":2600,"bottom":2450,"left":1800}
+JSON.stringify(visualViewport) is {"x":1800,"y":1850,"width":800,"height":600,"top":1850,"right":2600,"bottom":2450,"left":1800}
 PASS successfullyParsed is true
 
 TEST COMPLETE

Modified: trunk/LayoutTests/platform/ios-wk2/fast/visual-viewport/rubberbanding-viewport-rects-header-footer-expected.txt (216024 => 216025)


--- trunk/LayoutTests/platform/ios-wk2/fast/visual-viewport/rubberbanding-viewport-rects-header-footer-expected.txt	2017-05-01 21:06:39 UTC (rev 216024)
+++ trunk/LayoutTests/platform/ios-wk2/fast/visual-viewport/rubberbanding-viewport-rects-header-footer-expected.txt	2017-05-01 21:13:44 UTC (rev 216025)
@@ -4,16 +4,16 @@
 
 
 Scrolled to -123, -234
-JSON.stringify(layoutViewport) is {"top":0,"right":800,"bottom":600,"left":0,"width":800,"height":600}
-JSON.stringify(visualViewport) is {"top":-234,"right":677,"bottom":314,"left":-123,"width":800,"height":548}
+JSON.stringify(layoutViewport) is {"x":0,"y":0,"width":800,"height":600,"top":0,"right":800,"bottom":600,"left":0}
+JSON.stringify(visualViewport) is {"x":-123,"y":-234,"width":800,"height":548,"top":-234,"right":677,"bottom":314,"left":-123}
 
 Scrolled to 475, 525
-JSON.stringify(layoutViewport) is {"top":473,"right":1275,"bottom":1073,"left":475,"width":800,"height":600}
-JSON.stringify(visualViewport) is {"top":473,"right":1275,"bottom":1073,"left":475,"width":800,"height":600}
+JSON.stringify(layoutViewport) is {"x":475,"y":473,"width":800,"height":600,"top":473,"right":1275,"bottom":1073,"left":475}
+JSON.stringify(visualViewport) is {"x":475,"y":473,"width":800,"height":600,"top":473,"right":1275,"bottom":1073,"left":475}
 
 Scrolled to 1800, 1700
-JSON.stringify(layoutViewport) is {"top":1648,"right":2008,"bottom":2248,"left":1208,"width":800,"height":600}
-JSON.stringify(visualViewport) is {"top":1648,"right":2600,"bottom":2248,"left":1800,"width":800,"height":600}
+JSON.stringify(layoutViewport) is {"x":1208,"y":1648,"width":800,"height":600,"top":1648,"right":2008,"bottom":2248,"left":1208}
+JSON.stringify(visualViewport) is {"x":1800,"y":1648,"width":800,"height":600,"top":1648,"right":2600,"bottom":2248,"left":1800}
 PASS successfullyParsed is true
 
 TEST COMPLETE

Modified: trunk/LayoutTests/platform/ios-wk2/fast/visual-viewport/zoomed-rects-expected.txt (216024 => 216025)


--- trunk/LayoutTests/platform/ios-wk2/fast/visual-viewport/zoomed-rects-expected.txt	2017-05-01 21:06:39 UTC (rev 216024)
+++ trunk/LayoutTests/platform/ios-wk2/fast/visual-viewport/zoomed-rects-expected.txt	2017-05-01 21:13:44 UTC (rev 216025)
@@ -3,20 +3,20 @@
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-JSON.stringify(internals.layoutViewportRect()) is {"top":0,"right":800,"bottom":600,"left":0,"width":800,"height":600}
-JSON.stringify(internals.visualViewportRect()) is {"top":0,"right":400,"bottom":300,"left":0,"width":400,"height":300}
+JSON.stringify(internals.layoutViewportRect()) is {"x":0,"y":0,"width":800,"height":600,"top":0,"right":800,"bottom":600,"left":0}
+JSON.stringify(internals.visualViewportRect()) is {"x":0,"y":0,"width":400,"height":300,"top":0,"right":400,"bottom":300,"left":0}
 
 Scrolled to 475, 525
-JSON.stringify(internals.layoutViewportRect()) is {"top":0,"right":800,"bottom":600,"left":0,"width":800,"height":600}
-JSON.stringify(internals.visualViewportRect()) is {"top":525,"right":875,"bottom":825,"left":475,"width":400,"height":300}
+JSON.stringify(internals.layoutViewportRect()) is {"x":0,"y":0,"width":800,"height":600,"top":0,"right":800,"bottom":600,"left":0}
+JSON.stringify(internals.visualViewportRect()) is {"x":475,"y":525,"width":400,"height":300,"top":525,"right":875,"bottom":825,"left":475}
 
 Scrolled to 100, 776
-JSON.stringify(internals.layoutViewportRect()) is {"top":0,"right":800,"bottom":600,"left":0,"width":800,"height":600}
-JSON.stringify(internals.visualViewportRect()) is {"top":776,"right":500,"bottom":1076,"left":100,"width":400,"height":300}
+JSON.stringify(internals.layoutViewportRect()) is {"x":0,"y":0,"width":800,"height":600,"top":0,"right":800,"bottom":600,"left":0}
+JSON.stringify(internals.visualViewportRect()) is {"x":100,"y":776,"width":400,"height":300,"top":776,"right":500,"bottom":1076,"left":100}
 
 Scrolled to 50, 300
-JSON.stringify(internals.layoutViewportRect()) is {"top":0,"right":800,"bottom":600,"left":0,"width":800,"height":600}
-JSON.stringify(internals.visualViewportRect()) is {"top":300,"right":450,"bottom":600,"left":50,"width":400,"height":300}
+JSON.stringify(internals.layoutViewportRect()) is {"x":0,"y":0,"width":800,"height":600,"top":0,"right":800,"bottom":600,"left":0}
+JSON.stringify(internals.visualViewportRect()) is {"x":50,"y":300,"width":400,"height":300,"top":300,"right":450,"bottom":600,"left":50}
 PASS successfullyParsed is true
 
 TEST COMPLETE
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to