jingo-minify icon indicating copy to clipboard operation
jingo-minify copied to clipboard

the media-attribute

Open icaaq opened this issue 13 years ago • 0 comments

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.

  1. Is there any particular reason for this?
  2. 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 {}.
  3. 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].

icaaq avatar Jun 05 '12 10:06 icaaq