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

Unified Diff: LayoutTests/fast/text/international/mixed-directionality-selection.html

Issue 392573002: HTMLTextAreaElement.setSelectionRange should not change focus. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix tests 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
« no previous file with comments | « LayoutTests/fast/spatial-navigation/snav-textarea.html ('k') | Source/core/html/HTMLTextAreaElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/text/international/mixed-directionality-selection.html
diff --git a/LayoutTests/fast/text/international/mixed-directionality-selection.html b/LayoutTests/fast/text/international/mixed-directionality-selection.html
index b9f81c7de080d2f1fdcdc0c1798ea8c2a149aa47..5349b278b2ea6bc560d7d67113444954d4b5fc3b 100644
--- a/LayoutTests/fast/text/international/mixed-directionality-selection.html
+++ b/LayoutTests/fast/text/international/mixed-directionality-selection.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html>
+<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
@@ -17,6 +17,7 @@
</p>
<script>
var el = document.getElementsByTagName('input')[0];
+ el.focus();
el.setSelectionRange(0, 1);
</script>
</body>
« no previous file with comments | « LayoutTests/fast/spatial-navigation/snav-textarea.html ('k') | Source/core/html/HTMLTextAreaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698