mirror of
https://github.com/servo/servo.git
synced 2025-07-23 23:33:43 +01:00
Modify script
to prevent further violations of snake_case
This commit is contained in:
parent
2a594821ba
commit
f7db4b7f80
135 changed files with 205 additions and 54 deletions
|
@ -49,6 +49,7 @@ impl HTMLAudioElement {
|
|||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-audio
|
||||
#[allow(non_snake_case)]
|
||||
pub fn Audio(window: &Window, src: Option<DOMString>) -> Fallible<DomRoot<HTMLAudioElement>> {
|
||||
let document = window.Document();
|
||||
let audio = HTMLAudioElement::new(local_name!("audio"), None, &document);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue