Skip to content

Commit 05cd31d

Browse files
committed
fix bikeshed compile errors and addressed reviews regarding dynamic-range
1 parent afb463f commit 05cd31d

1 file changed

Lines changed: 29 additions & 28 deletions

File tree

mediaqueries-4/Overview.bs

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1706,45 +1706,47 @@ Dynamic Range: the 'dynamic-range' feature</h3>
17061706
</pre>
17071707
</h3>
17081708

1709-
High dynamic range (HDR) represents the combination of brightness, color depth, transfer function, and color gamut.
1709+
'@media/dynamic-range' represents the combination of brightness and color
1710+
depth.
17101711

1711-
<dl dfn-type=value dfn-for="dynamic-range">
1712+
<dl dfn-type=value dfn-for="@media/dynamic-range">
17121713
<dt><dfn>high</dfn>
17131714
<dd>
17141715
If the following are true for the UA and the output device:
17151716
* max brightness is considered high
17161717
* color depth is greater than 24 bit
1717-
* has a <a href="#contrast-of-display">high contrast ratio</a>
1718+
* has a <a>high contrast ratio</a>
17181719
<dt><dfn>standard</dfn>
17191720
<dd>
17201721
If the following are true for the UA and the output device:
1721-
* max brightness is considered standards
1722+
* max brightness is considered standard
17221723
* color depth is 24 bit or 8 bit per color component of RGB
1723-
* has a <a href="#contrast-of-display">low contrast ratio</a>
1724+
* has a <a>low contrast ratio</a>
17241725
</dl>
17251726

17261727
<h3 id="contrast-brightness-of-display">
17271728
Determining contrast and brightness of display</h3>
17281729

17291730
This text is non-normative. There currently is no agreed upon standardization of
1730-
high contrast ratio, low contrast ratio, max brightness or low brightness as it
1731-
relates to displays. As such, the determination for <a>dynamic-range</a> and
1732-
<a>video-dymanic-range</a> will be defined by the user agent.
1731+
<dfn export>high contrast ratio</dfn>, <dfn export>low contrast ratio</dfn>,
1732+
max brightness or low brightness as it relates to displays. As such, the
1733+
determination for '@media/dynamic-range' and '@media/video-dynamic-range' will
1734+
be defined by the user agent.
17331735

17341736
<h3 id="video-prefixed-properties">
1735-
Handling bi-plane scenarios</h3>
1737+
Video Prefixed Properties scenarios</h3>
17361738

1737-
In some scenarios, such as TVs, the user agents may have a graphics
1738-
plane dedicated to video that has its own discrete hardware. In order
1739-
to allow UAs in environments that have more than one plane for graphics
1740-
rendering the following properties should be used to correctly answer
1741-
video specific queries.
1739+
Some user agents, including many TVs, render video and graphics in two
1740+
separate "planes" (bi-plane) with distinct screen characteristics. A set of
1741+
video-prefixed features is provided to describe the video plane.
17421742

1743-
For any UA on a bi-plane device you **MUST** return the values for:
1744-
<a>video-color-gamut</a>; <a>video-width</a>; <a>video-height</a>; <a>video-resolution</a>;
1745-
<a>video-dynamic-range</a>; based on the plane that renders video. If the UA is not in a bi-plane
1746-
scenario then it **MUST** return the values of the single plane
1747-
(they're effectively aliases to their non-video counterparts).
1743+
Any bi-plane implementation **MUST** return values based on the video plane
1744+
for the following features: '@media/video-color-gamut'; '@media/video-width';
1745+
'@media/video-height'; '@media/video-resolution'; '@media/video-dynamic-range'.
1746+
All other features **MUST** return values based on the graphics plane.
1747+
1748+
Non bi-plane implementations **MUST** return the same values for
1749+
video-prefixed features and their non-prefixed counterparts.
17481750

17491751
<h3 id="video-color-gamut">
17501752
Video Color Display Quality: the 'video-color-gamut' feature</h3>
@@ -1757,7 +1759,7 @@ Video Color Display Quality: the 'video-color-gamut' feature</h3>
17571759
</pre>
17581760
</h3>
17591761

1760-
The 'video-color-gamut' media feature describes the approximate range of colors
1762+
The '@media/video-color-gamut' media feature describes the approximate range of colors
17611763
that are supported by the UA and output device's video plane.
17621764
That is, if the UA receives content with colors in the specified space
17631765
it can cause the output device to render the appropriate color,
@@ -1776,21 +1778,22 @@ Video Dynamic Range: the 'video-dynamic-range' feature</h3>
17761778
</pre>
17771779
</h3>
17781780

1779-
High dynamic range (HDR) represents the combination of brightness, color depth, transfer function, and color gamut.
1781+
'@media/video-dynamic-range' has the same values and definitions as '@media/dynamic-range',
1782+
but describes the UA's and device's video plane.
17801783

17811784
<dl dfn-type=value dfn-for="video-dynamic-range">
17821785
<dt><dfn>high</dfn>
17831786
<dd>
17841787
If the following are true for the UA and the output device's video plane:
1785-
* color gamut is <a>p3</a> or <a>rec2020</a>
1788+
* color gamut is ''p3'' or ''rec2020''
17861789
* color depth is greater than 24 bit
1787-
* has a <a href="#contrast-of-display">high contrast ratio</a>
1790+
* has a high contrast ratio
17881791
<dt><dfn>standard</dfn>
17891792
<dd>
17901793
If the following are true for the UA and the output device's video plane:
1791-
* color gamut is <a>sRGB</a>
1794+
* color gamut is sRGB
17921795
* color depth is 24 bit or 8 bit per color component of RGB
1793-
* has a <a href="#contrast-of-display">low contrast ratio</a>
1796+
* has a low contrast ratio
17941797
</dl>
17951798

17961799
<h3 id="video-width">
@@ -1840,14 +1843,12 @@ Video Display Resolution: the 'video-resolution' feature</h3>
18401843
Type: range
18411844
</pre>
18421845

1843-
The 'video-resolution' media feature describes the resolution of the output
1846+
The '@media/video-resolution' media feature describes the resolution of the output
18441847
device's video plane, i.e. the density of the pixels, taking into account the <a spec=cssom-view>page zoom</a>
18451848
but assuming a <a spec=cssom-view>pinch zoom</a> of 1.0.
18461849

18471850
The 'video-resolution' media feature is <a>false in the negative range</a>
18481851

1849-
<p class="issue">There needs to be a solution for dynamic range</p>
1850-
18511852
<!--
18521853
████ ██ ██ ████████ ████████ ████████ ███ ██████ ████████ ████ ███████ ██ ██
18531854
██ ███ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ███ ██

0 commit comments

Comments
 (0)