W3C home > Mailing lists > Public > public-html-commits@w3.org > July 2008

html5/spec Overview.html,1.1158,1.1159

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 31 Jul 2008 09:32:33 +0000
To: public-html-commits@w3.org
Message-Id: <E1KOUWP-0001LC-BB@lionel-hutz.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 9 October 2008 20:32:58 GMT