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)
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 | ||
Updated•25 years ago
|
Assignee: rickg → peterl
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Assignee | ||
Comment 1•25 years ago
|
||
Remove the BODY style rule from the inline style sheet. It (correctly) overrides
the BGCOLOR attribute.
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 2•25 years ago
|
||
Agrred. Marking as verified Invalid.
You need to log in
before you can comment on or make changes to this bug.
Description
•