| Index: Source/core/rendering/RenderBox.h
|
| diff --git a/Source/core/rendering/RenderBox.h b/Source/core/rendering/RenderBox.h
|
| index bce0122fd8c94b0ca88d6676eaaaac8533395d2f..a78ce1a125e3091b5e4459cdf956e5a38b9881b9 100644
|
| --- a/Source/core/rendering/RenderBox.h
|
| +++ b/Source/core/rendering/RenderBox.h
|
| @@ -452,7 +452,10 @@ public:
|
| bool hasAutoVerticalScrollbar() const { return hasOverflowClip() && (style()->overflowY() == OAUTO || style()->overflowY() == OOVERLAY); }
|
| bool hasAutoHorizontalScrollbar() const { return hasOverflowClip() && (style()->overflowX() == OAUTO || style()->overflowX() == OOVERLAY); }
|
| bool scrollsOverflow() const { return scrollsOverflowX() || scrollsOverflowY(); }
|
| - bool scrollsOverflowX() const { return hasOverflowClip() && (style()->overflowX() == OSCROLL || hasAutoHorizontalScrollbar()); }
|
| + bool scrollsOverflowX() const
|
| + {
|
| + return hasOverflowClip() && (style()->overflowX() == OSCROLL || hasAutoHorizontalScrollbar() || (parent() && parent()->isTextField()));
|
| + }
|
| bool scrollsOverflowY() const { return hasOverflowClip() && (style()->overflowY() == OSCROLL || hasAutoVerticalScrollbar()); }
|
| bool usesCompositedScrolling() const;
|
|
|
|
|