mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00: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:
parent
a50a48f6b4
commit
ebf2184636
Notes:
sideshowbarker
2024-07-17 09:52:38 +09:00
Author: https://github.com/Lubrsi
Commit: ebf2184636
Pull-request: https://github.com/SerenityOS/serenity/pull/14406
Reviewed-by: https://github.com/linusg
11 changed files with 37 additions and 16 deletions
|
@ -54,7 +54,7 @@ protected:
|
|||
|
||||
private:
|
||||
// ^HTML::GlobalEventHandlers
|
||||
virtual DOM::EventTarget& global_event_handlers_to_event_target() override { return *this; }
|
||||
virtual DOM::EventTarget& global_event_handlers_to_event_target(FlyString const&) override { return *this; }
|
||||
|
||||
enum class ContentEditableState {
|
||||
True,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue