mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01: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
|
@ -93,7 +93,7 @@ impl HTMLButtonElementMethods for HTMLButtonElement {
|
|||
make_setter!(SetType, "type");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-fs-formaction
|
||||
make_url_or_base_getter!(FormAction, "formaction");
|
||||
make_form_action_getter!(FormAction, "formaction");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-fs-formaction
|
||||
make_setter!(SetFormAction, "formaction");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue