mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 02:09:24 +00:00
LibWeb: Implement Event.composedPath
I originally implemented this as something to use the new sequence wrapper, however, after having a look at uses with grep.app, it's used often, for example: - Bootstrap 5 Dropdowns - Polymer - Angular - Closure
This commit is contained in:
parent
cb821e1539
commit
126d6d0838
Notes:
sideshowbarker
2024-07-18 02:17:49 +09:00
Author: https://github.com/Lubrsi
Commit: 126d6d0838
Pull-request: https://github.com/SerenityOS/serenity/pull/10500
Reviewed-by: https://github.com/IdanHo ✅
3 changed files with 119 additions and 0 deletions
|
@ -146,6 +146,8 @@ public:
|
|||
|
||||
void set_time_stamp(double time_stamp) { m_time_stamp = time_stamp; }
|
||||
|
||||
NonnullRefPtrVector<EventTarget> composed_path() const;
|
||||
|
||||
protected:
|
||||
explicit Event(FlyString const& type)
|
||||
: m_type(type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue