[Webkit-unassigned] [Bug 16049] New: execCommand('backColor') fails on collapsed selections
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 19 07:24:58 PST 2007
http://bugs.webkit.org/show_bug.cgi?id=16049
Summary: execCommand('backColor') fails on collapsed selections
Product: WebKit
Version: 525+ (Nightly build)
Platform: All
URL: http://nick-santos.com/tests/background_color.html
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: nicksantos at google.com
Repro Steps:
1) Place the cursor in a contentEditable element.
2) Execute document.execCommand('backColor', false, '#f00') in JavaScript.
3) Type some text.
Expected Result:
The new text should have a red background.
Actual Result:
The new text keeps the same background.
Notes:
'backColor' works ok when text is actually selected.
If we replace 'backColor' with 'foreColor' in step #2, the new text is red as
expected.
Verified on Safari3/Win and Webkit-Nightly/OSX.
--
Configure bugmail: http://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