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

Unified Diff: LayoutTests/fast/events/mouseup-outside-document.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/events/mouseup-outside-document.html
diff --git a/LayoutTests/fast/events/mouseup-outside-document.html b/LayoutTests/fast/events/mouseup-outside-document.html
index 386a0ebb20d4a774a3e882fafd04e3fb38a1ef01..fd5890bb253411f45ade7454ce5d2826d9daf0bd 100644
--- a/LayoutTests/fast/events/mouseup-outside-document.html
+++ b/LayoutTests/fast/events/mouseup-outside-document.html
@@ -23,6 +23,8 @@ function main()
testRunner.dumpAsText();
if (window.eventSender) {
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
eventSender.mouseMoveTo(20, 20); // in window
eventSender.mouseDown();
eventSender.mouseMoveTo(4000, 215); // outside window

Powered by Google App Engine
This is Rietveld 408576698