aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlinputelement.rs
diff options
context:
space:
mode:
authorArthur Marble <arthur@info9.net>2016-09-17 01:20:51 -0500
committerArthur Marble <arthur@info9.net>2016-09-17 20:31:46 -0500
commitfd0622a74195092b8873f497727bc654c40729be (patch)
treed6334d4b54239173cafb58ebbe08d7d80d32b972 /components/script/dom/htmlinputelement.rs
parent77170a14bc05fdf2ee420fd94fd661f19318ee64 (diff)
downloadservo-fd0622a74195092b8873f497727bc654c40729be.tar.gz
servo-fd0622a74195092b8873f497727bc654c40729be.zip
This commit refactors shiftKey to shift_key where possible.
Diffstat (limited to 'components/script/dom/htmlinputelement.rs')
-rw-r--r--components/script/dom/htmlinputelement.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmlinputelement.rs b/components/script/dom/htmlinputelement.rs
index 46fc0724b31..a9f99ec20e1 100644
--- a/components/script/dom/htmlinputelement.rs
+++ b/components/script/dom/htmlinputelement.rs
@@ -1275,7 +1275,7 @@ impl Activatable for HTMLInputElement {
// https://html.spec.whatwg.org/multipage/#implicit-submission
#[allow(unsafe_code)]
- fn implicit_submission(&self, ctrl_key: bool, shiftKey: bool, altKey: bool, metaKey: bool) {
+ fn implicit_submission(&self, ctrl_key: bool, shift_key: bool, altKey: bool, metaKey: bool) {
let doc = document_from_node(self);
let node = doc.upcast::<Node>();
let owner = self.form_owner();
@@ -1296,7 +1296,7 @@ impl Activatable for HTMLInputElement {
if button.is_instance_activatable() {
synthetic_click_activation(button.as_element(),
ctrl_key,
- shiftKey,
+ shift_key,
altKey,
metaKey,
ActivationSource::NotFromClick)