W3C home > Mailing lists > Public > www-style@w3.org > June 2020

[mediaqueries-5] Updated Working Draft of Media Queries Level 5

From: Florian Rivoal <florian@rivoal.net>
Date: Thu, 4 Jun 2020 19:06:54 +0900
Message-Id: <42995500-7467-481D-80D2-392FADE53638@rivoal.net>
Cc: public-review-announce@w3.org
To: www-style list <www-style@w3.org>
The CSS Working Group has published an updated Working Draft of Media Queries Level 5

    https://www.w3.org/TR/mediaqueries-5/

Media Queries allow authors to test and query values or features of the user agent or display device, independent of the document being rendered. They are used in the CSS @media rule to conditionally apply styles to a document, and in various other contexts and languages, such as HTML and JavaScript.

This update adds set of media features specific to devices with a separate "plane" used to render videos (https://www.w3.org/TR/mediaqueries-5/#video-prefixed-features), as well as one to inquire about the dynamic range of a device (https://www.w3.org/TR/mediaqueries-5/#dynamic-range).

This comes on top of various media features added since Media Queries Level 4 by the earlier First Public Working Draft of Level 5:
* A set of media features (prefers-reduced-motion, prefers-reduced-transparency, prefers-contrast, prefers-color-scheme) to let authors respond to various preferences expressed by the user.
* forced-colors, a media feature to detect the fact that the User Agent has forcibly applied to the page a user-chosen color scheme.
* A section on custom Media Queries, and two media features (light-level and inverted-colors) that had been dropped from Level 4 when publishing it as a Candidate Recommendation.

All significant changes are listed at:
    https://www.w3.org/TR/2020/WD-mediaqueries-5-20200603/#changes

Please send any comments to the mailing list <www-style@w3.org>, prefixed with [mediaqueries-5] (as I did on this message) or (preferably) file them in the GitHub repository at https://github.com/w3c/csswg-drafts/issues with the spec code [mediaqueries-5] and your comment topic in the subject line.

For the CSS WG,
—Florian Rivoal
Received on Thursday, 4 June 2020 10:07:17 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:15 UTC