- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Sun, 23 Jun 2013 20:13:10 -0700
- To: Behrang Saeedzadeh <behrangsa@gmail.com>
- Cc: David Newton <david@davidnewton.ca>, W3C CSS Mailing List <www-style@w3.org>
On Sun, Jun 23, 2013 at 6:17 AM, Behrang Saeedzadeh <behrangsa@gmail.com> wrote: > @Tab, do you by any chance have a reference to the recent thread in which > this was discussed? Thread starts here: http://lists.w3.org/Archives/Public/www-style/2013May/0812.html This was about things that were purely defined in JS, rather than shorthands for existing complex media queries, but my original suggestion can be expanded to fit both cases. For example, we can allow MediaList objects as a valid value for a custom MQ, like: document.css.customMedia.set("myQuery", new MediaList("only screen and (max-width: 480px), only screen and (max-device-width: 480px)")); @media ("myQuery") {...} ~TJ
Received on Monday, 24 June 2013 03:13:56 UTC