misc/117380: [patch] x11/kdelibs3: GMail only works in 'basic html' mode

Scot Hetzel swhetzel at gmail.com
Sun Oct 21 13:10:01 PDT 2007


>Number:         117380
>Category:       misc
>Synopsis:       [patch] x11/kdelibs3: GMail only works in 'basic html' mode
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 21 20:10:00 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Scot Hetzel
>Release:        8.0-CURRENT
>Organization:
>Environment:
FreeBSD hp010 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Oct 21 01:55:12 CDT 2007     me at hp010.:/usr/src/sys/amd64/compile/GENERIC.debug  amd64

>Description:
Konqueror was able to display the GMail web page in standard mode when the browser identification was set to 'Firefox 1.5.0.4'.  GMail had made a change to their web site on 5/18/07.  This caused konqueror to stop displaying standard mode correctly, only basic mode works.

A fix was posted on the KDE Developers site:

http://www.kdedevelopers.org/node/2807
>How-To-Repeat:
Sign up for gmail, set browser identification to 'Firefox 1.5.0.4'. 
>Fix:
Apply the attached fix.

Patch attached with submission follows:

--- khtml/html/html_elementimpl.cpp-orig	2007-01-15 05:34:00.000000000 -0600
+++ khtml/html/html_elementimpl.cpp	2007-10-21 11:12:52.226331317 -0500
@@ -562,6 +562,13 @@
 
 void HTMLElementImpl::setInnerHTML( const DOMString &html, int &exceptioncode )
 {
+    // Works line innerText in Gecko
+    // ### test if needed for ID_SCRIPT as well.
+    if ( id() == ID_STYLE ) {
+	setInnerText(html, exceptioncode);
+	return;
+    }
+
     DocumentFragment fragment = createContextualFragment( html );
     if ( fragment.isNull() ) {
         exceptioncode = DOMException::NO_MODIFICATION_ALLOWED_ERR;


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list