mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibWeb: Return document URL if formAction attribute is missing or empty
This change also ensures that relative URLs are resolved relative to the document's base URL.
This commit is contained in:
parent
f83d082980
commit
c25dda767e
Notes:
github-actions[bot]
2024-09-08 07:48:53 +00:00
Author: https://github.com/tcl3
Commit: c25dda767e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1321
5 changed files with 47 additions and 1 deletions
|
@ -98,6 +98,9 @@ public:
|
|||
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#concept-form-reset-control
|
||||
virtual void reset_algorithm() {};
|
||||
|
||||
String form_action() const;
|
||||
WebIDL::ExceptionOr<void> set_form_action(String const&);
|
||||
|
||||
protected:
|
||||
FormAssociatedElement() = default;
|
||||
virtual ~FormAssociatedElement() = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue