Re: [cssom-view] addMediumListener / removeMediumListener

Hi there,

A few immediate comments:

Shouldn't MediaQueryCallback be called MediaQueryListener instead? for
similarity with EventListener.

What do you mean with "Each Window has an associated list of media
query listeners.". Is it possible to access this list via the DOM
somehow?

Cheers,
Kenneth

On Tue, May 25, 2010 at 11:30 AM, Anne van Kesteren <annevk@opera.com> wrote:
> Taking no answer to my endorsement of the proposal of David Baron as a
> tentative yes I added addMediumListener and removeMediumListener to the
> draft of CSSOM View. It was a little bit more complex than I thought so I'd
> appreciate it if people gave it a good look for errors. They're part of the
> StyleMedia interface.
>
> http://dev.w3.org/csswg/cssom-view/#the-stylemedia-interface
>
> I re-used terminology as much as possible. The only exception is that I used
> the interface prefix MediaQuery rather than Media (as would be logical given
> MediaList) to prevent potential future clashes with the media elements in
> HTML.
>
>
> --
> Anne van Kesteren
> http://annevankesteren.nl/
>
>



-- 
Kenneth Rohde Christiansen
Technical Lead / Senior Software Engineer
Qt Labs Americas, Nokia Technology Institute, INdT
Phone  +55 81 8895 6002 / E-mail kenneth.christiansen at openbossa.org

Received on Tuesday, 25 May 2010 15:20:10 UTC