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

LibWeb: Add callback for when a CSSRuleList's rules change

This commit is contained in:
Sam Atkins 2023-07-31 19:48:50 +01:00 committed by Andreas Kling
parent 62f15f94d2
commit 496db17c2d
2 changed files with 6 additions and 0 deletions

View file

@ -61,6 +61,8 @@ public:
bool evaluate_media_queries(HTML::Window const&);
void for_each_effective_keyframes_at_rule(Function<void(CSSKeyframesRule const&)> const& callback) const;
Function<void()> on_change;
private:
explicit CSSRuleList(JS::Realm&);