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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/textarea/paste-into-textarea.html

Issue 2270663002: Selection API of INPUT/TEXTAREA should not update FrameSelection without focusing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adjust more tests Created 4 years, 4 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: third_party/WebKit/LayoutTests/fast/forms/textarea/paste-into-textarea.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/textarea/paste-into-textarea.html b/third_party/WebKit/LayoutTests/fast/forms/textarea/paste-into-textarea.html
index a0055ded0b7c2e872c6bea19bd96110281724d45..ebdcf808c9213dd2e3c1012b043a5b2257868c59 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/textarea/paste-into-textarea.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/textarea/paste-into-textarea.html
@@ -5,6 +5,7 @@ if (window.testRunner)
testRunner.dumpAsText();
var e = document.getElementById("test");
e.setSelectionRange(1, 1);
+e.focus();
document.execCommand("InsertHTML", false, "(There should be one 'x' before and after this sentence.)");
if (e.value == "x(There should be one 'x' before and after this sentence.)x")
document.write("<p>Hooray, test succeeded.</p>");

Powered by Google App Engine
This is Rietveld 408576698