Commit Graph

2 Commits

Author SHA1 Message Date
Tim van der Lippe
aad08bf2a6 Properly initialize related_target in UI events (#40182)
UI events can specify `relatedTarget` themselves. These were correctly
initialized, but this wasn't the case for the base event they extend.
Therefore, we need to initialize the event `relatedTarget` and only
store this information once.

This fixes several `shadow-dom/` tests, which were using these UI events
to test behavior.

Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
2025-10-26 11:36:36 +00:00
Josh Matthews
af8d7c2de7 script: Move code generation and webidl files to new script_bindings crate. (#35157)
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2025-01-24 20:47:43 +00:00