[ACCEPTED]-HTML DOM: Which events do not bubble?-event-bubbling

Accepted answer
Score: 31

HTML frame/object

  • load
  • unload
  • scroll (except that a scroll event on document must bubble to the window)

HTML form

  • focus
  • blur

Mutation

  • DOMNodeRemovedFromDocument
  • DOMNodeInsertedIntoDocument

Progress

  • loadstart
  • progress
  • error
  • abort
  • load
  • loadend

From: https://en.wikipedia.org/wiki/DOM_events#Events

0

Score: 12

Any events specific to one element do not 2 bubble: focus, blur, load, unload, change, reset, scroll, most 1 of the DOM events (DOMFocusIn, DOMFocusOut, DOMNodeRemoved, etc), mouseenter, mouseleave, etc

Score: 8

I can't list all the events that do not 3 bubble.

But I find a good site that can 2 help you to check if the events can bubble 1 or not.

@MDN event.bubbles

Score: 3

In addition to the rest answers, the load event 5 on document elements bubbles, but it stops 4 bubbling at the Document object and does 3 not propagate on to the Window object. The 2 load event of the Window object is triggered 1 only when the entire document has loaded.

Score: 2

focus and blur events do not bubble

0

More Related questions