On Tue, 16 Mar 2010 20:17:39 +0100, Marcos Caceres <marc...@opera.com> wrote:
Ok, fair enough - CSSOM might not be the place. Is there a generic CSS mechanism/API to detect query changes?

There is not. There are specific APIs for some features (e.g. the resize event which works for 'width' and 'height'). There is also an API that allows you to figure out whether a media query is "currently" applicable (window.styleMedia.matchMedium).


--
Anne van Kesteren
http://annevankesteren.nl/

Reply via email to