ELinks 0.18.0
|
#include "util/lists.h"
Functions | |
void | css_parse_properties (struct css_property list *props, struct scanner *scanner) |
This function takes a semicolon separated list of declarations from the given string, parses them to atoms, and chains the newly created struct css_property objects to the specified list. | |
void | css_parse_stylesheet (struct css_stylesheet *css, struct uri *base_uri, const char *string, const char *end) |
Parses the string and adds any recognized selectors + properties to the given stylesheet css. |
This is interface for the value parser. It is intended to be used only internally inside of the CSS engine.
void css_parse_properties | ( | struct css_property list * | props, |
struct scanner * | scanner ) |
This function takes a semicolon separated list of declarations from the given string, parses them to atoms, and chains the newly created struct css_property objects to the specified list.
void css_parse_stylesheet | ( | struct css_stylesheet * | css, |
struct uri * | base_uri, | ||
const char * | string, | ||
const char * | end ) |
Parses the string and adds any recognized selectors + properties to the given stylesheet css.
If the selector is already in the stylesheet it properties are added to the that selector.