mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-20 09:21:55 +00:00
LibWeb: Add callback for when a CSSRuleList's rules change
This commit is contained in:
parent
62f15f94d2
commit
496db17c2d
Notes:
sideshowbarker
2024-07-17 23:07:41 +09:00
Author: https://github.com/AtkinsSJ
Commit: 496db17c2d
Pull-request: https://github.com/SerenityOS/serenity/pull/20283
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/stelar7
2 changed files with 6 additions and 0 deletions
|
@ -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&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue