Last modified: 2013-06-26 10:36:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T51851, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49851 - Support comma-separated media queries
Support comma-separated media queries
Status: NEW
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
1.22.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-20 01:44 UTC by Matthew Flaschen
Modified: 2013-06-26 10:36 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Matthew Flaschen 2013-06-20 01:44:59 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links