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

Unified Diff: third_party/WebKit/LayoutTests/editing/selection/5497643.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/editing/selection/5497643.html
diff --git a/third_party/WebKit/LayoutTests/editing/selection/5497643.html b/third_party/WebKit/LayoutTests/editing/selection/5497643.html
index f39d814b021869cd15007d2e57eef9fc2e24318b..a2b3d01cc3ca8c01b9b5d25ae74f958c4db8ee4b 100644
--- a/third_party/WebKit/LayoutTests/editing/selection/5497643.html
+++ b/third_party/WebKit/LayoutTests/editing/selection/5497643.html
@@ -7,6 +7,7 @@
<script>
textarea = document.getElementById("textarea");
textarea.setSelectionRange(0, 0);
+textarea.focus();
textarea.parentNode.removeChild(textarea);
test(function() {
assert_equals(window.getSelection().type, 'Caret');

Powered by Google App Engine
This is Rietveld 408576698