mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibWeb: Add a whole bunch of HTML DOM bindings
Note that these aren't full implementations of the bindings. This mostly implements the low hanging fruit (namely, basic reflections) There are some attributes that should be USVString instead of DOMString. However, USVString is a slightly different definition of DOMString, so it should suffice for now.
This commit is contained in:
@@ -32,6 +32,8 @@ namespace Web {
|
||||
|
||||
class HTMLIFrameElement final : public HTMLElement {
|
||||
public:
|
||||
using WrapperType = Bindings::HTMLIFrameElementWrapper;
|
||||
|
||||
HTMLIFrameElement(DOM::Document&, const FlyString& local_name);
|
||||
virtual ~HTMLIFrameElement() override;
|
||||
|
||||
@@ -40,7 +42,7 @@ public:
|
||||
Frame* hosted_frame() { return m_hosted_frame; }
|
||||
const Frame* hosted_frame() const { return m_hosted_frame; }
|
||||
|
||||
const DOM::Document* hosted_document() const;
|
||||
const DOM::Document* content_document() const;
|
||||
|
||||
private:
|
||||
virtual void document_did_attach_to_frame(Frame&) override;
|
||||
|
||||
Reference in New Issue
Block a user