mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-23 13:57:04 +00: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:
@@ -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 {";
|
||||
|
||||
Reference in New Issue
Block a user