14 using vector = std::vector<raw_declaration>;
shared_ptr< css_selector > ptr
Definition css_selector.h:197
std::vector< css_selector::ptr > vector
Definition css_selector.h:198
Definition stylesheet.h:45
void parse_import_rule(raw_rule::ptr rule, string baseurl, shared_ptr< document > doc, media_query_list_list::ptr media)
Definition stylesheet.cpp:71
void parse_css_stylesheet(const Input &input, string baseurl, shared_ptr< document > doc, media_query_list_list::ptr media=nullptr, bool top_level=true)
bool parse_style_rule(raw_rule::ptr rule, string baseurl, shared_ptr< document > doc, media_query_list_list::ptr media)
Definition stylesheet.cpp:107
const css_selector::vector & selectors() const
Definition stylesheet.h:49
void add_selector(const css_selector::ptr &selector)
Definition stylesheet.h:65
css_selector::vector m_selectors
Definition stylesheet.h:46
void sort_selectors()
Definition stylesheet.cpp:131
Definition stylesheet.h:25
css_token block
Definition stylesheet.h:41
rule_type
Definition stylesheet.h:30
@ qualified
Definition stylesheet.h:30
@ at
Definition stylesheet.h:30
rule_type type
Definition stylesheet.h:34
shared_ptr< raw_rule > ptr
Definition stylesheet.h:27
std::vector< ptr > vector
Definition stylesheet.h:28
css_token_vector prelude
Definition stylesheet.h:40
raw_rule(rule_type type, string name="")
Definition stylesheet.h:32
string name
Definition stylesheet.h:36
type
Definition core.h:681
Definition background.h:12
vector< css_token > css_token_vector
Definition css_tokenizer.h:151
Definition css_tokenizer.h:69
Definition stylesheet.h:13
std::vector< raw_declaration > vector
Definition stylesheet.h:14
bool important
Definition stylesheet.h:18
string name
Definition stylesheet.h:16
annotation input
Definition tag_strings.h:114