Browse files

updated readme with a note on media attribute usage. Great news: they…

… work, but it's currently an either/or situation between media attribute-based queries and internal CSS media queries on a single stylesheet. If both are present on a single stylesheet, the internal queries will be parsed but the attribute will be ignored (always true).

I plan to remove this limitation soon, but it's a start!
  • Loading branch information...
1 parent 1dcc94c commit 5f069c1d74d68a72be823c216e79abd4e8f6f78c scottjehl committed Apr 10, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0
@@ -52,6 +52,8 @@ Some notes to keep in mind:
- While this script has been tested against very complex responsive designs, I make no guarantees that it will work with yours. Feel free to file an issue if it doesn't work as described, and I might be able to help you out!
+- Currently, media attributes on link elements are supported, but only if the linked stylesheet contains no media queries. If it does contain queries, the media attribute will be ignored and the internal queries will be parsed normally.
How's it work?

0 comments on commit 5f069c1

Please sign in to comment.