ELinks 0.16.1.1
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:

Data Fields

void * magic1
struct css_propertynext
struct css_propertyprev
void * magic2
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.

Field Documentation

◆ magic1

void* css_property::magic1

◆ magic2

void* css_property::magic2

◆ next

struct css_property* css_property::next

◆ prev

struct css_property* css_property::prev

◆ 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: