- From: Anne van Kesteren <annevk@opera.com>
- Date: Tue, 16 Mar 2010 21:23:49 +0100
- To: "Marcos Caceres" <marcosc@opera.com>
- Cc: "Daniel Glazman" <daniel.glazman@disruptive-innovations.com>, public-webapps@w3.org, www-style@w3.org, "Robin Berjon" <robin@berjon.com>
On Tue, 16 Mar 2010 20:17:39 +0100, Marcos Caceres <marcosc@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/
Received on Tuesday, 16 March 2010 20:24:32 UTC