aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmllabelelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmllabelelement.rs')
-rw-r--r--components/script/dom/htmllabelelement.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/components/script/dom/htmllabelelement.rs b/components/script/dom/htmllabelelement.rs
index af3b51609a3..39869a50f49 100644
--- a/components/script/dom/htmllabelelement.rs
+++ b/components/script/dom/htmllabelelement.rs
@@ -25,20 +25,20 @@ pub struct HTMLLabelElement {
}
impl HTMLLabelElement {
- fn new_inherited(localName: Atom,
+ fn new_inherited(local_name: Atom,
prefix: Option<DOMString>,
document: &Document) -> HTMLLabelElement {
HTMLLabelElement {
htmlelement:
- HTMLElement::new_inherited(localName, prefix, document)
+ HTMLElement::new_inherited(local_name, prefix, document)
}
}
#[allow(unrooted_must_root)]
- pub fn new(localName: Atom,
+ pub fn new(local_name: Atom,
prefix: Option<DOMString>,
document: &Document) -> Root<HTMLLabelElement> {
- Node::reflect_node(box HTMLLabelElement::new_inherited(localName, prefix, document),
+ Node::reflect_node(box HTMLLabelElement::new_inherited(local_name, prefix, document),
document,
HTMLLabelElementBinding::Wrap)
}
@@ -76,7 +76,7 @@ impl Activatable for HTMLLabelElement {
}
// https://html.spec.whatwg.org/multipage/#implicit-submission
- fn implicit_submission(&self, _ctrlKey: bool, _shiftKey: bool, _altKey: bool, _metaKey: bool) {
+ fn implicit_submission(&self, _ctrl_key: bool, _shift_key: bool, _alt_key: bool, _meta_key: bool) {
//FIXME: Investigate and implement implicit submission for label elements
// Issue filed at https://github.com/servo/servo/issues/8263
}