Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Unified Diff: LayoutTests/fast/forms/page-popup/page-popup-adjust-rect-expected.txt

Issue 1087743002: Support multiple displays for PagePopup (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixed IntRect inclusion Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/forms/page-popup/page-popup-adjust-rect-expected.txt
diff --git a/LayoutTests/fast/forms/page-popup/page-popup-adjust-rect-expected.txt b/LayoutTests/fast/forms/page-popup/page-popup-adjust-rect-expected.txt
index fa7ed556939db1e81c12c9fef8e266269cc761c4..87f546470c6adfcab1735529538f158937638c91 100644
--- a/LayoutTests/fast/forms/page-popup/page-popup-adjust-rect-expected.txt
+++ b/LayoutTests/fast/forms/page-popup/page-popup-adjust-rect-expected.txt
@@ -4,7 +4,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
Move anchor element along the vertical axis.
-PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(0,0,30,10)"
+PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(0,-10,30,10)"
PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(0,0,30,10)"
PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(0,10,30,10)"
PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(0,20,30,10)"
@@ -13,26 +13,26 @@ PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(0,40,
PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(0,50,30,10)"
PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(0,40,30,10)"
PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(0,50,30,10)"
-PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(0,50,30,10)"
-PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(0,50,30,10)"
+PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(0,60,30,10)"
+PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(0,70,30,10)"
Move anchor element along the horizontal axis.
-PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(0,10,30,10)"
-PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(0,10,30,10)"
-PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(0,10,30,10)"
-PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(0,10,30,10)"
+PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(-40,10,30,10)"
+PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(-30,10,30,10)"
+PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(-20,10,30,10)"
+PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(-10,10,30,10)"
PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(0,10,30,10)"
PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(10,10,30,10)"
PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(20,10,30,10)"
PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(30,10,30,10)"
PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(40,10,30,10)"
PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(50,10,30,10)"
-PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(50,10,30,10)"
-PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(50,10,30,10)"
-PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(50,10,30,10)"
-PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(50,10,30,10)"
-PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(50,10,30,10)"
+PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(60,10,30,10)"
+PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(70,10,30,10)"
+PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(80,10,30,10)"
+PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(90,10,30,10)"
+PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(100,10,30,10)"
Move anchor element along the vertical axis. Open popup that is too tall.
-PASS popupWindow.adjustWindowRect(30, 1000, 30, 10).toString() is "Rectangle(0,0,30,60)"
+PASS popupWindow.adjustWindowRect(30, 1000, 30, 10).toString() is "Rectangle(0,-10,30,60)"
PASS popupWindow.adjustWindowRect(30, 1000, 30, 10).toString() is "Rectangle(0,0,30,60)"
PASS popupWindow.adjustWindowRect(30, 1000, 30, 10).toString() is "Rectangle(0,10,30,50)"
PASS popupWindow.adjustWindowRect(30, 1000, 30, 10).toString() is "Rectangle(0,20,30,40)"
@@ -41,28 +41,28 @@ PASS popupWindow.adjustWindowRect(30, 1000, 30, 10).toString() is "Rectangle(0,0
PASS popupWindow.adjustWindowRect(30, 1000, 30, 10).toString() is "Rectangle(0,0,30,40)"
PASS popupWindow.adjustWindowRect(30, 1000, 30, 10).toString() is "Rectangle(0,0,30,50)"
PASS popupWindow.adjustWindowRect(30, 1000, 30, 10).toString() is "Rectangle(0,0,30,60)"
-PASS popupWindow.adjustWindowRect(30, 1000, 30, 10).toString() is "Rectangle(0,0,30,60)"
-PASS popupWindow.adjustWindowRect(30, 1000, 30, 10).toString() is "Rectangle(0,0,30,60)"
+PASS popupWindow.adjustWindowRect(30, 1000, 30, 10).toString() is "Rectangle(0,10,30,60)"
+PASS popupWindow.adjustWindowRect(30, 1000, 30, 10).toString() is "Rectangle(0,20,30,60)"
Move anchor element along the vertical axis. Open popup that is too tall and won't shrink.
+PASS popupWindow.adjustWindowRect(30, 1000, 30, 1000).toString() is "Rectangle(0,-10,30,1000)"
PASS popupWindow.adjustWindowRect(30, 1000, 30, 1000).toString() is "Rectangle(0,0,30,1000)"
-PASS popupWindow.adjustWindowRect(30, 1000, 30, 1000).toString() is "Rectangle(0,0,30,1000)"
-PASS popupWindow.adjustWindowRect(30, 1000, 30, 1000).toString() is "Rectangle(0,0,30,1000)"
-PASS popupWindow.adjustWindowRect(30, 1000, 30, 1000).toString() is "Rectangle(0,0,30,1000)"
-PASS popupWindow.adjustWindowRect(30, 1000, 30, 1000).toString() is "Rectangle(0,0,30,1000)"
-PASS popupWindow.adjustWindowRect(30, 1000, 30, 1000).toString() is "Rectangle(0,0,30,1000)"
-PASS popupWindow.adjustWindowRect(30, 1000, 30, 1000).toString() is "Rectangle(0,0,30,1000)"
-PASS popupWindow.adjustWindowRect(30, 1000, 30, 1000).toString() is "Rectangle(0,0,30,1000)"
-PASS popupWindow.adjustWindowRect(30, 1000, 30, 1000).toString() is "Rectangle(0,0,30,1000)"
-PASS popupWindow.adjustWindowRect(30, 1000, 30, 1000).toString() is "Rectangle(0,0,30,1000)"
-PASS popupWindow.adjustWindowRect(30, 1000, 30, 1000).toString() is "Rectangle(0,0,30,1000)"
+PASS popupWindow.adjustWindowRect(30, 1000, 30, 1000).toString() is "Rectangle(0,10,30,1000)"
+PASS popupWindow.adjustWindowRect(30, 1000, 30, 1000).toString() is "Rectangle(0,20,30,1000)"
+PASS popupWindow.adjustWindowRect(30, 1000, 30, 1000).toString() is "Rectangle(0,30,30,1000)"
+PASS popupWindow.adjustWindowRect(30, 1000, 30, 1000).toString() is "Rectangle(0,-970,30,1000)"
+PASS popupWindow.adjustWindowRect(30, 1000, 30, 1000).toString() is "Rectangle(0,-960,30,1000)"
+PASS popupWindow.adjustWindowRect(30, 1000, 30, 1000).toString() is "Rectangle(0,-950,30,1000)"
+PASS popupWindow.adjustWindowRect(30, 1000, 30, 1000).toString() is "Rectangle(0,-940,30,1000)"
+PASS popupWindow.adjustWindowRect(30, 1000, 30, 1000).toString() is "Rectangle(0,-930,30,1000)"
+PASS popupWindow.adjustWindowRect(30, 1000, 30, 1000).toString() is "Rectangle(0,-920,30,1000)"
Grow popup width.
PASS popupWindow.adjustWindowRect(30, 10, 30, 10).toString() is "Rectangle(30,10,30,10)"
PASS popupWindow.adjustWindowRect(40, 10, 40, 10).toString() is "Rectangle(30,10,40,10)"
PASS popupWindow.adjustWindowRect(50, 10, 50, 10).toString() is "Rectangle(30,10,50,10)"
-PASS popupWindow.adjustWindowRect(60, 10, 60, 10).toString() is "Rectangle(20,10,60,10)"
-PASS popupWindow.adjustWindowRect(70, 10, 70, 10).toString() is "Rectangle(10,10,70,10)"
-PASS popupWindow.adjustWindowRect(80, 10, 80, 10).toString() is "Rectangle(0,10,80,10)"
-PASS popupWindow.adjustWindowRect(90, 10, 90, 10).toString() is "Rectangle(0,10,90,10)"
+PASS popupWindow.adjustWindowRect(60, 10, 60, 10).toString() is "Rectangle(30,10,60,10)"
+PASS popupWindow.adjustWindowRect(70, 10, 70, 10).toString() is "Rectangle(30,10,70,10)"
+PASS popupWindow.adjustWindowRect(80, 10, 80, 10).toString() is "Rectangle(30,10,80,10)"
+PASS popupWindow.adjustWindowRect(90, 10, 90, 10).toString() is "Rectangle(30,10,90,10)"
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/fast/forms/page-popup/page-popup-adjust-rect.html ('k') | LayoutTests/fast/forms/select/popup-menu-position.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698