mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
DOMContentLoaded should bubble.
This commit is contained in:
parent
083d3e0201
commit
eb018c0a04
1 changed files with 1 additions and 1 deletions
|
@ -1352,7 +1352,7 @@ impl Document {
|
||||||
|
|
||||||
let event = Event::new(GlobalRef::Window(self.window()),
|
let event = Event::new(GlobalRef::Window(self.window()),
|
||||||
atom!("DOMContentLoaded"),
|
atom!("DOMContentLoaded"),
|
||||||
EventBubbles::DoesNotBubble,
|
EventBubbles::Bubbles,
|
||||||
EventCancelable::NotCancelable);
|
EventCancelable::NotCancelable);
|
||||||
let doctarget = self.upcast::<EventTarget>();
|
let doctarget = self.upcast::<EventTarget>();
|
||||||
let _ = doctarget.DispatchEvent(event.r());
|
let _ = doctarget.DispatchEvent(event.r());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue