W3C home > Mailing lists > Public > www-style@w3.org > June 2011

Re: [cssom] comments on MediaQueryList

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 23 Jun 2011 15:49:33 +0000 (UTC)
To: Anne van Kesteren <annevk@opera.com>
Cc: www-style@w3.org, "L. David Baron" <dbaron@dbaron.org>
Message-ID: <Pine.LNX.4.64.1106231549110.20871@ps20323.dreamhostps.com>
On Thu, 23 Jun 2011, Anne van Kesteren wrote:
>
> > Also, the spec currently says:
> >  # If the associated media query list changes in evaluation then,
> >  # for each listener in the list of media query list listeners — in
> >  # appending order, queue a task that invokes the listener, passing
> >  # as argument the MediaQueryList object.
> > I'm not sure if "queue a task" is quite sufficient, since we may
> > want to run these listeners earlier if something happens first that
> > wants to flush style data.  I don't know if the spec has a good way
> > of describing that, though.  (Also, I hope the definition of "queue
> > a task" allows timer-based refreshing where on each refresh we flush
> > different things based on the scope of what they can change
> > (content, style, layout).)
> 
> I am not sure how to resolve this. Ian, do you maybe have any ideas? The
> relevant text can be found here (for now):
> 
> http://dev.w3.org/csswg/cssom-view/#the-mediaquerylist-interface

I don't fully follow the problem here. Can you elaborate?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 23 June 2011 15:50:08 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:41 GMT