Closed Bug 101045 Opened 23 years ago Closed 23 years ago

Composer should not ask to create a table from selection if a tag is selected

Categories

(SeaMonkey :: Composer, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: TucsonTester2, Assigned: cmanske)

Details

build ID: 20010919

In composer if you highlight a tag and then click on the table button in the
toolbar the dialog to create a table from a selection will come up.

Reproducibility: everytime

Steps to reproduce:
1.Open Composer
2.Switch to show all tags view
3.Single click on the body tag to highlight it
4.Click on the table button on the toolbar

Actual Results:
The dialog to create a table from selection will appear. If you click ok it will
make a 1 column 2 row table.  If you use a tag other than body, such as heading
1, then the tag will be destroyed and the the table will be made.

Expected Results:
I would expect to not be able to click on the table button on the toolbar.  It
should be greyed out or make a table, just not from a selection, but instead
show the regular Insert table window.
-->cmanske
Assignee: syd → cmanske
What's wrong with making a table from selection? Why should it behave 
differently in "Show all tags" mode? Clicking on a tag, such as BODY or H1 is
simply a different way to select content. When creating a table, existing 
elements should not be deleted. So after doing the H1 example, switch to 
HTML Source mode to be sure the <h1> was actually deleted. The "H1" yellow icon
may not be displayed, but that might be a layout bug. If there are problems with
the displaying or deleting of tags after using Create Table From Selection,
please file as a new bug.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Verified
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.