mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibWeb: Add method to check if element affected by invalidation set
...by replacing existing method to check if an element is affected by invalidation property. It turned out there is no need to check if an element is affected only by some specific property, so it's more convenient to have a method that accepts the whole set.
This commit is contained in:
parent
74dc335b28
commit
e33037ad52
Notes:
github-actions[bot]
2025-01-29 08:31:28 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: e33037ad52
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3391
3 changed files with 53 additions and 53 deletions
|
@ -266,7 +266,7 @@ public:
|
|||
static GC::Ptr<Layout::NodeWithStyle> create_layout_node_for_display_type(DOM::Document&, CSS::Display const&, GC::Ref<CSS::ComputedProperties>, Element*);
|
||||
|
||||
bool affected_by_hover() const;
|
||||
bool affected_by_invalidation_property(CSS::InvalidationSet::Property const&) const;
|
||||
bool includes_properties_from_invalidation_set(CSS::InvalidationSet const&) const;
|
||||
|
||||
void set_pseudo_element_node(Badge<Layout::TreeBuilder>, CSS::Selector::PseudoElement::Type, GC::Ptr<Layout::NodeWithStyle>);
|
||||
GC::Ptr<Layout::NodeWithStyle> get_pseudo_element_node(CSS::Selector::PseudoElement::Type) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue