mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 10:19:20 +00:00
LibWeb: Look for labeled control in DOM tree instead of layout tree
...because "change" event should be dispatched on control even if it has "display: none" style. This change fixes selection in labels dropdown on GitHub's "new issue" page.
This commit is contained in:
parent
730876fda9
commit
f932d5d825
Notes:
sideshowbarker
2024-07-17 07:11:12 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: f932d5d825
Pull-request: https://github.com/SerenityOS/serenity/pull/23684
8 changed files with 74 additions and 49 deletions
|
@ -21,6 +21,8 @@ public:
|
|||
|
||||
Optional<String> for_() const { return attribute(HTML::AttributeNames::for_); }
|
||||
|
||||
JS::GCPtr<HTMLElement> control() const;
|
||||
|
||||
private:
|
||||
HTMLLabelElement(DOM::Document&, DOM::QualifiedName);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue