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

Unified Diff: LayoutTests/touchadjustment/context-menu.html

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/touchadjustment/context-menu.html
diff --git a/LayoutTests/touchadjustment/context-menu.html b/LayoutTests/touchadjustment/context-menu.html
index f461b58ebfb0960ea080db1f525434a30f480bae..4e65cc296cd270eb9459a325e9b449340df997d6 100644
--- a/LayoutTests/touchadjustment/context-menu.html
+++ b/LayoutTests/touchadjustment/context-menu.html
@@ -77,8 +77,6 @@
{
if (window.testRunner && window.internals && internals.touchNodeAdjustedToBestContextMenuNode) {
description('Test touch adjustment for context-menu gestures.');
- // Mouse events only work after an initial layout
- document.body.offsetLeft;
// Set editing-behaviour to win, so context-menu gesture does not trigger selections.
internals.settings.setEditingBehavior('win');
testDirectTouches();
« no previous file with comments | « LayoutTests/touchadjustment/block-testing.html ('k') | LayoutTests/touchadjustment/context-menu-select-text.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698