You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
readonly attribute unsigned long <ahref="#dom-screen-colordepth" title="dom-Screen-colorDepth">colorDepth</a>;
689
+
readonly attribute unsigned long <ahref="#dom-screen-pixeldepth" title="dom-Screen-pixelDepth">pixelDepth</a>;
690
690
};</pre>
691
691
692
692
<p>The <dfnid="dom-screen-availwidth" title="dom-Screen-availWidth"><code>availWidth</code></dfn> attribute must return the available width of the rendering surface of the output
<p>The <dfnid="dom-screen-height" title="dom-Screen-height"><code>height</code></dfn> attribute must return the height of the output device.</p>
701
701
702
702
<p>The <dfnid="dom-screen-colordepth" title="dom-Screen-colorDepth"><code>colorDepth</code></dfn> attribute must return the number of bits allocated to
703
-
colors (i.e. excluding the alpha channel) in the output device. If no
703
+
colors (i.e. excluding the alpha channel) for one device pixel in the output device. If no
704
704
bits are allocated to colors in the output device this attribute
<li><p><ahref="#scroll-an-element-into-view" title="scroll an element into view">Scroll the element into view</a> with the
885
883
<i>align to top flag</i> set if <var>top</var> is true, and the scroll behavior being the value of the <codetitle="">behavior</code>
886
884
dictionary member of <var>options</var>.</li>
885
+
<li><p>Optionally perform some other action that brings the element to the user's attention.
887
886
</ol>
888
887
889
888
<p>The <dfnid="dom-element-scrolltop" title="dom-Element-scrollTop"><code>scrollTop</code></dfn> attribute must return the result of running these steps:</p>
APIs. Scrolls that are performed by the user are not affected by this property. When this property is specified on the root element, it applies to the
1505
1504
<ahref="#viewport">viewport</a> instead.
1506
1505
1506
+
<pclass="note">The '<ahref="#scroll-behavior">scroll-behavior</a>' property of the HTML <codetitle="">body</code> element is <em>not</em> propagated to the viewport.
0 commit comments