#include <css_value_width.h>
Public Types | |
enum | Type { type_length, type_percentage, type_auto, type_inherit } |
Public Member Functions | |
CSSValueWidth () | |
void | apply (CSSComputedValuesUpdater *updater) |
void | compute (const CSSValueWidth *parent, CSSResourceCache *layout, float em_size, float ex_size, bool is_containing_block_width_auto) |
std::string | to_string () const |
Public Attributes | |
CSSLength | length |
float | percentage |
Type | type |
clan::CSSValueWidth::CSSValueWidth | ( | ) |
|
virtual |
Implements clan::CSSPropertyValue.
void clan::CSSValueWidth::compute | ( | const CSSValueWidth * | parent, |
CSSResourceCache * | layout, | ||
float | em_size, | ||
float | ex_size, | ||
bool | is_containing_block_width_auto | ||
) |
|
virtual |
Implements clan::CSSPropertyValue.
CSSLength clan::CSSValueWidth::length |
float clan::CSSValueWidth::percentage |
Type clan::CSSValueWidth::type |