| Index: Source/WebCore/rendering/RenderBox.cpp | 
| =================================================================== | 
| --- Source/WebCore/rendering/RenderBox.cpp	(revision 109989) | 
| +++ Source/WebCore/rendering/RenderBox.cpp	(working copy) | 
| @@ -3905,4 +3905,11 @@ | 
| return LayoutSize(rect.x(), rect.y()); | 
| } | 
|  | 
| +bool RenderBox::hasRelativeDimensions() const | 
| +{ | 
| +    return style()->height().isPercent() || style()->width().isPercent() | 
| +            || style()->maxHeight().isPercent() || style()->maxWidth().isPercent() | 
| +            || style()->minHeight().isPercent() || style()->minWidth().isPercent(); | 
| +} | 
| + | 
| } // namespace WebCore | 
|  |