ELinks 0.18.0
css_stylesheet Struct Reference

The struct css_stylesheet describes all the useful data that was extracted from the CSS source. More...

#include <stylesheet.h>

Collaboration diagram for css_stylesheet:

Data Fields

css_stylesheet_importer_T import
 The import callback function.
void * import_data
 The import callback's data.
struct css_selector_set selectors
 The set of basic element selectors (which can then somehow tree up on inside).
int import_level
 How deeply nested are we.

Detailed Description

The struct css_stylesheet describes all the useful data that was extracted from the CSS source.

Currently we don't cache anything but the default user stylesheet so it can contain stuff from both <style> tags and @import'ed CSS documents.

Field Documentation

◆ import

css_stylesheet_importer_T css_stylesheet::import

The import callback function.

The caller must check the media types first.

◆ import_data

void* css_stylesheet::import_data

The import callback's data.

◆ import_level

int css_stylesheet::import_level

How deeply nested are we.

Limited by MAX_REDIRECTS.

◆ selectors

struct css_selector_set css_stylesheet::selectors

The set of basic element selectors (which can then somehow tree up on inside).


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