Date: Sun, 21 Oct 2007 20:01:20 GMT From: Scot Hetzel <swhetzel@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/117380: [patch] x11/kdelibs3: GMail only works in 'basic html' mode Message-ID: <200710212001.l9LK1KVP032250@www.freebsd.org> Resent-Message-ID: <200710212010.l9LKA1rw030626@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710212001.l9LK1KVP032250>