mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 07:37:03 +00:00
LibWeb: Light dismiss popovers on click
This commit is contained in:
parent
6061da3382
commit
1f1884da54
Notes:
github-actions[bot]
2025-04-29 01:43:08 +00:00
Author: https://github.com/Gingeh
Commit: 1f1884da54
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4428
Reviewed-by: https://github.com/AtkinsSJ ✅
9 changed files with 308 additions and 6 deletions
|
@ -796,6 +796,11 @@ public:
|
|||
Vector<GC::Ref<HTML::HTMLElement>> const& showing_auto_popover_list() const { return m_showing_auto_popover_list; }
|
||||
Vector<GC::Ref<HTML::HTMLElement>> const& showing_hint_popover_list() const { return m_showing_hint_popover_list; }
|
||||
|
||||
GC::Ptr<HTML::HTMLElement> topmost_auto_or_hint_popover();
|
||||
|
||||
void set_popover_pointerdown_target(GC::Ptr<HTML::HTMLElement> target) { m_popover_pointerdown_target = target; }
|
||||
GC::Ptr<HTML::HTMLElement> popover_pointerdown_target() { return m_popover_pointerdown_target; }
|
||||
|
||||
size_t transition_generation() const { return m_transition_generation; }
|
||||
|
||||
// Does document represent an embedded svg img
|
||||
|
@ -1203,6 +1208,7 @@ private:
|
|||
Vector<GC::Ref<HTML::HTMLElement>> m_showing_auto_popover_list;
|
||||
Vector<GC::Ref<HTML::HTMLElement>> m_showing_hint_popover_list;
|
||||
|
||||
GC::Ptr<HTML::HTMLElement> m_popover_pointerdown_target;
|
||||
// https://dom.spec.whatwg.org/#document-allow-declarative-shadow-roots
|
||||
bool m_allow_declarative_shadow_roots { false };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue