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.
Version: 1.22.0
Severity: normal