aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmloutputelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmloutputelement.rs')
-rw-r--r--components/script/dom/htmloutputelement.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/components/script/dom/htmloutputelement.rs b/components/script/dom/htmloutputelement.rs
index 548c81bb1b4..12d2e415ae1 100644
--- a/components/script/dom/htmloutputelement.rs
+++ b/components/script/dom/htmloutputelement.rs
@@ -114,6 +114,12 @@ impl HTMLOutputElementMethods for HTMLOutputElement {
fn Type(&self) -> DOMString {
return DOMString::from("output");
}
+
+ // https://html.spec.whatwg.org/multipage/#dom-fe-name
+ make_atomic_setter!(SetName, "name");
+
+ // https://html.spec.whatwg.org/multipage/#dom-fe-name
+ make_getter!(Name, "name");
}
impl VirtualMethods for HTMLOutputElement {