mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 18:50:50 +00:00
LibWeb: Dump CSSDescriptors in a generic way
This replaces the need for bespoke (and verbose) dumping for each at-rule that has descriptors.
This commit is contained in:
parent
f0ce4f43a6
commit
fbdef98307
Notes:
github-actions[bot]
2025-05-08 15:22:39 +00:00
Author: https://github.com/AtkinsSJ
Commit: fbdef98307
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4654
3 changed files with 17 additions and 88 deletions
|
@ -8,7 +8,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/Forward.h>
|
||||
#include <LibWeb/CSS/CSSNamespaceRule.h>
|
||||
#include <LibWeb/Forward.h>
|
||||
|
||||
namespace Web {
|
||||
|
@ -25,6 +24,7 @@ void dump_sheet(CSS::StyleSheet const&);
|
|||
void dump_rule(StringBuilder&, CSS::CSSRule const&, int indent_levels = 0);
|
||||
void dump_rule(CSS::CSSRule const&);
|
||||
void dump_style_properties(StringBuilder&, CSS::CSSStyleProperties const&, int indent_levels = 0);
|
||||
void dump_descriptors(StringBuilder&, CSS::CSSDescriptors const&, int indent_levels = 0);
|
||||
void dump_font_face_rule(StringBuilder&, CSS::CSSFontFaceRule 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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue