Re: [cssom] comments on MediaQueryList

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 UTC