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

Re: [cssom-view] comments on StyleMedia interface

From: L. David Baron <dbaron@dbaron.org>
Date: Tue, 17 Aug 2010 19:03:15 -0400
To: Simon Fraser <smfr@me.com>
Cc: Anne van Kesteren <annevk@opera.com>, www-style@w3.org
Message-ID: <20100817230315.GA7207@pickering.dbaron.org>
On Tuesday 2010-08-17 15:55 -0700, Simon Fraser wrote:
> The problem with that is that the UA has to then keep MediaQuery
> objects around for the lifetime of the document, whether or not
> anyone registers any listeners on them, and since you could spew
> thousands of different queries at matchMedia(), that would be bad.

Yes, and also the whole point of the proposal was to avoid having to
define when two media queries were equal.


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Tuesday, 17 August 2010 23:04:01 UTC

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