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:
Anthony Ramine 2017-10-11 10:09:42 +02:00
parent 605c679fee
commit 71b015173f
6 changed files with 14 additions and 40 deletions

View file

@ -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");