mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-25 03:36:36 +00:00
LibWeb: Create base class CSSRule for all CSS rules
This is a foundation for handling other ("at") CSS rules.
This commit is contained in:
parent
b807d51598
commit
04d67d0239
Notes:
sideshowbarker
2024-07-18 21:52:19 +09:00
Author: https://github.com/speles
Commit: 04d67d0239
Pull-request: https://github.com/SerenityOS/serenity/pull/5456
Reviewed-by: https://github.com/awesomekling
12 changed files with 147 additions and 17 deletions
|
@ -1,5 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org>
|
||||
* Copyright (c) 2021, the SerenityOS developers.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -37,8 +38,9 @@ void dump_tree(StringBuilder&, const Layout::Node&, bool show_box_model = false,
|
|||
void dump_tree(const Layout::Node&, bool show_box_model = false, bool show_specified_style = false);
|
||||
void dump_sheet(StringBuilder&, const CSS::StyleSheet&);
|
||||
void dump_sheet(const CSS::StyleSheet&);
|
||||
void dump_rule(StringBuilder&, const CSS::StyleRule&);
|
||||
void dump_rule(const CSS::StyleRule&);
|
||||
void dump_rule(StringBuilder&, const CSS::CSSRule&);
|
||||
void dump_rule(const CSS::CSSRule&);
|
||||
void dump_style_rule(StringBuilder&, const CSS::StyleRule&);
|
||||
void dump_selector(StringBuilder&, const CSS::Selector&);
|
||||
void dump_selector(const CSS::Selector&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue