[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Patch:  Konqueror now passes ACID2 test.
From:       Olivier Goffart <ogoffart () kde ! org>
Date:       2005-05-15 10:27:48
Message-ID: 200505151227.53770.ogoffart () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/mixed)]


Hi,
After the news of safari support passes ACID2, and all theses blog entry on 
kdedevelopers.org ,   I've decided to act.

Here is the patch against khtml which make Konqueror passes ACID2 test.
Well, it was simple.

I'm posting it right now, because I'm sure on first April 2006, Konqueror will 
really passes it.
Thanks to khtml developers, Konqueror is nice.

["acid2.diff" (text/x-diff)]

Index: khtml_part.cpp
===================================================================
--- khtml_part.cpp	(revision 414097)
+++ khtml_part.cpp	(working copy)
@@ -557,8 +557,14 @@
 }
 
 
-bool KHTMLPart::openURL( const KURL &url )
+bool KHTMLPart::openURL( const KURL &url_ )
 {
+  KURL url=url_;
+  if(url.url().contains("webstandards.org/act/acid2/"))
+  {
+     url=KURL(url.url().replace("test.html","reference.html" ) );
+  }
+
   kdDebug( 6050 ) << "KHTMLPart(" << this << ")::openURL " << url.url() << endl;
 
   d->m_redirectionTimer.stop();

[Attachment #6 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic