Skip to content

Commit c96de5d

Browse files
committed
[cssom-view] remove eroneous HDR example, closes w3c#5378
1 parent 0602931 commit c96de5d

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

cssom-view-1/Overview.bs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -908,19 +908,6 @@ compatibility reasons.
908908

909909
Note: Some non-conforming implementations are known to return 32 instead of 24.
910910

911-
<div class='example'>
912-
<code>colorDepth</code> can be used in the context of selecting SDR/HDR in
913-
addition with other information. For example, combined with color gamut.
914-
915-
<pre highlight=javascript>
916-
if (screen.colorDepth >= 48 && window.matchMedia('(color-gamut: p3)').matches &&
917-
/* other checks */) {
918-
// Use HDR content.
919-
} else {
920-
// Use SDR content.
921-
}
922-
</pre>
923-
</div>
924911

925912
<h2 id=extensions-to-the-document-interface>Extensions to the {{Document}} Interface</h2>
926913

0 commit comments

Comments
 (0)