After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 722718 - Anchor links are not scrolled properly when opened in a new tab
Anchor links are not scrolled properly when opened in a new tab
Status: RESOLVED NOTGNOME
Product: epiphany
Classification: Core
Component: General
git master
Other Linux
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-01-21 18:31 UTC by Manuel Rego Casasnovas
Modified: 2015-07-15 23:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Workaround for anchor links not working in new tabs (1.81 KB, patch)
2015-02-07 19:12 UTC, Michael Catanzaro
none Details | Review

Description Manuel Rego Casasnovas 2014-01-21 18:31:04 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.
Comment 1 Michael Catanzaro 2015-02-07 19:12:55 UTC
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 2 Michael Catanzaro 2015-02-07 19:15:11 UTC
Comment on attachment 296345 [details] [review]
Workaround for anchor links not working in new tabs

(Obsoleting since this patch is not an acceptable solution.)
Comment 3 Michael Catanzaro 2015-07-15 23:25:07 UTC
Be happy: this is fixed in WebKit trunk, I think due to http://trac.webkit.org/changeset/186761

Thanks Carlos!