https://bugzilla.wikimedia.org/show_bug.cgi?id=43942

       Web browser: ---
            Bug ID: 43942
           Summary: On printable requests, transformCssMedia does not
                    return null for screen media types using a media query
           Product: MediaWiki
           Version: 1.21-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ResourceLoader
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

On a printable request, the screen stylesheets should not be rendered. 
However, if the screen type is a media query, it will be.

This is because it is not taken into account by OutputPage::transformCssMedia. 
On a printable request

OutputPage::transformCssMedia( 'screen and (min-width: 982px)' )

should return null, but the input is returned intact.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to