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

       Web browser: ---
            Bug ID: 49851
           Summary: Support comma-separated media queries
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Change tagging
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Currently, comma separated media query lists
(https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Media_queries#comma-separated_lists)
are not supported by OutputPage::transformCssMedia .

They should behave as expected given the request parameters.  For example, for:

print, screen and (max-width: 700px)

on a printable=yes request, it should be transformed to an empty media string
(since it satisfies the print rule).  Similarly, for:

handheld, screen and (max-width: 700px)

it should become an empty string on a handheld=yes request.

Stylesheets that are screen-only should not be included for printable=yes
views, even if it's comma-separated.

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