Re: [cssom-view] comments on StyleMedia interface

On Wed, 18 Aug 2010 18:40:20 +0200, Luiz Agostini  
<luiz.agostini@openbossa.org> wrote:
> It looks quite nice.
>
> I still think that there is no point on not accepting lists of media
> queries. It would be nice to accept exactly what @media rule accepts and  
> I see no practical reason to restrict it to single queries.

It seemed that this was what Simon and David preferred. Simon, David?


> Would listener uniqueness be guaranteed per MediaQuery object?

The proposal was to not guarantee it, but see below.


> What would be the order in which the listeners would be called? is it
> specified? If it is then the order in which the listeners are  
> added/removed
> may matter.

They would be invoked in adding order. And you are right that it may  
matter in that case. So removing from end of the list is probably how that  
should be addressed. Or maybe we should just have a function comparison on  
adding.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Wednesday, 18 August 2010 16:51:33 UTC