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

LibWeb: Make CSSRule and all its subclasses GC-allocated

This commit is contained in:
Andreas Kling 2022-08-07 15:46:44 +02:00
parent 5d6cb9cbdb
commit 12042f0757
39 changed files with 338 additions and 236 deletions

View file

@ -21,7 +21,7 @@
namespace Web::CSS {
struct MatchingRule {
RefPtr<CSSStyleRule> rule;
CSSStyleRule const* rule { nullptr };
size_t style_sheet_index { 0 };
size_t rule_index { 0 };
size_t selector_index { 0 };