Skip to content

Commit 46cfb89

Browse files
committed
clarify that pixelDepth and colorDepth are without alpha channel
1 parent 567cc54 commit 46cfb89

2 files changed

Lines changed: 56 additions & 64 deletions

File tree

cssom-view/Overview.html

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727

2828
<h1 id=cssom-view-module>CSSOM View Module</h1>
2929

30-
<h2 class="no-num no-toc" id=w3c-doctype>Editor's Draft 15 July 2010</h2>
30+
<h2 class="no-num no-toc" id=w3c-doctype>Editor's Draft 11 August 2010</h2>
3131

3232
<dl>
3333
<dt>This Version:
3434

3535
<dd><a
36-
href="http://www.w3.org/TR/2010/ED-cssom-view-20100715/">http://www.w3.org/TR/2010/ED-cssom-view-20100715/</a>
36+
href="http://www.w3.org/TR/2010/ED-cssom-view-20100811/">http://www.w3.org/TR/2010/ED-cssom-view-20100811/</a>
3737

3838
<dt>Latest Version:
3939

@@ -669,16 +669,12 @@ <h3 id=the-screen-interface><span class=secno>4.2. </span>The <code
669669

670670
<p>The <dfn id=dom-screen-colordepth><code>colorDepth</code></dfn> and <dfn
671671
id=dom-screen-pixeldepth><code>pixelDepth</code></dfn> attributes <em
672-
class=ct>must</em> both return the number of bits allocated to colors in
673-
the output device. If the output device does not support colors these
674-
attributes <em class=ct>must</em> return zero.</p>
672+
class=ct>must</em> both return the number of bits allocated to colors
673+
(i.e. excluding the alpha channel) in the output device. If the output
674+
device does not support colors these attributes <em class=ct>must</em>
675+
return zero.</p>
675676
<!-- pixelDepth is not supported by Internet Explorer 7 -->
676677

677-
<p class=note>Bits allocated to handling transparency are not taken into
678-
account.</p>
679-
<!-- this note is there because it does not work reliably on Windows in
680-
all browsers -->
681-
682678
<h2 id=extensions-to-the-document-interface><span class=secno>5.
683679
</span>Extensions to the <code title="">Document</code> Interface</h2>
684680

0 commit comments

Comments
 (0)