| Index: Source/core/html/HTMLInputElement.cpp
|
| diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
|
| index 1cb6779a02a95296de74a5bc614f9b5e5b87e8d9..eac55fc56cef4d23d92e75f9c45a026bbe0161e7 100644
|
| --- a/Source/core/html/HTMLInputElement.cpp
|
| +++ b/Source/core/html/HTMLInputElement.cpp
|
| @@ -1828,7 +1828,7 @@ bool HTMLInputElement::setupDateTimeChooserParameters(DateTimeChooserParameters&
|
| parameters.anchorRectInRootView = document().view()->contentsToRootView(pixelSnappedBoundingBox());
|
| parameters.currentValue = value();
|
| parameters.doubleValue = m_inputType->valueAsDouble();
|
| - parameters.isAnchorElementRTL = computedStyle()->direction() == RTL;
|
| + parameters.isAnchorElementRTL = m_inputType->computedTextDirection() == RTL;
|
| if (HTMLDataListElement* dataList = this->dataList()) {
|
| RefPtrWillBeRawPtr<HTMLCollection> options = dataList->options();
|
| for (unsigned i = 0; HTMLOptionElement* option = toHTMLOptionElement(options->item(i)); ++i) {
|
|
|