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

Unified Diff: third_party/WebKit/LayoutTests/transforms/transformed-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/transforms/transformed-caret.html
diff --git a/third_party/WebKit/LayoutTests/transforms/transformed-caret.html b/third_party/WebKit/LayoutTests/transforms/transformed-caret.html
index 34c51a4aa75243f4aff33b2f7bd559e4fa016236..ed1827aee6620f7c5f910d7e35c754c69d3a983b 100644
--- a/third_party/WebKit/LayoutTests/transforms/transformed-caret.html
+++ b/third_party/WebKit/LayoutTests/transforms/transformed-caret.html
@@ -19,7 +19,7 @@
function focusBox()
{
var box = document.getElementById('box');
- // box.focus();
+ box.focus();
window.getSelection().collapse(box, box.childNodes.length);
}
</script>

Powered by Google App Engine
This is Rietveld 408576698