Re: [cssom-view] comments on StyleMedia interface

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.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/

Received on Tuesday, 17 August 2010 23:04:01 UTC