Re: [cssom-view] why not MediaQueryList.onchange

On Mon, 31 Mar 2014 23:49:20 +0200, Jochen Eisinger <>  

> I see, I guess I was confused by reading
> instead
> of the spec.


> In any case, I still don't understand the benefit of using
> addListener/removeListener over defining a change event?

I guess it was considered to be more light-weight. But I'm not sure of the  

As far as I can tell, WebKit/Blink support function or object with  
handleChange. Gecko supports only function (like the spec). Haven't tested  

Given this, do you still prefer an event over dropping support for  

Simon Pieters
Opera Software

Received on Monday, 31 March 2014 22:13:48 UTC