mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 01:00:05 +00:00
LibWeb: Invalidate owner sheet on add/remove in CSSStyleProperties
Fixes at least 2 WPT subtests.
This commit is contained in:
parent
fbb3b06462
commit
cf34a7bb32
Notes:
github-actions[bot]
2025-04-24 16:28:02 +00:00
Author: https://github.com/awesomekling
Commit: cf34a7bb32
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4455
Reviewed-by: https://github.com/AtkinsSJ ✅
6 changed files with 87 additions and 7 deletions
|
@ -71,6 +71,8 @@ private:
|
|||
void empty_the_declarations();
|
||||
void set_the_declarations(Vector<StyleProperty> properties, HashMap<FlyString, StyleProperty> custom_properties);
|
||||
|
||||
void invalidate_owners(DOM::StyleInvalidationReason);
|
||||
|
||||
Vector<StyleProperty> m_properties;
|
||||
HashMap<FlyString, StyleProperty> m_custom_properties;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue