[whatwg] <video> abort and error should bubble for simplicity

Philip Jägenstedt philipj at opera.com
Wed Nov 11 07:36:35 PST 2009


Since we are no longer using progress events for media elements we don't  
have the external requirement that abort/error shouldn't bubble. I'd like  
them to bubble, because:

1. error events fired on <source> will bubble to <video>, which is quite  
useful if one doesn't particularly care which source failed (one need not  
register an event handler on each individual source attribute)

2. Implementors don't have to deal with the possibility that events of the  
same name and type sometimes bubbles and sometimes not.

3. It's the same as for <img>, which all else equals seems nice and simple.

I'll note that <video> abort/error events in Firefox already seems to  
bubble while they apparently don't in Safari. We'd like to align with  
Firefox and have the spec changed.

-- 
Philip Jägenstedt
Opera Software



More information about the whatwg mailing list