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

Unified Diff: LayoutTests/fast/events/script-tests/page-scaled-mouse-click.js

Issue 15508003: Revert "Don't force layout for mouse event hit tests" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/script-tests/page-scaled-mouse-click.js
diff --git a/LayoutTests/fast/events/script-tests/page-scaled-mouse-click.js b/LayoutTests/fast/events/script-tests/page-scaled-mouse-click.js
index 06a7964318966d84ce8931a370ada93f60d48e4f..0d80b73b8e45694921874ad632d507e719c1125c 100644
--- a/LayoutTests/fast/events/script-tests/page-scaled-mouse-click.js
+++ b/LayoutTests/fast/events/script-tests/page-scaled-mouse-click.js
@@ -44,9 +44,6 @@ function testEvents(button, description, expectedString) {
}
if (window.eventSender && window.internals) {
- // Mouse events only work after an initial layout
- document.body.offsetLeft;
-
eventSender.mouseMoveTo(10, 10);
// We are clicking in the same position on screen. As we scale or transform the page,
// we expect the pageX and pageY event coordinates to change because different

Powered by Google App Engine
This is Rietveld 408576698