mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
Formatting.
This commit is contained in:
parent
dbff26bce0
commit
0e8ac3fdac
81 changed files with 588 additions and 206 deletions
|
@ -51,7 +51,11 @@ impl HTMLAudioElement {
|
|||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-audio
|
||||
#[allow(non_snake_case)]
|
||||
pub fn Audio(window: &Window, proto: Option<HandleObject>, src: Option<DOMString>) -> Fallible<DomRoot<HTMLAudioElement>> {
|
||||
pub fn Audio(
|
||||
window: &Window,
|
||||
proto: Option<HandleObject>,
|
||||
src: Option<DOMString>,
|
||||
) -> Fallible<DomRoot<HTMLAudioElement>> {
|
||||
let element = Element::create(
|
||||
QualName::new(None, ns!(html), local_name!("audio")),
|
||||
None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue