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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/selection-direction.html

Issue 2277903003: Fix selectionDirection after setting value of TEXTAREA/INPUT. (Closed)
Patch Set: Revert DCHECK_LE Created 4 years, 4 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 | « no previous file | third_party/WebKit/LayoutTests/fast/forms/selection-direction-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/forms/selection-direction.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/selection-direction.html b/third_party/WebKit/LayoutTests/fast/forms/selection-direction.html
index 1fa18d95c396726f4599e477f9ee4e9d9871e981..4df2fd817f3d2d716dcc7eb0f50253009d203572 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/selection-direction.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/selection-direction.html
@@ -77,6 +77,9 @@ function runTest(element, platform) {
assertDirection('backward', element, 'extending selection backward by character');
testCache('backward', element);
+ element.blur();
+ element.value = element.value + 'foo';
+ assertDirection(noneOnMacAndForwardOnOthers, element, 'updating value');
}
function runTestFor(platform) {
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/forms/selection-direction-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698