|
@@ -59,6 +59,8 @@ public:
|
|
CSS::FlexDirection flex_direction() const { return m_noninherited.flex_direction; }
|
|
CSS::FlexDirection flex_direction() const { return m_noninherited.flex_direction; }
|
|
CSS::FlexWrap flex_wrap() const { return m_noninherited.flex_wrap; }
|
|
CSS::FlexWrap flex_wrap() const { return m_noninherited.flex_wrap; }
|
|
FlexBasisData flex_basis() const { return m_noninherited.flex_basis; }
|
|
FlexBasisData flex_basis() const { return m_noninherited.flex_basis; }
|
|
|
|
+ Optional<float> flex_grow_factor() const { return m_noninherited.flex_grow_factor; }
|
|
|
|
+ Optional<float> flex_shrink_factor() const { return m_noninherited.flex_shrink_factor; }
|
|
const CSS::Length& width() const { return m_noninherited.width; }
|
|
const CSS::Length& width() const { return m_noninherited.width; }
|
|
const CSS::Length& min_width() const { return m_noninherited.min_width; }
|
|
const CSS::Length& min_width() const { return m_noninherited.min_width; }
|
|
const CSS::Length& max_width() const { return m_noninherited.max_width; }
|
|
const CSS::Length& max_width() const { return m_noninherited.max_width; }
|
|
@@ -137,6 +139,8 @@ protected:
|
|
CSS::FlexDirection flex_direction { InitialValues::flex_direction() };
|
|
CSS::FlexDirection flex_direction { InitialValues::flex_direction() };
|
|
CSS::FlexWrap flex_wrap { InitialValues::flex_wrap() };
|
|
CSS::FlexWrap flex_wrap { InitialValues::flex_wrap() };
|
|
CSS::FlexBasisData flex_basis {};
|
|
CSS::FlexBasisData flex_basis {};
|
|
|
|
+ Optional<float> flex_grow_factor;
|
|
|
|
+ Optional<float> flex_shrink_factor;
|
|
CSS::Overflow overflow_x { InitialValues::overflow() };
|
|
CSS::Overflow overflow_x { InitialValues::overflow() };
|
|
CSS::Overflow overflow_y { InitialValues::overflow() };
|
|
CSS::Overflow overflow_y { InitialValues::overflow() };
|
|
} m_noninherited;
|
|
} m_noninherited;
|
|
@@ -184,6 +188,8 @@ public:
|
|
void set_flex_direction(CSS::FlexDirection value) { m_noninherited.flex_direction = value; }
|
|
void set_flex_direction(CSS::FlexDirection value) { m_noninherited.flex_direction = value; }
|
|
void set_flex_wrap(CSS::FlexWrap value) { m_noninherited.flex_wrap = value; }
|
|
void set_flex_wrap(CSS::FlexWrap value) { m_noninherited.flex_wrap = value; }
|
|
void set_flex_basis(FlexBasisData value) { m_noninherited.flex_basis = value; }
|
|
void set_flex_basis(FlexBasisData value) { m_noninherited.flex_basis = value; }
|
|
|
|
+ void set_flex_grow_factor(Optional<float> value) { m_noninherited.flex_grow_factor = value; }
|
|
|
|
+ void set_flex_shrink_factor(Optional<float> value) { m_noninherited.flex_shrink_factor = value; }
|
|
};
|
|
};
|
|
|
|
|
|
}
|
|
}
|