transition events bubble up grrrrrr
transition events bubble up grrrrrr

<niloy> can someone tell me if transition events are suppose to bubble up?
* sicking has quit (Quit: sicking)
<TabAtkins> niloy: http://dev.w3.org/csswg/css-transitions/#transitionend
<niloy> so the problem is, I have 'transitionend' on a parent element which I am interesed in, but a third party component is also using transition inside it
<niloy> its bubbling up and messing up my code
<niloy> the third party component is simply having transition effects
* ehsan (~ehsan@66.207.208.102) has joined #whatwg
<niloy> how should I handle this case?
<TabAtkins> You've gotta figure out some way to distinguish the component's events from the ones you're interested in.
<niloy> TabAtkins, okay... thanks, I would assume there are valid use cases for having the event bubble up
<TabAtkins> Yeah, it's so you can put a listener on a parent element and listen to events from a bunch of children, rather than having to register individual listeners on everything.
<niloy> but that can be said about 'load' & 'focus' too
<TabAtkins> Sure.  A lot of events bubble.  Some don't.  The reasoning is often historical.
<niloy> okay!

niloy/Neo