Skip to content
This repository was archived by the owner on Jan 9, 2019. It is now read-only.
This repository was archived by the owner on Jan 9, 2019. It is now read-only.

the media-attribute #28

@icaaq

Description

@icaaq

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].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions