You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>The <dfnid="dom-screen-height" title="dom-Screen-height"><code>height</code></dfn> attribute must return the height of the output device.</p>
707
707
708
-
<p>The <dfnid="dom-screen-colordepth" title="dom-Screen-colorDepth"><code>colorDepth</code></dfn> attribute must return the number of bits allocated to
709
-
colors (i.e. excluding the alpha channel) for one device pixel in the output device. If no
710
-
bits are allocated to colors in the output device this attribute
711
-
must return zero.</p>
708
+
<p>The <dfnid="dom-screen-colordepth" title="dom-Screen-colorDepth"><code>colorDepth</code></dfn> attribute must return 24.</p>
712
709
713
-
<p>The <dfnid="dom-screen-pixeldepth" title="dom-Screen-pixelDepth"><code>pixelDepth</code></dfn> attribute must return the value returned by the
<p>The <dfnid="dom-screen-pixeldepth" title="dom-Screen-pixelDepth"><code>pixelDepth</code></dfn> attribute must return 24.</p>
711
+
712
+
<pclass="note">The <codetitle="dom-Screen-colorDepth"><ahref="#dom-screen-colordepth">colorDepth</a></code> and <codetitle="dom-Screen-pixelDepth"><ahref="#dom-screen-pixeldepth">pixelDepth</a></code> attributes are useless but are
713
+
included for compatibility.
715
714
716
715
717
716
<h2id="extensions-to-the-document-interface"><spanclass="secno">6 </span>Extensions to the <codetitle="">Document</code> Interface</h2>
<p>The <dfntitle=dom-Screen-pixelDepth><code>pixelDepth</code></dfn> attribute must return 24.</p>
673
+
674
+
<pclass=note>The <codetitle=dom-Screen-colorDepth>colorDepth</code> and <codetitle=dom-Screen-pixelDepth>pixelDepth</code> attributes are useless but are
675
+
included for compatibility.
677
676
678
677
679
678
<h2>Extensions to the <codetitle>Document</code> Interface</h2>
0 commit comments