This commit refactors ctrlKey to ctrl_key wherever possible.

This commit is contained in:
Arthur Marble 2016-09-17 01:10:12 -05:00
parent 83f687a7be
commit 77170a14bc
6 changed files with 10 additions and 10 deletions

View file

@ -283,7 +283,7 @@ impl Activatable for HTMLButtonElement {
// https://html.spec.whatwg.org/multipage/#implicit-submission
#[allow(unsafe_code)]
fn implicit_submission(&self, ctrlKey: bool, shiftKey: bool, altKey: bool, metaKey: bool) {
fn implicit_submission(&self, ctrl_key: bool, shiftKey: bool, altKey: bool, metaKey: bool) {
let doc = document_from_node(self);
let node = doc.upcast::<Node>();
let owner = self.form_owner();
@ -294,7 +294,7 @@ impl Activatable for HTMLButtonElement {
.filter_map(Root::downcast::<HTMLButtonElement>)
.find(|r| r.form_owner() == owner)
.map(|s| synthetic_click_activation(s.r().as_element(),
ctrlKey,
ctrl_key,
shiftKey,
altKey,
metaKey,