On Wed, 18 Aug 2010 01:03:15 +0200, L. David Baron <dbaron@dbaron.org> wrote: > Yes, and also the whole point of the proposal was to avoid having to > define when two media queries were equal. Ok so we will have window.matchMediaQuery(single_query) which returns a new object each time it is invoked that implements the following interface interface MediaQuery { // canonicalized form of the media query readonly attribute DOMString query; // whether the media query matches currently readonly attribute boolean result; void addListener(MediaQueryChangeListener listener); void removeListener(MediaQueryChangeListener listener); }; If addListener does not guarantee uniqueness removeListener needs to remove from the end of the list. Is that ok? styleMedia/StyleMedia will be nuked. -- Anne van Kesteren http://annevankesteren.nl/Received on Wednesday, 18 August 2010 08:30:23 UTC
This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:49 UTC