diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2017-10-11 10:09:42 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2017-10-11 13:56:10 +0200 |
commit | 71b015173f1f1d65dd92a81ad1fc2dc2aaec8c37 (patch) | |
tree | 76421cefd966a5a09a015765da221689067a829e /components/script/dom/htmlformelement.rs | |
parent | 605c679fee29302321878a74b88aa7165519b516 (diff) | |
download | servo-71b015173f1f1d65dd92a81ad1fc2dc2aaec8c37.tar.gz servo-71b015173f1f1d65dd92a81ad1fc2dc2aaec8c37.zip |
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.
Diffstat (limited to 'components/script/dom/htmlformelement.rs')
-rwxr-xr-x | components/script/dom/htmlformelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlformelement.rs b/components/script/dom/htmlformelement.rs index a61b7bf3e51..b58194bed62 100755 --- a/components/script/dom/htmlformelement.rs +++ b/components/script/dom/htmlformelement.rs @@ -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"); |