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