mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Fix the form action IDL attributes
The returned string, if the attribute is present and non-empty, should be a URL resolved against the element's document's base URL.
This commit is contained in:
parent
605c679fee
commit
71b015173f
6 changed files with 14 additions and 40 deletions
|
@ -100,7 +100,7 @@ impl HTMLFormElementMethods for HTMLFormElement {
|
|||
make_setter!(SetAcceptCharset, "accept-charset");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-fs-action
|
||||
make_string_or_document_url_getter!(Action, "action");
|
||||
make_form_action_getter!(Action, "action");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-fs-action
|
||||
make_setter!(SetAction, "action");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue