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

Unified Diff: LayoutTests/editing/selection/5497643.html

Issue 258063005: Blink does not respect input.selectionStart and input.selectionEnd for some cases (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressing changes asked in previous patch Created 6 years, 5 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/5497643.html
diff --git a/LayoutTests/editing/selection/5497643.html b/LayoutTests/editing/selection/5497643.html
index 90de6df1f7aeb341bb06c8877a977ed0f9a4c398..63d7b537514c93f342ed9796e36af85234a8ea60 100644
--- a/LayoutTests/editing/selection/5497643.html
+++ b/LayoutTests/editing/selection/5497643.html
@@ -4,7 +4,7 @@
if (window.testRunner)
window.testRunner.dumpAsText();
textarea = document.getElementById("textarea");
-textarea.setSelectionRange(0, 0);
+textarea.focus();
textarea.parentNode.removeChild(textarea);
if (window.getSelection().type == 'Caret' &&
window.getSelection().getRangeAt(0).startContainer == document.body &&
« no previous file with comments | « LayoutTests/editing/pasteboard/pasting-tabs.html ('k') | LayoutTests/fast/forms/input-placeholder-visibility-2-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698