mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 21:58:12 +00:00
LibWeb: Add CSSMediaRule
This is the class corresponding to a `@media` rule. It contains a list of media queries and a list of child css rules.
This commit is contained in:
parent
8ac622f056
commit
3e74c194f9
6 changed files with 114 additions and 10 deletions
|
@ -18,10 +18,11 @@ void dump_tree(StringBuilder&, Layout::Node const&, bool show_box_model = false,
|
|||
void dump_tree(Layout::Node const&, bool show_box_model = false, bool show_specified_style = false);
|
||||
void dump_sheet(StringBuilder&, CSS::StyleSheet const&);
|
||||
void dump_sheet(CSS::StyleSheet const&);
|
||||
void dump_rule(StringBuilder&, CSS::CSSRule const&);
|
||||
void dump_rule(StringBuilder&, CSS::CSSRule const&, int indent_levels = 0);
|
||||
void dump_rule(CSS::CSSRule const&);
|
||||
void dump_style_rule(StringBuilder&, CSS::CSSStyleRule const&);
|
||||
void dump_import_rule(StringBuilder&, CSS::CSSImportRule const&);
|
||||
void dump_style_rule(StringBuilder&, CSS::CSSStyleRule const&, int indent_levels = 0);
|
||||
void dump_import_rule(StringBuilder&, CSS::CSSImportRule const&, int indent_levels = 0);
|
||||
void dump_media_rule(StringBuilder&, CSS::CSSMediaRule const&, int indent_levels = 0);
|
||||
void dump_selector(StringBuilder&, CSS::Selector const&);
|
||||
void dump_selector(CSS::Selector const&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue