| Index: Source/core/rendering/style/RenderStyle.h
|
| diff --git a/Source/core/rendering/style/RenderStyle.h b/Source/core/rendering/style/RenderStyle.h
|
| index b4c6a66f91eeb74bd5b39731ceb5d4c8ee0c2ad8..5c3303c1ba34be611d376ad1c8770fbd0b49ee70 100644
|
| --- a/Source/core/rendering/style/RenderStyle.h
|
| +++ b/Source/core/rendering/style/RenderStyle.h
|
| @@ -818,6 +818,8 @@ public:
|
|
|
| TextOrientation textOrientation() const { return static_cast<TextOrientation>(rareInheritedData->m_textOrientation); }
|
|
|
| + EObjectFit objectFit() const { return static_cast<EObjectFit>(rareNonInheritedData->m_objectFit); }
|
| +
|
| // Return true if any transform related property (currently transform, transformStyle3D or perspective)
|
| // indicates that we are transforming
|
| bool hasTransformRelatedProperty() const { return hasTransform() || preserves3D() || hasPerspective(); }
|
| @@ -1251,6 +1253,8 @@ public:
|
| void setTextEmphasisPosition(TextEmphasisPosition position) { SET_VAR(rareInheritedData, textEmphasisPosition, position); }
|
| bool setTextOrientation(TextOrientation);
|
|
|
| + void setObjectFit(EObjectFit f) { SET_VAR(rareNonInheritedData, m_objectFit, f); }
|
| +
|
| void setRubyPosition(RubyPosition position) { SET_VAR(rareInheritedData, m_rubyPosition, position); }
|
|
|
| void setFilter(const FilterOperations& ops) { SET_VAR(rareNonInheritedData.access()->m_filter, m_operations, ops); }
|
| @@ -1454,6 +1458,7 @@ public:
|
| static WritingMode initialWritingMode() { return TopToBottomWritingMode; }
|
| static TextCombine initialTextCombine() { return TextCombineNone; }
|
| static TextOrientation initialTextOrientation() { return TextOrientationVerticalRight; }
|
| + static EObjectFit initialObjectFit() { return ObjectFitFill; }
|
| static EDisplay initialDisplay() { return INLINE; }
|
| static EEmptyCell initialEmptyCells() { return SHOW; }
|
| static EFloat initialFloating() { return NoFloat; }
|
|
|