[Webkit-unassigned] [Bug 24578] Changing location hash on a frameset causes reload

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Dec 17 08:40:00 PST 2011


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


TomSW <trmsw at yahoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trmsw at yahoo.co.uk




--- Comment #7 from TomSW <trmsw at yahoo.co.uk>  2011-12-17 08:40:00 PST ---

The current behaviour is caused by FrameLoader::shouldScrollToAnchor
in WebCore/loader/FrameLoader.cpp.

Scrolling to an anchor is explicitly excluded for a frameset, the reason is given in the comments: "we don't want to just scroll if a link from within a frameset is trying to reload the frameset into _top."

In Firefox a link from within the frameset can reload the frameset, but only as long as the link contains no hash.

ie   <a href="index.html" target="_top">Reload!</a>
will reload the frameset

but  <a href="index.html#" target="_top">Reload!</a>
will not.

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