[Bug 15526] New: Nitpick / clarification request: Navigation to fragment identifier doesn't specify value of non-optional "align to top flag" "When the user agent is required to scroll to the fragment identifier, it must change the scrolling position of the document using

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15526

           Summary: Nitpick / clarification request: Navigation to
                    fragment identifier doesn't specify value of
                    non-optional "align to top flag" "When the user agent
                    is required to scroll to the fragment identifier, it
                    must change the scrolling position of the document
                    using
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#top
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: contributor@whatwg.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


Specification: http://dev.w3.org/html5/spec/
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
Nitpick / clarification request: Navigation to fragment identifier doesn't
specify value of non-optional "align to top flag"

"When the user agent is required to scroll to the fragment identifier, it must
change the scrolling position of the document using the scroll an element into
view algorithm defined in the CSSOM View specification, or perform some other
action, such that the indicated part of the document is brought to the user's
attention."

[Section: 5.5.9 Navigating to a fragment identifier]

I looked at the "scroll an element into view algorithm" in CSSOM View, and
found you have to specify whether you want "align to top" (or the reverse -
align to bottom).  Looking at current behaviour, I think we want to specify
"align to top" :).  Note that this is the default for
element.scrollIntoView(), but the named algorithm doesn't have a default.

Ideally, this should be specified, or CSSOM View should be clarified so that
the flag has a default value of "true".  When I first looked at this, because
of the way the algorithm is written, my impression was that the algorithm
would default to "align to bottom" behaviour, which is the opposite of what we
want.

Posted from: 86.53.68.233
User agent: Mozilla/5.0 (Ubuntu; X11; Linux x86_64; rv:8.0) Gecko/20100101
Firefox/8.0

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Sunday, 15 January 2012 22:16:41 UTC