Open Bug 1702365 Opened 4 years ago Updated 2 years ago

Implement `dynamic-range` media query (Media Queries Level 5)

Categories

(Core :: CSS Parsing and Computation, enhancement)

Firefox 89
enhancement

Tracking

()

People

(Reporter: schweinepriester, Unassigned)

References

(Blocks 3 open bugs)

Details

(Keywords: dev-doc-needed)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36

Steps to reproduce:

  1. Try to use @media (dynamic-range: high), e.g. on this test page https://codepen.io/argyleink/pen/oNxeWbz by Adam "argyleink" Argyle¹
  2. Test page is solid color

¹ https://github.com/Fyrd/caniuse/issues/5341#issuecomment-811432514

Actual results:

dynamic-range not yet implemented 0:-)

Expected results:

dynamic-range recognised and test page shows icon (https://user-images.githubusercontent.com/2644614/113220649-d6f9d380-9283-11eb-91e0-0cad3904af70.png)

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

Setting this enhancement to New to gain visibility.

Status: UNCONFIRMED → NEW
Ever confirmed: true

Note, this feature is probably most-useful when combined with the CSS color() function (which lets you specify a particular color space), which is bug 1128204. --> Adding a "see-also" for that bug.

Component: Audio/Video: Playback → CSS Parsing and Computation
Blocks: 1742778

To note, we technically implement this media feature now (not sure since when?), see WPTs: https://wpt.fyi/results/css/mediaqueries/dynamic-range.html

But always give standard instead of actually what the system supports as per spec, and there are still some bugs/quirks in our implementation (see WPT failures).

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