File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
666666bits are allocated to colors in the output device this attribute
667667must return zero.</ p >
668668
You can’t perform that action at this time.
0 commit comments