| Index: sky/engine/core/rendering/RenderBox.h
|
| diff --git a/sky/engine/core/rendering/RenderBox.h b/sky/engine/core/rendering/RenderBox.h
|
| index 7f9191888bae7896d70d34e4d15aa686937e725e..8ce3293f3c60e8b935d726e1231c7465f457b090 100644
|
| --- a/sky/engine/core/rendering/RenderBox.h
|
| +++ b/sky/engine/core/rendering/RenderBox.h
|
| @@ -172,6 +172,8 @@ public:
|
| // The content box converted to absolute coords (taking transforms into account).
|
| FloatQuad absoluteContentQuad() const;
|
|
|
| + FloatPoint perspectiveOrigin() const;
|
| +
|
| // This returns the content area of the box (excluding padding and border). The only difference with contentBoxRect is that computedCSSContentBoxRect
|
| // does include the intrinsic padding in the content box as this is what some callers expect (like getComputedStyle).
|
| LayoutRect computedCSSContentBoxRect() const { return LayoutRect(borderLeft() + computedCSSPaddingLeft(), borderTop() + computedCSSPaddingTop(), clientWidth() - computedCSSPaddingLeft() - computedCSSPaddingRight(), clientHeight() - computedCSSPaddingTop() - computedCSSPaddingBottom()); }
|
|
|