Closed Bug 638712 Opened 14 years ago Closed 13 years ago

Deleting HTML table column in mail composer doesn't remove the column from the source.

Categories

(Thunderbird :: Message Compose Window, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: contact, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.14) Gecko/20110221 Thunderbird/3.1.8 Had an embarrassing moment with a customer of mine today with this bug. Deleting a column in an HTML table while composing an email only deletes the top cell, and adds a "display:none" style to the remaining cells in the column. This means that the data from that column is still contained in the email, and since some people's email clients ignore CSS, the data is shown! Reproducible: Always Steps to Reproduce: 1. I copied an HTML table from FireFox (in my case, it was from my invoicing software). The table was standard, no colspans or malformed rows. 2. I pasted the HTML table into thunderbird's compose mail window. 3. Remove a column from the table. Thunderbird provides an 'X' icon above each column to do so. Clicking that, the column go away. 4. Send the email. 5. Recieve the email. Inspect the source, or turn off CSS, or reply to the email (which usually strips CSS from it) and the data from the delete column is there! Actual Results: Deleted data is present in the email Expected Results: Deleted columns do not get sent. Rather than adding display:none to each cell in the column, the TDs should be removed entirely.
Severity: normal → major
Version: unspecified → 3.1
Can you provide a testcase. (save a sample mail as an eml and attach it) I am not able to reproduce your problem. Normal HTML composition does not attach CSS properties to tables. Your problem may stem from the fact that you pasted in the table, with some specific problematic CSS.
Nathan Bell (reporter), can you reply to comment 1?
Wfm. Feel free to reopen when testcase is available.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.