mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:17:34 +00:00
LibWeb: Get the first DOM node with a 'title' attribute for tooltip area
Rather than expecting the first parent to have a 'title' attribute, search all ancestors.
This commit is contained in:
parent
4fac577cf0
commit
c503047c71
3 changed files with 11 additions and 1 deletions
|
@ -112,6 +112,7 @@ public:
|
|||
|
||||
const HTML::HTMLAnchorElement* enclosing_link_element() const;
|
||||
const HTML::HTMLElement* enclosing_html_element() const;
|
||||
const HTML::HTMLElement* enclosing_html_element_with_attribute(const FlyString&) const;
|
||||
|
||||
String child_text_content() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue