Closed Bug 239476 Opened 20 years ago Closed 20 years ago

Page and table background colors do not change

Categories

(SeaMonkey :: Composer, defect, P3)

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.8alpha3

People

(Reporter: cleanthes, Assigned: bzbarsky)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7b) Gecko/20040316
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7b) Gecko/20040316

I can the page background color once.  But, once it's changed, I cannot change
it again.  I have to restart mozilla to get the second change to take.  I
generally get to 1 background color change per session, it seems.

I'm running 1.7B on the latest Panther.

Reproducible: Always
Steps to Reproduce:
1.  Open composer
2.  Change the page background color by going to "Format" in the menu bar and
choosing "Page colors and Background" and choosing a different color.  (Or
choose "table or cell properties" by right clicking on a table.)
3.  Repeat step 2.

Actual Results:  
On step 2, the bg color does change.  Repeating step 2 fails to change the page
bg color.

Expected Results:  
Page bg color should change
Confirming with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a)
Gecko/20040513
I get no errors in the JS Console when trying to change the color.
Changing the background color via the Format Toolbar works.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: MacOS X → All
Hardware: Macintosh → All
(In reply to comment #1)
> Confirming with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a)
> Gecko/20040513
> I get no errors in the JS Console when trying to change the color.
> Changing the background color via the Format Toolbar works.

Ok. Now we are at build 2004042110 (RC1), and the bug is mostly gone. I went
through and changed table and cell colors many times both through the context
menu through "table or cell background color" under the "table" menu item. It
worked almost every time. A couple of times, however, when I changed the table
background color from the main menu, two cells remained unchanged. I was able to
change their colors through the context menu, but doing so through the main menu
failed repeatedly.
I only tried changing background color so, not table background.
*** Bug 250308 has been marked as a duplicate of this bug. ***
*** Bug 252837 has been marked as a duplicate of this bug. ***
This fixes the bug (for body, table cells, tables).
Attachment #154172 - Flags: superreview?(peterv)
Attachment #154172 - Flags: review?(daniel)
Comment on attachment 154172 [details] [diff] [review]
Set and remove attributes consistently

r=daniel@glazman.org
Attachment #154172 - Flags: review?(daniel) → review+
Attachment #154172 - Flags: superreview?(peterv) → superreview+
Assignee: composer → bzbarsky
Priority: -- → P3
Target Milestone: --- → mozilla1.8alpha3
Fixed.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Is that the lot now? (I doubt it...)
I don't know.  I scanned the other JS files in that dir, and didn't see anything
obviously wrong after this patch, but I didn't scan all that carefully
*** Bug 260708 has been marked as a duplicate of this bug. ***
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: