| Index: Source/core/html/shadow/DateTimeEditElement.cpp
|
| diff --git a/Source/core/html/shadow/DateTimeEditElement.cpp b/Source/core/html/shadow/DateTimeEditElement.cpp
|
| index b8839b50d78f451e2b75d0e193d70c8aebf53804..f95088d712e2531e09c8b3c7e911197e2facd2f8 100644
|
| --- a/Source/core/html/shadow/DateTimeEditElement.cpp
|
| +++ b/Source/core/html/shadow/DateTimeEditElement.cpp
|
| @@ -402,7 +402,7 @@ void DateTimeEditBuilder::visitLiteral(const String& text)
|
| {
|
| DEFINE_STATIC_LOCAL(AtomicString, textPseudoId, ("-webkit-datetime-edit-text", AtomicString::ConstructFromLiteral));
|
| ASSERT(text.length());
|
| - RefPtrWillBeRawPtr<HTMLDivElement> element = HTMLDivElement::create(m_editElement.document());
|
| + RefPtrWillBeRawPtr<HTMLSpanElement> element = HTMLSpanElement::create(m_editElement.document());
|
| element->setShadowPseudoId(textPseudoId);
|
| if (m_parameters.locale.isRTL() && text.length()) {
|
| Direction dir = direction(text[0]);
|
|
|