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

Unified Diff: LayoutTests/fast/forms/select-empty-list.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/select-empty-list.html
diff --git a/LayoutTests/fast/forms/select-empty-list.html b/LayoutTests/fast/forms/select-empty-list.html
index 95f98a2facd23377686edf638c2c2c541e7bf931..145582f8488fbacf6d81878968499c3ba043f4e4 100644
--- a/LayoutTests/fast/forms/select-empty-list.html
+++ b/LayoutTests/fast/forms/select-empty-list.html
@@ -5,6 +5,8 @@ function test()
if (window.testRunner)
testRunner.dumpAsText();
if (window.eventSender) {
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
eventSender.mouseMoveTo(20, 70);
eventSender.mouseDown();
eventSender.mouseUp();
« no previous file with comments | « LayoutTests/fast/forms/password-doubleclick-selection.html ('k') | LayoutTests/fast/frames/frame-deep-nested-resize.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698