[Webkit-unassigned] [Bug 26307] REGRESSION: Safari hangs while trying to edit the HTML source in sites rich text editor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 16 14:50:31 PDT 2009


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





------- Comment #7 from vkarun at google.com  2009-06-16 14:50 PDT -------
We have a temporary workaround in place for this. Our previous code path
revolved around creating a style element, appending the style element to the
head and then setting styles in the content element. We swapped the order of
the last two steps and this seemed to resolve this.

From:
var styleSheet = doc.createElement('style')
head.appendChild(styleSheet);
styleSheet.innerText = stylesString;

To:
var styleSheet = doc.createElement('style')
styleSheet.innerText = stylesString;
head.appendChild(styleSheet);


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



More information about the webkit-unassigned mailing list