mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +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 SubmitEvent {
|
|||
cancelable: bool,
|
||||
submitter: Option<DomRoot<HTMLElement>>,
|
||||
) -> DomRoot<SubmitEvent> {
|
||||
let ev = reflect_dom_object2(Box::new(SubmitEvent::new_inherited(submitter)), global, proto);
|
||||
let ev = reflect_dom_object2(
|
||||
Box::new(SubmitEvent::new_inherited(submitter)),
|
||||
global,
|
||||
proto,
|
||||
);
|
||||
{
|
||||
let event = ev.upcast::<Event>();
|
||||
event.init_event(type_, bubbles, cancelable);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue