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

Unified Diff: LayoutTests/fast/dom/Window/window-xy-properties.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/dom/Window/window-xy-properties.html
diff --git a/LayoutTests/fast/dom/Window/window-xy-properties.html b/LayoutTests/fast/dom/Window/window-xy-properties.html
index 8d441b7576d77580e2a8bb9e4902a7c65177bfde..3f18deaf2e3d1ea5330fbd710e2bcf76ea0d54ff 100644
--- a/LayoutTests/fast/dom/Window/window-xy-properties.html
+++ b/LayoutTests/fast/dom/Window/window-xy-properties.html
@@ -55,6 +55,8 @@ function mouseev(event) {
function test() {
if (window.testRunner) {
testRunner.dumpAsText();
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
// test a normal mouse to
eventSender.mouseMoveTo(50, 50);
eventSender.mouseDown();

Powered by Google App Engine
This is Rietveld 408576698