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

Unified Diff: LayoutTests/editing/pasteboard/input-with-visibility-hidden.html

Issue 222023002: focus() behaviour differs depending on how value is set (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebasing Created 6 years, 8 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/pasteboard/input-with-visibility-hidden.html
diff --git a/LayoutTests/editing/pasteboard/input-with-visibility-hidden.html b/LayoutTests/editing/pasteboard/input-with-visibility-hidden.html
index 6d9def2aa9e15c9aa6c4732f0c52b47871701ea7..2f7a7ea6106accb67c5ca2c0cb6afce9e5c5f350 100644
--- a/LayoutTests/editing/pasteboard/input-with-visibility-hidden.html
+++ b/LayoutTests/editing/pasteboard/input-with-visibility-hidden.html
@@ -11,7 +11,7 @@ if (window.testRunner)
testRunner.dumpAsText();
var input = document.querySelector('input');
-input.focus();
+input.select();
document.execCommand('InsertHTML', false, 'PASS');
document.write(input.value);

Powered by Google App Engine
This is Rietveld 408576698