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

Unified Diff: LayoutTests/fast/forms/option-mouseevents.html

Issue 14859016: Don't force layout for mouse event hit tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix review comment 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/option-mouseevents.html
diff --git a/LayoutTests/fast/forms/option-mouseevents.html b/LayoutTests/fast/forms/option-mouseevents.html
index 8f2fe2b695b15d1dffe6d4e8f3ac46169490be6c..1b69eedf6813c4c38ed8aec5e16164eb284fd2ce 100644
--- a/LayoutTests/fast/forms/option-mouseevents.html
+++ b/LayoutTests/fast/forms/option-mouseevents.html
@@ -49,6 +49,9 @@ function test() {
testRunner.waitUntilDone();
}
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
+
if (window.eventSender) {
eventSender.mouseMoveTo(22, 104);
eventSender.mouseDown();
« no previous file with comments | « LayoutTests/fast/forms/input-text-self-emptying-click.html ('k') | LayoutTests/fast/forms/password-doubleclick-selection.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698