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:
parent
bc0ef5f69d
commit
df08b25b3f
4 changed files with 40 additions and 24 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue