[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/khtml
From: David Stephen Hubner <hubnerd () ntlworld ! com>
Date: 2010-06-27 20:53:01
Message-ID: 20100627210128.BDC3AAC8E0 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1143461 by hubner:
kio_help actually uses fragments to identify different pages, so always reload with it. SadEagle
M +7 -0 khtml_part.cpp
--- trunk/KDE/kdelibs/khtml/khtml_part.cpp #1143460:1143461
@@ -627,6 +627,11 @@
bool KHTMLPartPrivate::isLocalAnchorJump( const KUrl& url )
{
+ // kio_help actually uses fragments to identify different pages, so
+ // always reload with it.
+ if (url.protocol() == QLatin1String("help"))
+ return false;
+
return url.hasRef() && url.equals( q->url(),
KUrl::CompareWithoutTrailingSlash | KUrl::CompareWithoutFragment | KUrl::AllowEmptyPath );
}
@@ -2691,6 +2696,8 @@
// Implement the rule that "" and "top" both mean top of page as in other browsers.
bool quirkyName = !n && !d->m_doc->inStrictMode() && (name.isEmpty() || name.toLower() == "top");
+ kDebug() << "MOO: " << quirkyName;
+
if (quirkyName) {
d->m_view->setContentsPos( d->m_view->contentsX(), 0);
return true;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic