GNOME Bugzilla – Bug 722718
Anchor links are not scrolled properly when opened in a new tab
Last modified: 2015-07-15 23:25:07 UTC
For example if you use Ctrl+Click (or middle click) in the following link, the page is not scrolled properly: http://www.w3.org/TR/CSS2/visuren.html#dis-pos-flo If you do a regular navigation or refresh the page you'll see that the scroll is set properly to the right place (in this case "9.7 Relationships between 'display', 'position', and 'float'"). In MiniBrowser it's working fine, but MiniBrowser doesn't have tabs it actually opens a new window.
Created attachment 296345 [details] [review] Workaround for anchor links not working in new tabs This patch works reliably for me. Now if anybody can figure out what's wrong.... Note that anchor links to a different page are still broken with this patch, but they are broken in MiniBrowser too, so that is a separate bug. This patch "fixes" anchor links to the same page (in new tabs).
Comment on attachment 296345 [details] [review] Workaround for anchor links not working in new tabs (Obsoleting since this patch is not an acceptable solution.)
Be happy: this is fixed in WebKit trunk, I think due to http://trac.webkit.org/changeset/186761 Thanks Carlos!