mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
This commit refactors ctrlKey to ctrl_key wherever possible.
This commit is contained in:
parent
83f687a7be
commit
77170a14bc
6 changed files with 10 additions and 10 deletions
|
@ -1275,7 +1275,7 @@ impl Activatable for HTMLInputElement {
|
|||
|
||||
// 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();
|
||||
|
@ -1295,7 +1295,7 @@ impl Activatable for HTMLInputElement {
|
|||
Some(ref button) => {
|
||||
if button.is_instance_activatable() {
|
||||
synthetic_click_activation(button.as_element(),
|
||||
ctrlKey,
|
||||
ctrl_key,
|
||||
shiftKey,
|
||||
altKey,
|
||||
metaKey,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue