Skip to content

Commit c744c35

Browse files
committed
[mediaqueries-5] Change dynamic-range to nested sets rather than alternatives
Closes #6793
1 parent b91332e commit c744c35

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

mediaqueries-5/Overview.bs

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1889,22 +1889,33 @@ Dynamic Range: the 'dynamic-range' feature
18891889
18901890

18911891
'@media/dynamic-range' represents the combination of max brightness,
1892-
color depth, and contrast ratio that are supported by the UA and output device.
1892+
color depth, and contrast ratio that are supported by the user agent and output device.
18931893

18941894
18951895
high
18961896
1897-
The combination of the user agent and the output device
1897+
The user agent and the output device
18981898
fulfill all of the following criteria:
18991899
* it has a [=high peak brightness=]
19001900
* it has a [=high contrast ratio=]
19011901
* its color depth is greater than 24 bit or 8 bit per color component of RGB
1902+
1903+
Note: Some devices have high dynamic range capabilities that are not always on,
1904+
and that need to be activated
1905+
(sometimes programmatically, sometimes by the user, sometimes based on the content).
1906+
This media feature does not test whether such a mode is active,
1907+
just whether the device is capable of high dynamic range visuals.
1908+
19021909
standard
19031910
1904-
One or more of the criteria for a ''dynamic-range/high'' 'dynamic-range'
1905-
is not fulfilled.
1911+
This value matches on any visual device,
1912+
and not on devices lacking visual capabilities.
19061913
19071914

1915+
Note: More than one value of this media feature can match simulataneously:
1916+
a user agent matching ''dynamic-range/high''
1917+
will also match ''dynamic-range/standard''.
1918+
19081919

19091920
Determining contrast and brightness of display
19101921

0 commit comments

Comments
 (0)