[Webkit-unassigned] [Bug 118185] Gmail reply email - Bold and Italic style get stuck

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 30 12:07:59 PDT 2013


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





--- Comment #36 from Ryosuke Niwa <rniwa at webkit.org>  2013-07-30 12:07:45 PST ---
(From update of attachment 207721)
View in context: https://bugs.webkit.org/attachment.cgi?id=207721&action=review

> Source/WebCore/editing/EditingStyle.cpp:692
> +            if (node->renderer() && node->rendererIsEditable()) {

Instead of checking renderer here, why don't we wrap this whole loop with node->renderer() && node->rendererIsEditable() except the break?
That way, we avoid calling computedStyle on non-editable nodes and nodes without renderer altogether.

-- 
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