[whatwg] HTML5 Feedback: Section 3.5.3 Scrolling elements into view

Bonner, Matt (IPG) matt.bonner at hp.com
Fri Jun 6 10:02:03 PDT 2008


> If the part of the document following the bookmark is too short for 
> the containing view port, revealing the bookmark should be equivalent 
> to scrolling to the end of the containing page.

Right, good point. 3.5.3 currently doesn't differentiate between
partial-page content following a bookmark, and whole-page content.
It appears that it needs to do so.

I was thinking of the case where the whole document is shorter
than the viewport. It would seem worth spelling out the behavior
for both vertical cases. And then consider a bit more detail for
the horizontal case as well.

regards,
Matt
--
Matt Bonner
Hewlett-Packard Company
 

> -----Original Message-----
> From: Kristof Zelechovski [mailto:giecrilj at stegny.2a.pl] 
> Sent: Friday, June 06, 2008 1:48 AM
> To: Bonner, Matt (IPG); 'Ian Hickson'; 'Brad Fults'
> Cc: 'WHAT-WG'
> Subject: RE: [whatwg] HTML5 Feedback: Section 3.5.3 Scrolling 
> elements into view
> 
> If the part of the document following the bookmark is too 
> short for the
> containing view port, revealing the bookmark should be equivalent to
> scrolling to the end of the containing page.
> HTH,
> Chris
> 
> -----Original Message-----
> From: whatwg-bounces at lists.whatwg.org
> [mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Bonner, 
> Matt (IPG)
> Sent: Thursday, June 05, 2008 8:59 PM
> To: Ian Hickson; Brad Fults
> Cc: WHAT-WG
> Subject: Re: [whatwg] HTML5 Feedback: Section 3.5.3 Scrolling 
> elements into
> view
> 
> Ian Hickson wrote:
> 
> > On Mon, 8 Oct 2007, Brad Fults wrote:
> > >
> > >   2. It may not be possible to align the top of the element
> > >      with the top of the viewport without scrolling past the
> > >      bottom of the document, so the "must" is unreasonable.
> > >      This contingency should be mentioned (scrolling past the
> > >      bottom of the document is not, as far as I know, desired).
> >
> > I don't understand what you mean. How can something in the 
> document be
> > further down than the bottom of the document?
> 
> I'm wondering if he was thinking about cases where the element is
> shorter vertically than the viewport?  It might be worth clarifying
> what happens in that case.  I assume the answer is "nothing"?
> 
> 
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4798 bytes
Desc: not available
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20080606/15ff400b/attachment-0001.bin>


More information about the whatwg mailing list