W3C home > Mailing lists > Public > www-style@w3.org > August 2010

Re: [cssom-view] comments on StyleMedia interface

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 18 Aug 2010 18:50:43 +0200
To: "Luiz Agostini" <luiz.agostini@openbossa.org>
Cc: "Simon Fraser" <smfr@me.com>, "L. David Baron" <dbaron@dbaron.org>, www-style@w3.org
Message-ID: <op.vhm7qt0564w2qv@anne-van-kesterens-macbook-pro.local>
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  

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

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:49 UTC