[Webkit-unassigned] [Bug 74544] New: Google Translate changes scroll position when pound sign present in URL

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 14 14:50:17 PST 2011


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

           Summary: Google Translate changes scroll position when pound
                    sign present in URL
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
               URL: http://davidhuerta.me/google_translate_test/#
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: david.huerta at brooklynmuseum.org


I've discovered an oddity in the behavior of the Google Translate tool (Display mode: inline, Dropdown only) web widget in Webkit (r102809).  I added the translate snippet to a site I'm working on, and now when I visit said page it scrolls itself down to near the bottom of the page if the URL I navigated to has a pound sign (#) at the end.  I have no anchor links or anything near the bottom, and to demonstrate this oddity in action, I created a simple page with only some lorem ipsum text and the Google translate snippet.  If you visit http://davidhuerta.me/google_translate_test/# (on a Webkit build), your scrollbar will be moved to near the bottom, despite it having no reason to.   If you visit http://davidhuerta.me/google_translate_test/ the scroll position won't be affected.  Non-Webkit browsers Opera and Firefox (I've only tested in OS X) are not affected, it seems.

-- 
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