Skip to content

Commit 03c2d15

Browse files
author
Simon Pieters
committed
[cssom-view] Tweak wording for colorDepth. https://www.w3.org/Bugs/Public/show_bug.cgi?id=14071
1 parent dacef90 commit 03c2d15

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

cssom-view/Overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ <h3 id="the-screen-interface"><span class="secno">4.2 </span>The <code title="">
405405
<dt class="attribute" id="widl-Screen-colorDepth">
406406
<dfn id="widl-Screen-colorDepth"><code>colorDepth</code></dfn> of type <span class="idlAttrType"><a>unsigned long</a></span>, readonly</dt>
407407
<dd>
408-
<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>
408+
<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>
409409
<dt class="attribute" id="widl-Screen-pixelDepth">
410410
<dfn id="widl-Screen-pixelDepth"><code>pixelDepth</code></dfn> of type <span class="idlAttrType"><a>unsigned long</a></span>, readonly</dt>
411411
<dd>

cssom-view/idl/Screen.idl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ interface Screen {
2626

2727
[Documentation=
2828
"<p>The {@name} {@type} must return the number of bits allocated to\
29-
colors (i.e. excluding the alpha channel) in the output device. If the\
30-
output device does not support colors these attributes\
29+
colors (i.e. excluding the alpha channel) in the output device. If no\
30+
bits are allocated to colors in the output device this attribute\
3131
must return zero.</p>"
3232
]
3333
readonly attribute unsigned long colorDepth;

0 commit comments

Comments
 (0)