[Webkit-unassigned] [Bug 16049] execCommand('backColor') fails on collapsed selections
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 19 16:11:14 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=16049
------- Comment #4 from justin.garcia at apple.com 2008-06-19 16:11 PDT -------
(In reply to comment #1)
> JSEditor.cpp shows that BackColor and ForeColor have different values for the
> enabledFn member of their CommandImp:
>
> WebCore/editing/JSEditor.cpp: { "BackColor", { execBackColor,
> enabledAnyRichlyEditableRangeSelection, stateNone, valueBackColor } },
> WebCore/editing/JSEditor.cpp: { "ForeColor", { execForeColor,
> enabledAnySelection, stateNone, valueForeColor } },
Yikes that's completely wrong, BackColor should have
enabledAnyRichlyEditableRangeSelection, and I don't know why ForeColor has
enabledAnySelection, it should be disabled in a plain text region too.
--
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