mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
LibWeb: Only make certain <body> and <frameset> events apply to Window
Previously we forwarded all event handler attributes to Window from these two elements, however, we are only supposed to forward blur, error, focus, load, resize and scroll.
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 09:52:38 +09:00
Author: https://github.com/Lubrsi Commit: https://github.com/SerenityOS/serenity/commit/ebf2184636 Pull-request: https://github.com/SerenityOS/serenity/pull/14406 Reviewed-by: https://github.com/linusg
@@ -17,6 +17,10 @@ public:
|
||||
|
||||
HTMLFrameSetElement(DOM::Document&, DOM::QualifiedName);
|
||||
virtual ~HTMLFrameSetElement() override;
|
||||
|
||||
private:
|
||||
// ^HTML::GlobalEventHandlers
|
||||
virtual EventTarget& global_event_handlers_to_event_target(FlyString const& event_name) override;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user