LibWeb: Use optimized invalidation for focus-related pseudo classes

This commit is contained in:
Andreas Kling 2025-04-17 13:53:01 +02:00 committed by Andreas Kling
commit 414e0cc930
Notes: github-actions[bot] 2025-04-17 17:47:16 +00:00
2 changed files with 27 additions and 5 deletions

View file

@ -428,7 +428,7 @@ public:
Element* focused_element() { return m_focused_element.ptr(); }
Element const* focused_element() const { return m_focused_element.ptr(); }
void set_focused_element(Element*);
void set_focused_element(GC::Ptr<Element>);
Element const* active_element() const { return m_active_element.ptr(); }