jingo-minify
jingo-minify copied to clipboard
the media-attribute
In https://github.com/jsocol/jingo-minify/blob/master/jingo_minify/helpers.py the media-attribute is set to screen,projection,tv if it's not set by the media-param.
- Is there any particular reason for this?
- For performance it's better to just include one css-file and specify the media inside of that with eg.
@media print{}or/and@media handheld {}. - I think it would be more appropriate to not add the media-attribute at all, In HTML5 If the media attribute is omitted, it defaults to "all". [http://developers.whatwg.org/semantics.html#attr-link-media].