| Index: third_party/WebKit/Source/core/style/ComputedStyle.h
|
| diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| index 39b416e4009abaa07bdff87df190a6c9576c6925..052ff04c1fd577813393b10186db8bbf0e56422c 100644
|
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| @@ -980,6 +980,11 @@ public:
|
| LengthPoint objectPosition() const { return m_rareNonInheritedData->m_objectPosition; }
|
| void setObjectPosition(LengthPoint position) { SET_VAR(m_rareNonInheritedData, m_objectPosition, position); }
|
|
|
| + // offset-anchor
|
| + static LengthPoint initialOffsetAnchor() { return LengthPoint(Length(50.0, Percent), Length(50.0, Percent)); }
|
| + const LengthPoint& offsetAnchor() const { return m_rareNonInheritedData->m_transform->m_motion.m_anchor; }
|
| + void setOffsetAnchor(const LengthPoint& offsetAnchor) { SET_NESTED_VAR(m_rareNonInheritedData, m_transform, m_motion.m_anchor, offsetAnchor); }
|
| +
|
| // offset-distance
|
| static Length initialOffsetDistance() { return Length(0, Fixed); }
|
| const Length& offsetDistance() const { return m_rareNonInheritedData->m_transform->m_motion.m_distance; }
|
| @@ -990,6 +995,11 @@ public:
|
| StylePath* offsetPath() const { return m_rareNonInheritedData->m_transform->m_motion.m_path.get(); }
|
| void setOffsetPath(PassRefPtr<StylePath>);
|
|
|
| + // offset-position
|
| + static LengthPoint initialOffsetPosition() { return LengthPoint(Length(Auto), Length(Auto)); }
|
| + const LengthPoint& offsetPosition() const { return m_rareNonInheritedData->m_transform->m_motion.m_position; }
|
| + void setOffsetPosition(const LengthPoint& offsetPosition) { SET_NESTED_VAR(m_rareNonInheritedData, m_transform, m_motion.m_position, offsetPosition); }
|
| +
|
| // offset-rotation
|
| static StyleOffsetRotation initialOffsetRotation() { return StyleOffsetRotation(0, OffsetRotationAuto); }
|
| const StyleOffsetRotation& offsetRotation() const { return m_rareNonInheritedData->m_transform->m_motion.m_rotation; }
|
|
|