mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #9218 - KiChjang:doc-fix, r=KiChjang
Fix documentation links for EventTarget <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9218) <!-- Reviewable:end -->
This commit is contained in:
commit
08d1c2a4d3
1 changed files with 2 additions and 2 deletions
|
@ -330,13 +330,13 @@ impl EventTarget {
|
|||
!self.handlers.borrow().is_empty()
|
||||
}
|
||||
|
||||
/// Implements https://html.spec.whatwg.org/multipage/#fire-a-simple-event
|
||||
// https://html.spec.whatwg.org/multipage/#fire-a-simple-event
|
||||
pub fn fire_simple_event(&self, name: &str, win: GlobalRef) -> Root<Event> {
|
||||
self.fire_event(name, EventBubbles::DoesNotBubble,
|
||||
EventCancelable::NotCancelable, win)
|
||||
}
|
||||
|
||||
/// Implements more customizable variant of EventTarget::fire_simple_event.
|
||||
// https://dom.spec.whatwg.org/#concept-event-fire
|
||||
pub fn fire_event(&self, name: &str,
|
||||
bubbles: EventBubbles,
|
||||
cancelable: EventCancelable,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue