mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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()),
|
||||
atom!("DOMContentLoaded"),
|
||||
EventBubbles::DoesNotBubble,
|
||||
EventBubbles::Bubbles,
|
||||
EventCancelable::NotCancelable);
|
||||
let doctarget = self.upcast::<EventTarget>();
|
||||
let _ = doctarget.DispatchEvent(event.r());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue