- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Fri, 16 Jan 2015 04:38:21 +0100
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: www-style list <www-style@w3.org>
* Tab Atkins Jr. wrote: >I propose that we allow this by adding a >"supports(<supports-condition>)" function to the end @import grammar, >like: > >``` >@import [ <url> | <string> ] [ <media-query-list> || >supports(<supports-condition>) ]? ; >``` If I am not mistaken, that would not really be at the end, and I am not thrilled about @import url(...) a, b supports(...); @import url(...) supports(...) a, b; since white space usually binds more tightly than the comma, so it looks as though `supports` binds to the `b` in the first example and to `a` in the second example. Also @import url(...) not screen supports(...); seems awkward at first glance, and people might then be tempted to write @import url(...) not supports(...); which looks plausible but does not seem supported by the proposal. -- Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de D-10243 Berlin · PGP Pub. KeyID: 0xA4357E78 · http://www.bjoernsworld.de Available for hire in Berlin (early 2015) · http://www.websitedev.de/
Received on Friday, 16 January 2015 03:38:53 UTC