#include <css_value_margin_width.h>
Public Types | |
enum | Type { type_length, type_percentage, type_auto, type_inherit } |
enum | ValueType { left_value, top_value, right_value, bottom_value } |
Public Member Functions | |
CSSValueMarginWidth () | |
CSSValueMarginWidth (ValueType value_type, const CSSValueMarginWidth &value) | |
void | apply (CSSComputedValuesUpdater *updater) |
std::unique_ptr< CSSPropertyValue > | clone () const |
void | compute (const CSSValueMarginWidth *parent, CSSResourceCache *layout, float em_size, float ex_size) |
std::string | get_name () const |
std::string | to_string () const |
![]() | |
virtual | ~CSSPropertyValue () |
Public Attributes | |
CSSLength | length |
float | percentage |
Type | type |
ValueType | value_type |
clan::CSSValueMarginWidth::CSSValueMarginWidth | ( | ) |
clan::CSSValueMarginWidth::CSSValueMarginWidth | ( | ValueType | value_type, |
const CSSValueMarginWidth & | value | ||
) |
|
virtual |
Implements clan::CSSPropertyValue.
|
virtual |
Implements clan::CSSPropertyValue.
void clan::CSSValueMarginWidth::compute | ( | const CSSValueMarginWidth * | parent, |
CSSResourceCache * | layout, | ||
float | em_size, | ||
float | ex_size | ||
) |
|
virtual |
Implements clan::CSSPropertyValue.
|
virtual |
Implements clan::CSSPropertyValue.
CSSLength clan::CSSValueMarginWidth::length |
float clan::CSSValueMarginWidth::percentage |
Type clan::CSSValueMarginWidth::type |
ValueType clan::CSSValueMarginWidth::value_type |