#include <css_value_width.h>

+ Inheritance diagram for clan::CSSValueWidth:

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
 

Member Enumeration Documentation

Enumerator
type_length 
type_percentage 
type_auto 
type_inherit 

Constructor & Destructor Documentation

clan::CSSValueWidth::CSSValueWidth ( )

Member Function Documentation

void clan::CSSValueWidth::apply ( CSSComputedValuesUpdater updater)
virtual
void clan::CSSValueWidth::compute ( const CSSValueWidth parent,
CSSResourceCache *  layout,
float  em_size,
float  ex_size,
bool  is_containing_block_width_auto 
)
std::string clan::CSSValueWidth::to_string ( ) const
virtual

Member Data Documentation

CSSLength clan::CSSValueWidth::length
float clan::CSSValueWidth::percentage
Type clan::CSSValueWidth::type

The documentation for this class was generated from the following file: