Skip to content

Commit ba69697

Browse files
committed
colorDepth does not match the 'color' MQ feature
1 parent 4d8ecb9 commit ba69697

2 files changed

Lines changed: 12 additions & 7 deletions

File tree

cssom-view/Overview.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -512,11 +512,14 @@ <h3 id=the-screen-interface><span class=secno>4.1 </span>The <code
512512

513513
<p>The <dfn id=screen-colordepth><code>colorDepth</code></dfn> and <dfn
514514
id=screen-pixeldepth><code>pixelDepth</code></dfn> attributes <em
515-
class=ct>must</em> both return the lowest number of bits from the color
516-
components of the output device. If the output device does not have color
517-
components these attributes <em class=ct>must</em> return zero.</p>
515+
class=ct>must</em> both return the number of bits allocated to colors in
516+
the output device. If the output device does not support colors these
517+
attributes <em class=ct>must</em> return zero.</p>
518518
<!-- pixelDepth is not supported by Internet Explorer 7 -->
519519

520+
<p class=note>Bits allocated to handling transparancy are not taken into
521+
account.
522+
520523
<h2 id=the-documentview-interface><span class=secno>5. </span>The <code
521524
title="">DocumentView</code> Interface</h2>
522525

cssom-view/Overview.src.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -402,11 +402,13 @@ <h3 id="the-screen-interface">The <code title="">Screen</code> Interface</h3>
402402

403403
<p>The <dfn id="screen-colordepth"><code>colorDepth</code></dfn> and
404404
<dfn id="screen-pixeldepth"><code>pixelDepth</code></dfn> attributes
405-
<em class="ct">must</em> both return the lowest number of bits from the
406-
color components of the output device. If the output device does not have
407-
color components these attributes <em class="ct">must</em> return
408-
zero.</p>
405+
<em class="ct">must</em> both return the number of bits allocated to
406+
colors in the output device. If the output device does not support colors
407+
these attributes <em class="ct">must</em> return zero.</p>
409408
<!-- pixelDepth is not supported by Internet Explorer 7 -->
409+
410+
<p class="note">Bits allocated to handling transparancy are not taken into
411+
account.</p>
410412

411413

412414
<h2 id="the-documentview-interface">The <code title="">DocumentView</code> Interface</h2>

0 commit comments

Comments
 (0)