Chromium Code Reviews| Index: Source/core/rendering/RenderTextControlSingleLine.h |
| diff --git a/Source/core/rendering/RenderTextControlSingleLine.h b/Source/core/rendering/RenderTextControlSingleLine.h |
| index 91970d643b6c1ba07ce4ba98e40f3d9ba041a127..d4e6e6415db4ef1a38e623e0d012bf835460c379 100644 |
| --- a/Source/core/rendering/RenderTextControlSingleLine.h |
| +++ b/Source/core/rendering/RenderTextControlSingleLine.h |
| @@ -113,6 +113,9 @@ public: |
| RenderTextControlInnerBlock(Element* element) : RenderBlock(element) { } |
| private: |
| + virtual bool isTextField() const { return true; } |
| + virtual bool scrollsOverflowX() const OVERRIDE { return hasOverflowClip(); } |
| + virtual bool scrollsOverflowY() const OVERRIDE { return hasOverflowClip(); } |
|
tdanderson
2013/08/08 20:01:16
Shouldn't scrollsOverflowY() return false here sin
bokan
2013/08/12 16:19:29
Done.
|
| virtual bool hasLineIfEmpty() const { return true; } |
| }; |