print @media CSS and enyo.machine.sheet

I'm unable to include a print stylesheet using enyo.depends (in debug mode) because the node is given the media="screen" attribute by enyo.machine.sheet. I've commented this out and things seem to work fine but curious if there's rationale behind that decision I'm overlooking.


  • No, I don't know why we put screen in there... it's been there since the original code that Scott Miles committed back at the start of Enyo 2.

    My only guess on the rationale was that since we have a lot of UI-specific classes in our libraries, we thought they shouldn't apply for non-screen users.

    A PR for this would likely be accepted.
Sign In or Register to comment.