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

Unified Diff: LayoutTests/editing/selection/script-tests/click-outside-editable-div.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/editing/selection/script-tests/click-outside-editable-div.js
diff --git a/LayoutTests/editing/selection/script-tests/click-outside-editable-div.js b/LayoutTests/editing/selection/script-tests/click-outside-editable-div.js
index f68423921700a1eaef382d1b3b234a53eadeea15..4cfbd79f8bcb3b3f7043c1fed8b3f3f9830ab18e 100644
--- a/LayoutTests/editing/selection/script-tests/click-outside-editable-div.js
+++ b/LayoutTests/editing/selection/script-tests/click-outside-editable-div.js
@@ -10,9 +10,6 @@ innerDiv.contentEditable = true;
outerDiv.appendChild(innerDiv);
document.body.insertBefore(outerDiv, document.body.firstChild);
-// Mouse events only work after an initial layout
-document.body.offsetLeft;
-
var lastClickCausedFocus = false;
document.documentElement.addEventListener("mouseup", function(e) {
var lastClick = e || window.event;

Powered by Google App Engine
This is Rietveld 408576698