[Webkit-unassigned] [Bug 48201] REGRESSION Zimbra email compose is broken with the HTML5 parser

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 26 01:28:52 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=48201





--- Comment #7 from Adam Barth <abarth at webkit.org>  2010-10-26 01:28:52 PST ---
Look like the code on the live site is slightly different than the code on codesearch:

DwtHtmlEditor.prototype._finishHtmlModeInit = function () {
    var a = this._getIframeDoc();
    try {
        if (AjxEnv.isSafari && a.body == null) {
            a.open();
            a.write("<html><head></head><body></body></html>");
            a.close()
        }
    }
    catch (t) {
        return
    }
    if (AjxEnv.isGeckoBased) {
        a.open();
        a.write(DwtHtmlEditor.INIT_HTML);
        a.close()
    }

    function e(i) {
        this._enableDesignMode(i);
        this._setContentOnTimer();
        this._updateState();
        this._htmlModeInited = true;
        this._registerEditorEventHandlers(document.getElementById(this._iFrameId), i)
    }
    if (AjxEnv.isIE) {
        setTimeout(AjxCallback.simpleClosure(e, this, a), DwtHtmlEditor._INITDELAY)
    } else {
        e.call(this, a)
    }
};

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list