1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 20:07:34 +00:00

LibWeb: Rename StyleRule => CSSStyleRule

This matches the CSSOM specification.
This commit is contained in:
Andreas Kling 2021-03-07 15:00:02 +01:00
parent 3532e1788f
commit 0af4762662
11 changed files with 23 additions and 23 deletions

View file

@ -52,7 +52,7 @@ public:
{
for (auto& rule : m_rules)
if (rule.type() == CSSRule::Type::Style) {
callback(downcast<StyleRule>(rule));
callback(downcast<CSSStyleRule>(rule));
} else if (rule.type() == CSSRule::Type::Import) {
const CSSImportRule& import_rule = downcast<CSSImportRule>(rule);
if (import_rule.has_import_result())