| Index: third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp b/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
|
| index 32fbfe5c4488431415cf20f508d4e13f211addd5..436717f2647023a8fa3681b8ee57565b4c0faea5 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
|
| @@ -359,8 +359,10 @@ PassRefPtr<ComputedStyle> LayoutTextControlSingleLine::createInnerEditorStyle(co
|
|
|
| textBlockStyle->setWhiteSpace(PRE);
|
| textBlockStyle->setOverflowWrap(NormalOverflowWrap);
|
| - textBlockStyle->setOverflowX(OHIDDEN);
|
| - textBlockStyle->setOverflowY(OHIDDEN);
|
| + // Note that although overflowX/Y is set to scroll, the scrollbars will be
|
| + // hidden by the webkit-scrollbar selector in the default style sheet (html.css).
|
| + textBlockStyle->setOverflowX(OSCROLL);
|
| + textBlockStyle->setOverflowY(OSCROLL);
|
| textBlockStyle->setTextOverflow(textShouldBeTruncated() ? TextOverflowEllipsis : TextOverflowClip);
|
|
|
| if (m_desiredInnerEditorLogicalHeight >= 0)
|
|
|