We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0602931 commit c96de5dCopy full SHA for c96de5d
1 file changed
cssom-view-1/Overview.bs
@@ -908,19 +908,6 @@ compatibility reasons.
908
909
Note: Some non-conforming implementations are known to return 32 instead of 24.
910
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>
924
925
<h2 id=extensions-to-the-document-interface>Extensions to the {{Document}} Interface</h2>
926
0 commit comments