| Index: Source/core/rendering/RenderObject.h
|
| diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h
|
| index 6a667f49046556f1bd3515cef74466cd123ca674..765b30d9657138ba7afbb3e04891376617264d94 100644
|
| --- a/Source/core/rendering/RenderObject.h
|
| +++ b/Source/core/rendering/RenderObject.h
|
| @@ -553,6 +553,8 @@ public:
|
|
|
| bool isSelectionBorder() const;
|
|
|
| + bool hasAspectRatio() const { return isReplaced() && (isImage() || isVideo() || isCanvas()); }
|
| +
|
| bool hasClip() const { return isOutOfFlowPositioned() && style()->hasClip(); }
|
| bool hasOverflowClip() const { return m_bitfields.hasOverflowClip(); }
|
| bool hasClipOrOverflowClip() const { return hasClip() || hasOverflowClip(); }
|
|
|