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

Unified Diff: LayoutTests/editing/selection/focus-and-display-none-and-redisplay.html

Issue 424973003: Don't clear selection on focus change except for text form control element (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2014-07-29T16:38:05 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/focus-and-display-none-and-redisplay.html
diff --git a/LayoutTests/editing/selection/focus-and-display-none-and-redisplay.html b/LayoutTests/editing/selection/focus-and-display-none-and-redisplay.html
index e895a7d7eef255c0ed48983a2b237079140baba3..fbd7155f85f1e616b2af619278b4833941453a6f 100644
--- a/LayoutTests/editing/selection/focus-and-display-none-and-redisplay.html
+++ b/LayoutTests/editing/selection/focus-and-display-none-and-redisplay.html
@@ -10,7 +10,7 @@ textarea.addEventListener('blur', function() {
textarea.style.display = 'inline-block';
shouldNotBe('document.activeElement', 'textarea');
document.execCommand('inserttext', false, 'add');
- shouldBeEqualToString('textarea.value', 'original');
+ shouldBeEqualToString('textarea.value', 'addoriginal');
finishJSTest();
}, false);
textarea.focus();

Powered by Google App Engine
This is Rietveld 408576698