Skip to content

Commit 90756b6

Browse files
author
Simon Pieters
committed
[cssom-view] Editorial: typo and clarification
--HG-- extra : rebase_source : 8358dd0aaa83353c2e362198cfb594aab36ba7b8
1 parent c8fe35a commit 90756b6

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

cssom-view/Overview.src.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -644,11 +644,11 @@ <h3>The <code title>Screen</code> Interface</h3>
644644

645645
<pre class=idl>interface <dfn>Screen</dfn> {
646646
readonly attribute double <span title=dom-Screen-availWidth>availWidth</span>;
647-
readonly attribute double <span title=dom-Screen-availWidth>availHeight</span>;
648-
readonly attribute double <span title=dom-Screen-availWidth>width</span>;
649-
readonly attribute double <span title=dom-Screen-availWidth>height</span>;
650-
readonly attribute unsigned long <span title=dom-Screen-availWidth>colorDepth</span>;
651-
readonly attribute unsigned long <span title=dom-Screen-availWidth>pixelDepth</span>;
647+
readonly attribute double <span title=dom-Screen-availHeight>availHeight</span>;
648+
readonly attribute double <span title=dom-Screen-width>width</span>;
649+
readonly attribute double <span title=dom-Screen-height>height</span>;
650+
readonly attribute unsigned long <span title=dom-Screen-colorDepth>colorDepth</span>;
651+
readonly attribute unsigned long <span title=dom-Screen-pixelDepth>pixelDepth</span>;
652652
};</pre>
653653

654654
<p>The <dfn title=dom-Screen-availWidth><code>availWidth</code></dfn> attribute must return the available width of the rendering surface of the output
@@ -662,7 +662,7 @@ <h3>The <code title>Screen</code> Interface</h3>
662662
<p>The <dfn title=dom-Screen-height><code>height</code></dfn> attribute must return the height of the output device.</p>
663663

664664
<p>The <dfn title=dom-Screen-colorDepth><code>colorDepth</code></dfn> attribute must return the number of bits allocated to
665-
colors (i.e. excluding the alpha channel) in the output device. If no
665+
colors (i.e. excluding the alpha channel) for one device pixel in the output device. If no
666666
bits are allocated to colors in the output device this attribute
667667
must return zero.</p>
668668

0 commit comments

Comments
 (0)