Closed Bug 11773 Opened 25 years ago Closed 25 years ago

Can't Undo a background color change

Categories

(Core :: DOM: Editor, defect, P3)

defect

Tracking

()

VERIFIED DUPLICATE of bug 12126

People

(Reporter: sujay, Assigned: cmanske)

Details

using 8/12 build of apprunner

1)  launch apprunner and editor
2) change the background color using toolbar color(yello pulldown)
3) now do Edit Undo

it doesn't revert to original bg color

all platforms.
Assignee: buster → cmanske
assigned to charlie.  I've added a comment in the code where I think this is
broken.
Status: NEW → ASSIGNED
Target Milestone: M10
Kin: Here is the code that changes background:
nsAutoEditBatch beginBatching(this);
bodyElement->SetAttribute("bgcolor", aColor);

Is there something that needs to be added to the log system for this to work?
Will this all become moot when the new Editor interfaces are checked in?
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Kin: Nevermind!
I see the comment about using transaction system in bug 12126

*** This bug has been marked as a duplicate of 12126 ***
Status: RESOLVED → VERIFIED
verified in 8/23 build.
You need to log in before you can comment on or make changes to this bug.