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

Unified Diff: LayoutTests/fast/forms/password-doubleclick-selection.html

Issue 14859016: Don't force layout for mouse event hit tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update all tests Created 7 years, 7 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/password-doubleclick-selection.html
diff --git a/LayoutTests/fast/forms/password-doubleclick-selection.html b/LayoutTests/fast/forms/password-doubleclick-selection.html
index d4e8d4f3f1aa301c6fcee495272c7a110430a814..aa5021f06adfbd377cc4cb9b4c4acf4c79336ac6 100644
--- a/LayoutTests/fast/forms/password-doubleclick-selection.html
+++ b/LayoutTests/fast/forms/password-doubleclick-selection.html
@@ -7,6 +7,8 @@
if (window.testRunner) {
testRunner.dumpAsText();
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
eventSender.mouseMoveTo(45, 25);
eventSender.mouseDown();
eventSender.mouseUp();

Powered by Google App Engine
This is Rietveld 408576698