| Index: Source/core/rendering/RenderBox.h
|
| diff --git a/Source/core/rendering/RenderBox.h b/Source/core/rendering/RenderBox.h
|
| index 4246b71d87c24afb127ab93e0bcc4457d1700030..d7ed5e25b6c98837f5e346ecf29f3c8e7c3aa348 100644
|
| --- a/Source/core/rendering/RenderBox.h
|
| +++ b/Source/core/rendering/RenderBox.h
|
| @@ -464,10 +464,14 @@ 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 scrollsOverflowY() const { return hasOverflowClip() && (style()->overflowY() == OSCROLL || hasAutoVerticalScrollbar()); }
|
| + virtual bool scrollsOverflowX() const { return hasOverflowClip() && (style()->overflowX() == OSCROLL || hasAutoHorizontalScrollbar()); }
|
| + virtual bool scrollsOverflowY() const { return hasOverflowClip() && (style()->overflowY() == OSCROLL || hasAutoVerticalScrollbar()); }
|
| bool usesCompositedScrolling() const;
|
|
|
| + // Elements such as the <input> field override this to specify that they are scrollable
|
| + // outside the context of the CSS overflow style
|
| + virtual bool isIntristicallyScrollable(ScrollbarOrientation orientation) const { return false; }
|
| +
|
| bool hasUnsplittableScrollingOverflow() const;
|
| bool isUnsplittableForPagination() const;
|
|
|
|
|