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

       Web browser: ---
            Bug ID: 49722
           Summary: ResourceLoader does not process media queries for
                    printable view with JS-added CSS
           Product: MediaWiki
           Version: unspecified
          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]
    Classification: Unclassified
   Mobile Platform: ---

It seems that the server part of this is already correct.  The client just
needs to add printable=1 to requests for JS-wrapped CSS should include
printable=1, when the page is in print mode (printabable=yes).

This is necessary to make sure that screen CSS is omitted and print CSS is not
wrapped in @media print for this use case.

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

Reply via email to