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

Unified Diff: LayoutTests/fast/forms/input-double-click-selection-gap-bug.html

Issue 222023002: focus() behaviour differs depending on how value is set (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebasing Created 6 years, 8 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/fast/forms/input-double-click-selection-gap-bug.html
diff --git a/LayoutTests/fast/forms/input-double-click-selection-gap-bug.html b/LayoutTests/fast/forms/input-double-click-selection-gap-bug.html
index 450fad208c699cb74d1b9e90734152438f7dbb65..7a1660da0954bb63431e84956228a96a0c9d7db0 100644
--- a/LayoutTests/fast/forms/input-double-click-selection-gap-bug.html
+++ b/LayoutTests/fast/forms/input-double-click-selection-gap-bug.html
@@ -26,7 +26,7 @@
</table>
</body>
<script type="text/javascript">
- document.getElementById('t').focus();
+ document.getElementById('t').select();
document.getElementById('cell').style.height = "200px";
</script>
</html>
« no previous file with comments | « LayoutTests/editing/pasteboard/paste-plaintext-user-select-none.html ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698