mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-24 11:21:34 +00:00
LibWeb: Indent the CSS dumps correctly
Selectors and at-rules both made assumptions about their indentation level, which made it difficult to read the dump output. It'll become even worse once rules can be further nested within each other, so let's fix it now. :^)
This commit is contained in:
parent
5cc75d4de4
commit
aeed4921c4
Notes:
github-actions[bot]
2024-10-16 06:33:23 +00:00
Author: https://github.com/AtkinsSJ
Commit: aeed4921c4
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1817
2 changed files with 25 additions and 16 deletions
|
@ -32,7 +32,7 @@ void dump_supports_rule(StringBuilder&, CSS::CSSSupportsRule const&, int indent_
|
|||
void dump_namespace_rule(StringBuilder&, CSS::CSSNamespaceRule const&, int indent_levels = 0);
|
||||
void dump_layer_block_rule(StringBuilder&, CSS::CSSLayerBlockRule const&, int indent_levels = 0);
|
||||
void dump_layer_statement_rule(StringBuilder&, CSS::CSSLayerStatementRule const&, int indent_levels = 0);
|
||||
void dump_selector(StringBuilder&, CSS::Selector const&);
|
||||
void dump_selector(StringBuilder&, CSS::Selector const&, int indent_levels = 0);
|
||||
void dump_selector(CSS::Selector const&);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue