Closed Bug 8697 Opened 25 years ago Closed 25 years ago

Regression: Setting background color using SetAttribute doesn't work in Editor

Categories

(Core :: Layout, defect, P3)

All
Windows NT
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: cmanske, Assigned: peterl-retired)

Details

Start the editor, click inside the doc to make sure focus is set, then click on the background color toolbar button (the right half of the red and yellow color widget.) This worked fine when it was first implemented about 3 weeks ago. I traced all the way into nsGenericElement::SetAttribute(), to the line: result = mContent->SetAttribute(nameSpaceID, nameAtom, aValue, PR_TRUE); The nameAtom seems fine (string = "bgcolor") and the aValue is a color name (e.g., "red").
Assignee: rickg → peterl
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Remove the BODY style rule from the inline style sheet. It (correctly) overrides the BGCOLOR attribute.
Status: RESOLVED → VERIFIED
Agrred. Marking as verified Invalid.
You need to log in before you can comment on or make changes to this bug.