diff options
Diffstat (limited to 'components/script/dom/htmlformelement.rs')
-rw-r--r-- | components/script/dom/htmlformelement.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/components/script/dom/htmlformelement.rs b/components/script/dom/htmlformelement.rs index 0e8b6174ab5..a1fdd34e82a 100644 --- a/components/script/dom/htmlformelement.rs +++ b/components/script/dom/htmlformelement.rs @@ -736,8 +736,8 @@ impl<'a> FormSubmitter<'a> { }, FormSubmitter::ButtonElement(button_element) => { button_element.get_form_attribute(&atom!("formenctype"), - |i| i.FormAction(), - |f| f.Action()) + |i| i.FormEnctype(), + |f| f.Enctype()) } }; match &*attr { @@ -759,8 +759,8 @@ impl<'a> FormSubmitter<'a> { }, FormSubmitter::ButtonElement(button_element) => { button_element.get_form_attribute(&atom!("formmethod"), - |i| i.FormAction(), - |f| f.Action()) + |i| i.FormMethod(), + |f| f.Method()) } }; match &*attr { @@ -780,8 +780,8 @@ impl<'a> FormSubmitter<'a> { }, FormSubmitter::ButtonElement(button_element) => { button_element.get_form_attribute(&atom!("formtarget"), - |i| i.FormAction(), - |f| f.Action()) + |i| i.FormTarget(), + |f| f.Target()) } } } |