mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Formatting.
This commit is contained in:
parent
dbff26bce0
commit
0e8ac3fdac
81 changed files with 588 additions and 206 deletions
|
@ -50,7 +50,11 @@ impl TransitionEvent {
|
|||
type_: Atom,
|
||||
init: &TransitionEventInit,
|
||||
) -> DomRoot<TransitionEvent> {
|
||||
let ev = reflect_dom_object2(Box::new(TransitionEvent::new_inherited(init)), window, proto);
|
||||
let ev = reflect_dom_object2(
|
||||
Box::new(TransitionEvent::new_inherited(init)),
|
||||
window,
|
||||
proto,
|
||||
);
|
||||
{
|
||||
let event = ev.upcast::<Event>();
|
||||
event.init_event(type_, init.parent.bubbles, init.parent.cancelable);
|
||||
|
@ -65,7 +69,12 @@ impl TransitionEvent {
|
|||
type_: DOMString,
|
||||
init: &TransitionEventInit,
|
||||
) -> Fallible<DomRoot<TransitionEvent>> {
|
||||
Ok(TransitionEvent::new_with_proto(window, proto, Atom::from(type_), init))
|
||||
Ok(TransitionEvent::new_with_proto(
|
||||
window,
|
||||
proto,
|
||||
Atom::from(type_),
|
||||
init,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue