Dillo v3.1.1-119-g140d9ebd
|
Go to the source code of this file.
Classes | |
struct | CssLength |
struct | CssBackgroundPosition |
union | CssPropertyValue |
class | CssProperty |
This class holds a CSS property and value pair. More... | |
class | CssPropertyList |
A list of CssProperty objects. More... | |
class | CssSimpleSelector |
class | MatchCache |
class | CssSelector |
CSS selector class. More... | |
struct | CssSelector::CombinatorAndSelector |
class | CssRule |
A CssSelector CssPropertyList pair. More... | |
class | CssStyleSheet |
A list of CssRules. More... | |
class | CssStyleSheet::RuleList |
class | CssStyleSheet::RuleMap |
class | CssContext |
A set of CssStyleSheets. More... | |
Functions | |
CssLength | CSS_CREATE_LENGTH (float v, CssLengthType t) |
CssLengthType | CSS_LENGTH_TYPE (CssLength l) |
float | CSS_LENGTH_VALUE (CssLength l) |
enum CssLengthType |
CSS lengths are represented by the CssLength struct, which can hold different types of values.
enum CssOrigin |
enum CssPrimaryOrder |
enum CssPropertyName |
enum CssValueType |
Enumerator | |
---|---|
CSS_TYPE_INTEGER | This type is only used internally, for x-* properties. |
CSS_TYPE_ENUM | Value is i, if represented by enum_symbols[i]. |
CSS_TYPE_MULTI_ENUM | For all enum_symbols[i], 1 << i are combined. |
CSS_TYPE_LENGTH_PERCENTAGE | <length> or <percentage>. Represented by CssLength. |
CSS_TYPE_LENGTH | <length>, represented as CssLength. Note: In some cases, CSS_TYPE_LENGTH is used instead of CSS_TYPE_LENGTH_PERCENTAGE, only because Dw cannot handle percentages in this particular case (e.g. 'margin-*-width'). |
CSS_TYPE_SIGNED_LENGTH | As CSS_TYPE_LENGTH but may be negative. |
CSS_TYPE_LENGTH_PERCENTAGE_NUMBER | |
CSS_TYPE_AUTO | Represented as CssLength of type CSS_LENGTH_TYPE_AUTO. |
CSS_TYPE_COLOR | Represented as integer. |
CSS_TYPE_FONT_WEIGHT | this very special and only used by 'font-weight' |
CSS_TYPE_STRING | <string> |
CSS_TYPE_SYMBOL | Symbols, which are directly copied (as opposed to CSS_TYPE_ENUM and CSS_TYPE_MULTI_ENUM). Used for 'font-family'. |
CSS_TYPE_URI | <uri> |
CSS_TYPE_BACKGROUND_POSITION | |
CSS_TYPE_UNUSED | Not yet used. Will itself get unused some day. |
|
inline |
Definition at line 102 of file css.hh.
References CSS_LENGTH_TYPE_AUTO, CSS_LENGTH_TYPE_CH, CSS_LENGTH_TYPE_EM, CSS_LENGTH_TYPE_EX, CSS_LENGTH_TYPE_MM, CSS_LENGTH_TYPE_NONE, CSS_LENGTH_TYPE_PERCENTAGE, CSS_LENGTH_TYPE_PX, CSS_LENGTH_TYPE_RELATIVE, CSS_LENGTH_TYPE_REM, CSS_LENGTH_TYPE_VH, CSS_LENGTH_TYPE_VMAX, CSS_LENGTH_TYPE_VMIN, CSS_LENGTH_TYPE_VW, CssLength::f, CssLength::i, lout::misc::roundInt(), and CssLength::type.
Referenced by a_Html_common_image_attrs(), a_Html_parse_length(), Html_parse_length_or_multi_length(), Html_tag_open_hr(), Html_tag_open_img(), Html_tag_open_table(), and CssParser::parseValue().
|
inline |
Definition at line 134 of file css.hh.
References CssLength::type.
Referenced by a_Html_common_image_attrs(), a_Html_parse_length(), StyleEngine::apply(), StyleEngine::computeLength(), StyleEngine::computeValue(), StyleEngine::computeValue(), and CSS_LENGTH_VALUE().
|
inline |
Definition at line 138 of file css.hh.
References CSS_LENGTH_TYPE(), CSS_LENGTH_TYPE_AUTO, CSS_LENGTH_TYPE_CH, CSS_LENGTH_TYPE_EM, CSS_LENGTH_TYPE_EX, CSS_LENGTH_TYPE_MM, CSS_LENGTH_TYPE_NONE, CSS_LENGTH_TYPE_PERCENTAGE, CSS_LENGTH_TYPE_PX, CSS_LENGTH_TYPE_RELATIVE, CSS_LENGTH_TYPE_REM, CSS_LENGTH_TYPE_VH, CSS_LENGTH_TYPE_VMAX, CSS_LENGTH_TYPE_VMIN, CSS_LENGTH_TYPE_VW, CssLength::f, and CssLength::i.
Referenced by a_Html_common_image_attrs(), a_Html_parse_length(), StyleEngine::apply(), StyleEngine::computeLength(), StyleEngine::computeValue(), and StyleEngine::computeValue().