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

Re: [cssom-view] addMediumListener / removeMediumListener

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 27 May 2010 10:33:15 +0200
To: "Luiz Agostini" <luiz.agostini@openbossa.org>
Cc: www-style@w3.org, marcosc@opera.com
Message-ID: <op.vdcvdpxo64w2qv@annevk-t60>
On Wed, 26 May 2010 17:10:04 +0200, Luiz Agostini  
<luiz.agostini@openbossa.org> wrote:
> Could we use the names addMediaListener, removeMediaListener and  
> matchMedia and accept media query lists?

I rather not change the name of matchMedium() yet again. Unless you get  
buy-in from Simon Fraser somehow :-) Making everything accept lists could  
work though.

> If we do that we will need to specify how to compare media query lists. A
> preliminary suggestion is:

Can't we just order them in specified order? That's how it currently  
works. Though I guess it would be nice if "all, not all" and "not all,  
all" are the same...

At this point some thoughts from implementors would be nice.

Anne van Kesteren
Received on Thursday, 27 May 2010 08:34:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:46 UTC