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



18 years ago
14 years ago


(Reporter: TucsonTester2, Assigned: cmanske)


Firefox Tracking Flags

(Not tracked)




18 years ago
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.

Comment 1

18 years ago
Assignee: syd → cmanske

Comment 2

18 years ago
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.
Last Resolved: 18 years ago
Resolution: --- → INVALID

Comment 3

18 years ago
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.