mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 10:01:13 +09:00
LibWeb: Expose Document.body to the web
Also, make it return a HTMLElement since Document.body should actually return the frameset element in a frame-based document.
This commit is contained in:
parent
319ef8aa86
commit
faff557400
Notes:
sideshowbarker
2024-07-19 05:30:46 +09:00
Author: https://github.com/awesomekling
Commit: faff557400
4 changed files with 5 additions and 2 deletions
|
@ -376,6 +376,7 @@ void generate_implementation(const IDL::Interface& interface)
|
|||
out() << "#include <LibWeb/Bindings/NodeWrapperFactory.h>";
|
||||
out() << "#include <LibWeb/Bindings/" << wrapper_class << ".h>";
|
||||
out() << "#include <LibWeb/DOM/Element.h>";
|
||||
out() << "#include <LibWeb/DOM/HTMLElement.h>";
|
||||
|
||||
out() << "namespace Web {";
|
||||
out() << "namespace Bindings {";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue