LibWeb: Move ariaActiveDescendantElement to ARIAMixin

Not an issue right now, but all IDL types that include the ARIA mixin
will need this.
This commit is contained in:
Timothy Flynn 2025-04-24 11:22:52 -04:00 committed by Tim Ledbetter
commit 0289df9357
Notes: github-actions[bot] 2025-04-25 00:21:29 +00:00
4 changed files with 20 additions and 9 deletions

View file

@ -323,9 +323,6 @@ public:
ENUMERATE_ARIA_ATTRIBUTES
#undef __ENUMERATE_ARIA_ATTRIBUTE
GC::Ptr<DOM::Element> aria_active_descendant_element() { return m_aria_active_descendant_element; }
void set_aria_active_descendant_element(GC::Ptr<DOM::Element> value) { m_aria_active_descendant_element = value; }
virtual bool exclude_from_accessibility_tree() const override;
virtual bool include_in_accessibility_tree() const override;
@ -579,8 +576,6 @@ private:
OwnPtr<CSS::CountersSet> m_counters_set;
GC::Ptr<DOM::Element> m_aria_active_descendant_element;
// https://drafts.csswg.org/css-contain/#proximity-to-the-viewport
ProximityToTheViewport m_proximity_to_the_viewport { ProximityToTheViewport::NotDetermined };
};