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

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

Issue 2285613002: Fix selectionDirection attribute value of INPUT/TEXTAREA just after creation (Closed)
Patch Set: 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 4df2fd817f3d2d716dcc7eb0f50253009d203572..8e9dd47fb9f3b610f5f079f0aeb02236d1416593 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/selection-direction.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/selection-direction.html
@@ -39,6 +39,9 @@ function runTest(element, platform) {
var noneOnMacAndForwardOnOthers = (platform == 'Mac') ? 'none' : 'forward';
+ var newElement = document.createElement(element.tagName);
+ assertDirection(noneOnMacAndForwardOnOthers, newElement, 'just creating');
+
element.setSelectionRange(1, 2);
assertDirection(noneOnMacAndForwardOnOthers, element, 'focusing and setting selection by setSelectionRange(1, 2)');
testCache(noneOnMacAndForwardOnOthers, element);
« 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