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

Unified Diff: LayoutTests/fast/forms/select/popup-menu-position.html

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/select/popup-menu-position.html
diff --git a/LayoutTests/fast/forms/select/popup-menu-position.html b/LayoutTests/fast/forms/select/popup-menu-position.html
index 9ac78a29401476521c71bf49a1271a1f422d180d..c591855aae80355370f4049b3f75ed258884f9f8 100644
--- a/LayoutTests/fast/forms/select/popup-menu-position.html
+++ b/LayoutTests/fast/forms/select/popup-menu-position.html
@@ -73,7 +73,7 @@ function test3() {
function test4() {
popupWindowRect = getPopupWindowRect();
- shouldBe('popupWindowRect.x', 'screenWidth - menuWidth');
+ shouldBe('popupWindowRect.x', 'screenWidth - 100');
shouldBe('popupWindowRect.y', 'menuHeight');
popupWindow.pagePopupController.closePopup();
@@ -89,7 +89,7 @@ function test4() {
function test5() {
popupWindowRect = getPopupWindowRect();
- shouldBe('popupWindowRect.x', '0');
+ shouldBe('popupWindowRect.x', '-100');
shouldBe('popupWindowRect.y', 'menuHeight');
popupWindow.pagePopupController.closePopup();
@@ -105,8 +105,7 @@ function test5() {
function test6() {
popupWindowRect = getPopupWindowRect();
- // Popup should appear right at the right edge of the screen.
- shouldBe('popupWindowRect.x', 'screenWidth - 250');
+ shouldBe('popupWindowRect.x', 'screenWidth - menuWidth - 10');
shouldBe('popupWindowRect.y', 'menuHeight');
popupWindow.pagePopupController.closePopup();

Powered by Google App Engine
This is Rietveld 408576698