[whatwg] scrollIntoView jarring?

2008-04-30 Thread David Bolter
I have a concern about 3.5.3 Scrolling elements into view: http://www.whatwg.org/specs/web-apps/current-work/multipage/section-interaction.html#scrollintoview In addition to concerns expressed by Brad Fults (http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2007-October/012655.html), I

Re: [whatwg] scrollIntoView jarring?

2008-04-30 Thread Peter Kasting
On Wed, Apr 30, 2008 at 10:58 AM, David Bolter [EMAIL PROTECTED] wrote: Specifically I would ask that: 1. scrollIntoView not do anything in the case that the element is already fully visible (possibly in the middle of the viewport), or 2. ensureElementIsVisible to be added as described by

Re: [whatwg] scrollIntoView jarring?

2008-04-30 Thread David Bolter
Peter Kasting wrote: On Wed, Apr 30, 2008 at 10:58 AM, David Bolter [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Specifically I would ask that: 1. scrollIntoView not do anything in the case that the element is already fully visible (possibly in the middle of the viewport), or

Re: [whatwg] scrollIntoView jarring?

2008-04-30 Thread L. David Baron
On Wednesday 2008-04-30 13:58 -0400, David Bolter wrote: 1. scrollIntoView not do anything in the case that the element is already fully visible (possibly in the middle of the viewport), or 2. ensureElementIsVisible to be added as described by Daniel Glazman

Re: [whatwg] scrollIntoView jarring?

2008-04-30 Thread Jonas Sicking
L. David Baron wrote: On Wednesday 2008-04-30 13:58 -0400, David Bolter wrote: 1. scrollIntoView not do anything in the case that the element is already fully visible (possibly in the middle of the viewport), or 2. ensureElementIsVisible to be added as described by Daniel Glazman

Re: [whatwg] scrollIntoView jarring?

2008-04-30 Thread Neil Deakin
Firefox seems to have an internal check for isElementInView, because calling scrollIntoView(false) after scrollIntoView(true) does nothing. e.g. scroll only if it's not visible at all Firefox 2 uses: scrollIntoView(true) scroll the element and its containers vertically such that the