Closed
Bug 98194
Opened 23 years ago
Closed 22 years ago
table or cell background choice in color picker does not always change to cell option when a cell is selected
Categories
(Core :: DOM: Editor, defect)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
mozilla1.2alpha
People
(Reporter: TucsonTester2, Assigned: cmanske)
Details
Attachments
(1 file)
2.83 KB,
patch
|
Brade
:
review+
hewitt
:
superreview+
|
Details | Diff | Splinter Review |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.3+) Gecko/20010830 Netscape6/6.1b1 BuildID: 20010830 After changing the table background color using the properties window I could not change the cell background color using the toolbar. What I did after changing the table's background color using the properties menu was highlight a single cell using the ctrl-click. Once I highlighted that cell I clicked on the "table or cell background" background button on the toolbar. Once I chose a color the entire table background changed color. Reproducible: Always Steps to Reproduce: 1.Open composer 2.insert a 3x3 100pixel table 3.Double-click on the table and click on the table background tab 4.Change the table background color to black 5.Ctrl-click on one of the table's cells 6.click on the "table or cell background" button on the toolbar and choose white. Actual Results: The whole table changes color instead of just the selected cell. In order to change the cell's background color I need to go into the table/cell properties and change it in there. Expected Results: I would expect that only the cell would change color since only that is selected.
Reporter | ||
Comment 1•23 years ago
|
||
What I noticed just recently was that the table cell background properties window always defaults to table if you have changed the table's background color. It doesn't matter what you select in a table after you change the table background color, it will always default to table. I would expect that if I have just a cell selected that composer would know I only want to change the cell(s) background color.
Summary: Can not change individual cell background color after changing table background using properties window → table cell background properties window does not always change to cell option when a cell is selected
Assignee | ||
Comment 3•23 years ago
|
||
Right, the radio button for "table" is set as default if the table already has background color. You are saying that it should initialize based on selection instead. These radio buttons are very likely going to be removed during the major color picker rewrite occurs (bug 90670).
Status: UNCONFIRMED → ASSIGNED
Depends on: 90670
Ever confirmed: true
Summary: table cell background properties window does not always change to cell option when a cell is selected → table or cell background choice in color picker does not always change to cell option when a cell is selected
Target Milestone: mozilla0.9.5 → mozilla1.0
Assignee | ||
Updated•22 years ago
|
Target Milestone: mozilla1.1alpha → mozilla1.2beta
Assignee | ||
Comment 6•22 years ago
|
||
Add a new attribute "SelectedType" to retain what table element was selected and use that to set radio button in the Color Picker dialog.
Assignee | ||
Comment 7•22 years ago
|
||
This is an easy fix with good user interface value -- the user definitely expects to set the color on the table element that is selected.
Comment 8•22 years ago
|
||
Comment on attachment 94645 [details] [diff] [review] patch v1 r=brade
Attachment #94645 -
Flags: review+
Assignee | ||
Updated•22 years ago
|
Whiteboard: [FIX IN HAND] need r=,sr= → [FIX IN HAND] need sr=
Comment 9•22 years ago
|
||
Comment on attachment 94645 [details] [diff] [review] patch v1 sr=hewitt
Attachment #94645 -
Flags: superreview+
Assignee | ||
Comment 10•22 years ago
|
||
checked into 1.2 trunk
You need to log in
before you can comment on or make changes to this bug.
Description
•