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); |