[Webkit-unassigned] [Bug 42661] New: Fragment anchor does not change tab location if connected to element id.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 20 13:12:24 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=42661

           Summary: Fragment anchor does not change tab location if
                    connected to element id.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rasamassen at gmail.com


Similar to http://jimthatcher.com/news-070607.htm but in this case if the
anchor references a fragment that is the id of another element rather than the
name of another anchor, the location of the tab doesn't move.

Reproducible: Always

Steps to Reproduce:
1. Setup page as:
<a href="#content">Skip to Content><a href="foo.html">Fake Link</a><a
href="bar.html">Fake Link 2</a><div id="content"><a href="test.html">Content
Link</a></div>
2. Click on skip link.
3. Hit the tab button.
Actual Results:  
Focus should now be on the link to test.html

Expected Results:  
Focus is on the link to foo.html

At the time of the filing of this bug, the bug behavior is actually the default
behavior in all modern browsers (IE,FF,S,Ch). However, W3C's validator
recommends against using <a name="content"></a>, which was the old method.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list