mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 11:57:35 +00:00
LibWeb: Use a CSSRuleList inside CSSStyleSheet
This better matches the spec. :^)
This commit is contained in:
parent
97a78cdd28
commit
eb83d2617c
2 changed files with 5 additions and 4 deletions
|
@ -523,7 +523,7 @@ void dump_sheet(StringBuilder& builder, CSS::StyleSheet const& sheet)
|
|||
{
|
||||
auto& css_stylesheet = verify_cast<CSS::CSSStyleSheet>(sheet);
|
||||
|
||||
builder.appendff("CSSStyleSheet{{{}}}: {} rule(s)\n", &sheet, css_stylesheet.rules().size());
|
||||
builder.appendff("CSSStyleSheet{{{}}}: {} rule(s)\n", &sheet, css_stylesheet.rules().length());
|
||||
|
||||
for (auto& rule : css_stylesheet.rules()) {
|
||||
dump_rule(builder, rule);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue