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

Unified Diff: LayoutTests/fast/events/script-tests/mouse-click-events.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/mouse-click-events.js
diff --git a/LayoutTests/fast/events/script-tests/mouse-click-events.js b/LayoutTests/fast/events/script-tests/mouse-click-events.js
index bf865016176a1f396816cc272343fd7650c39f9c..13b6e62d914ed74b09815a5d8adc8ce7e647f414 100644
--- a/LayoutTests/fast/events/script-tests/mouse-click-events.js
+++ b/LayoutTests/fast/events/script-tests/mouse-click-events.js
@@ -25,11 +25,8 @@ div.addEventListener("mousedown", appendEventLog, false);
div.addEventListener("mouseup", appendEventLog, false);
document.body.insertBefore(div, document.body.firstChild);
-if (window.eventSender) {
- // Mouse events only work after an initial layout
- document.body.offsetLeft;
+if (window.eventSender)
eventSender.mouseMoveTo(10, 10);
-}
function sendEvents(button) {
if (!window.eventSender) {
« no previous file with comments | « LayoutTests/fast/events/related-target.html ('k') | LayoutTests/fast/events/script-tests/page-scaled-mouse-click.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698