1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 17:57:34 +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:
Luke Wilde 2021-10-16 05:25:53 +01:00 committed by Idan Horowitz
parent cb821e1539
commit 126d6d0838
3 changed files with 119 additions and 0 deletions

View file

@ -6,6 +6,7 @@ interface Event {
readonly attribute EventTarget? target;
readonly attribute EventTarget? srcTarget;
readonly attribute EventTarget? currentTarget;
sequence<EventTarget> composedPath();
readonly attribute unsigned short eventPhase;