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

Unified Diff: third_party/WebKit/LayoutTests/fast/text/international/rtl-caret.html

Issue 2709983005: Selection API: Do not change focus by Selection functions. (Closed)
Patch Set: . Created 3 years, 10 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/text/international/rtl-caret.html
diff --git a/third_party/WebKit/LayoutTests/fast/text/international/rtl-caret.html b/third_party/WebKit/LayoutTests/fast/text/international/rtl-caret.html
index f24411166d7641505a4f748d802a3fef5019948d..5862fd0a90641523c900ce5e3dc2c9a2b7b56a7d 100644
--- a/third_party/WebKit/LayoutTests/fast/text/international/rtl-caret.html
+++ b/third_party/WebKit/LayoutTests/fast/text/international/rtl-caret.html
@@ -16,6 +16,7 @@
</div>
<script type="text/javascript">
var text = document.getElementById('t').childNodes[0];
+ text.parentNode.focus();
window.getSelection().setBaseAndExtent(text, 5, text, 5);
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698