Index: Source/core/html/forms/InputType.cpp |
diff --git a/Source/core/html/forms/InputType.cpp b/Source/core/html/forms/InputType.cpp |
index 413fef2ac74d238f50dba207b06a288dbc028d50..97074f338e8870c7628709246c33f7514bc549b1 100644 |
--- a/Source/core/html/forms/InputType.cpp |
+++ b/Source/core/html/forms/InputType.cpp |
@@ -783,6 +783,11 @@ unsigned InputType::width() const |
return 0; |
} |
+TextDirection InputType::computedTextDirection() |
+{ |
+ return element().computedStyle()->direction(); |
+} |
+ |
void InputType::applyStep(const Decimal& current, int count, AnyStepHandling anyStepHandling, TextFieldEventBehavior eventBehavior, ExceptionState& exceptionState) |
{ |
StepRange stepRange(createStepRange(anyStepHandling)); |