mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 03:09:08 +00:00
LibWeb: Return current document URL if form action missing or empty
This commit is contained in:
committed by
Andreas Kling
parent
4877e7593c
commit
34825ad3d1
@@ -18,7 +18,7 @@ public:
|
||||
HTMLFormElement(DOM::Document&, QualifiedName);
|
||||
virtual ~HTMLFormElement() override;
|
||||
|
||||
String action() const { return attribute(HTML::AttributeNames::action); }
|
||||
String action() const;
|
||||
String method() const { return attribute(HTML::AttributeNames::method); }
|
||||
|
||||
void submit_form(RefPtr<HTMLElement> submitter, bool from_submit_binding = false);
|
||||
|
||||
Reference in New Issue
Block a user