ELinks 0.18.0
css_property Struct Reference

The struct css_property describes one CSS declaration in a rule, therefore being basically a parsed instance of struct css_property_info. More...

#include <property.h>

Collaboration diagram for css_property:

Public Member Functions

 LIST_HEAD_EL (struct css_property)

Data Fields

enum css_property_type type
 Declared property.
enum css_property_value_type value_type
 Type of the property value.
union css_property_value value
 Property value.

Detailed Description

The struct css_property describes one CSS declaration in a rule, therefore being basically a parsed instance of struct css_property_info.

One list of these contains all the declarations contained in one rule.

Member Function Documentation

◆ LIST_HEAD_EL()

css_property::LIST_HEAD_EL ( struct css_property )

Field Documentation

◆ type

enum css_property_type css_property::type

Declared property.

The enum item name is derived from the property name, just uppercase it and tr/-/_/.

◆ value

union css_property_value css_property::value

Property value.

If it is a pointer, it points always to a memory to be free()d together with this structure.

◆ value_type

enum css_property_value_type css_property::value_type

Type of the property value.

Discriminates the value union.


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