mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Refactored metaKey to meta_key where possible
This commit is contained in:
parent
bdbc04409d
commit
5ce3510a50
6 changed files with 10 additions and 10 deletions
|
@ -283,7 +283,7 @@ impl Activatable for HTMLButtonElement {
|
|||
|
||||
// https://html.spec.whatwg.org/multipage/#implicit-submission
|
||||
#[allow(unsafe_code)]
|
||||
fn implicit_submission(&self, ctrl_key: bool, shift_key: bool, alt_key: bool, metaKey: bool) {
|
||||
fn implicit_submission(&self, ctrl_key: bool, shift_key: bool, alt_key: bool, meta_key: bool) {
|
||||
let doc = document_from_node(self);
|
||||
let node = doc.upcast::<Node>();
|
||||
let owner = self.form_owner();
|
||||
|
@ -297,7 +297,7 @@ impl Activatable for HTMLButtonElement {
|
|||
ctrl_key,
|
||||
shift_key,
|
||||
alt_key,
|
||||
metaKey,
|
||||
meta_key,
|
||||
ActivationSource::NotFromClick));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue