#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)
 
std::unique_ptr< CSSPropertyValueclone () const
 
void compute (const CSSValueWidth *parent, CSSResourceCache *layout, float em_size, float ex_size, bool is_containing_block_width_auto)
 
std::string get_name () const
 
std::string to_string () const
 
- Public Member Functions inherited from clan::CSSPropertyValue
virtual ~CSSPropertyValue ()
 

Public Attributes

CSSLength length
 
float percentage
 
Type type
 

Member Enumeration Documentation

◆ Type

Enumerator
type_length 
type_percentage 
type_auto 
type_inherit 

Constructor & Destructor Documentation

◆ CSSValueWidth()

clan::CSSValueWidth::CSSValueWidth ( )

Member Function Documentation

◆ apply()

void clan::CSSValueWidth::apply ( CSSComputedValuesUpdater updater)
virtual

◆ clone()

std::unique_ptr<CSSPropertyValue> clan::CSSValueWidth::clone ( ) const
virtual

◆ compute()

void clan::CSSValueWidth::compute ( const CSSValueWidth parent,
CSSResourceCache *  layout,
float  em_size,
float  ex_size,
bool  is_containing_block_width_auto 
)

◆ get_name()

std::string clan::CSSValueWidth::get_name ( ) const
virtual

◆ to_string()

std::string clan::CSSValueWidth::to_string ( ) const
virtual

Member Data Documentation

◆ length

CSSLength clan::CSSValueWidth::length

◆ percentage

float clan::CSSValueWidth::percentage

◆ type

Type clan::CSSValueWidth::type

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