From owner-freebsd-bugs@FreeBSD.ORG Sun Oct 21 20:10:01 2007 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A495116A421 for ; Sun, 21 Oct 2007 20:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 863C513C4B6 for ; Sun, 21 Oct 2007 20:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9LKA1J8030627 for ; Sun, 21 Oct 2007 20:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9LKA1rw030626; Sun, 21 Oct 2007 20:10:01 GMT (envelope-from gnats) Resent-Date: Sun, 21 Oct 2007 20:10:01 GMT Resent-Message-Id: <200710212010.l9LKA1rw030626@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Scot Hetzel Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73E5716A46B for ; Sun, 21 Oct 2007 20:01:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 7389E13C4B7 for ; Sun, 21 Oct 2007 20:01:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l9LK1KoJ032251 for ; Sun, 21 Oct 2007 20:01:20 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l9LK1KVP032250; Sun, 21 Oct 2007 20:01:20 GMT (envelope-from nobody) Message-Id: <200710212001.l9LK1KVP032250@www.freebsd.org> Date: Sun, 21 Oct 2007 20:01:20 GMT From: Scot Hetzel To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/117380: [patch] x11/kdelibs3: GMail only works in 'basic html' mode X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2007 20:10:01 -0000 >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: