html5/spec Overview.html,1.1158,1.1159

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv5130

Modified Files:
	Overview.html 
Log Message:
Make scrollIntoView() into a no-op if the page is too short. (whatwg r1968)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1158
retrieving revision 1.1159
diff -u -d -r1.1158 -r1.1159
--- Overview.html	31 Jul 2008 05:23:10 -0000	1.1158
+++ Overview.html	31 Jul 2008 09:32:30 -0000	1.1159
@@ -38882,9 +38882,11 @@
    of the element aligned with the bottom of the viewport. If it isn't
    possible to show the entire element in that way, or if the argument is
    omitted or is true, then the user agent should instead align the top of
-   the element with the top of the viewport. Visual user agents should
-   further scroll horizontally as necessary to bring the element to the
-   attention of the user.
+   the element with the top of the viewport. If the entire scrollable part of
+   the content is visible all at once (e.g. if a page is shorter than the
+   viewport), then the user agent should not scroll anything. Visual user
+   agents should further scroll horizontally as necessary to bring the
+   element to the attention of the user.
 
   <p>Non-visual user agents may ignore the argument, or may treat it in some
    media-specific manner most useful to the user.</p>

Received on Thursday, 31 July 2008 09:33:06 UTC