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

Unified Diff: LayoutTests/fast/forms/input-text-click-outside.html

Issue 14859016: Don't force layout for mouse event hit tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update all tests 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/forms/input-text-click-outside.html
diff --git a/LayoutTests/fast/forms/input-text-click-outside.html b/LayoutTests/fast/forms/input-text-click-outside.html
index 2ed44f7c6dd8f0a237ee581b3afd2abf1ed9f81d..613e68e5dae8bf24530ff0b25495dd2ab5ce62e0 100644
--- a/LayoutTests/fast/forms/input-text-click-outside.html
+++ b/LayoutTests/fast/forms/input-text-click-outside.html
@@ -2,6 +2,8 @@
<p>This test clicks outside an input element, and must not result in the element receiving focus. If the test succeeds the element should not have a focus ring.</p>
<script>
if (window.eventSender) {
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
eventSender.mouseMoveTo(200, 45);
eventSender.mouseDown();
eventSender.mouseUp();

Powered by Google App Engine
This is Rietveld 408576698