Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 5f069c1d74d68a72be823c216e79abd4e8f6f78c 1 parent 1dcc94c
scottjehl authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  README.md
2  README.md
View
@@ -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?
======
Please sign in to comment.
Something went wrong with that request. Please try again.