Tue, 14 May 2013 14:06:31 +0200
[cssom-view] Tweak wording for colorDepth. https://www.w3.org/Bugs/Public/show_bug.cgi?id=14071
cssom-view/Overview.html | file | annotate | diff | comparison | revisions | |
cssom-view/idl/Screen.idl | file | annotate | diff | comparison | revisions |
1.1 --- a/cssom-view/Overview.html Tue May 14 12:27:19 2013 +0200 1.2 +++ b/cssom-view/Overview.html Tue May 14 14:06:31 2013 +0200 1.3 @@ -405,7 +405,7 @@ 1.4 <dt class="attribute" id="widl-Screen-colorDepth"> 1.5 <dfn id="widl-Screen-colorDepth"><code>colorDepth</code></dfn> of type <span class="idlAttrType"><a>unsigned long</a></span>, readonly</dt> 1.6 <dd> 1.7 -<p>The <code><a href="#widl-Screen-colorDepth">colorDepth</a></code> attribute must return the number of bits allocated to colors (i.e. excluding the alpha channel) in the output device. If the output device does not support colors these attributes must return zero.</dd> 1.8 +<p>The <code><a href="#widl-Screen-colorDepth">colorDepth</a></code> attribute must return the number of bits allocated to colors (i.e. excluding the alpha channel) in the output device. If no bits are allocated to colors in the output device this attribute must return zero.</dd> 1.9 <dt class="attribute" id="widl-Screen-pixelDepth"> 1.10 <dfn id="widl-Screen-pixelDepth"><code>pixelDepth</code></dfn> of type <span class="idlAttrType"><a>unsigned long</a></span>, readonly</dt> 1.11 <dd>
2.1 --- a/cssom-view/idl/Screen.idl Tue May 14 12:27:19 2013 +0200 2.2 +++ b/cssom-view/idl/Screen.idl Tue May 14 14:06:31 2013 +0200 2.3 @@ -26,8 +26,8 @@ 2.4 2.5 [Documentation= 2.6 "<p>The {@name} {@type} must return the number of bits allocated to\ 2.7 - colors (i.e. excluding the alpha channel) in the output device. If the\ 2.8 - output device does not support colors these attributes\ 2.9 + colors (i.e. excluding the alpha channel) in the output device. If no\ 2.10 + bits are allocated to colors in the output device this attribute\ 2.11 must return zero.</p>" 2.12 ] 2.13 readonly attribute unsigned long colorDepth;