1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:47:45 +00:00

LibWeb: Move CSSRule iteration to CSSRuleList

CSSStyleSheet is no longer the only class that contains a list of rules,
so this will save duplicating the logic in multiple places.
This commit is contained in:
Sam Atkins 2021-10-08 16:40:50 +01:00 committed by Andreas Kling
parent bc0ef5f69d
commit df08b25b3f
4 changed files with 40 additions and 24 deletions

View file

@ -8,7 +8,6 @@
#include <AK/Function.h>
#include <AK/NonnullRefPtrVector.h>
#include <AK/TypeCasts.h>
#include <LibWeb/CSS/CSSRule.h>
#include <LibWeb/CSS/CSSRuleList.h>
#include <LibWeb/CSS/CSSStyleRule.h>