Closed Bug 255497 Opened 21 years ago Closed 21 years ago

Composer adds <br>-tags to empty table cells

Categories

(Core :: DOM: Editor, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 85505

People

(Reporter: bevo, Assigned: mozeditor)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7) Gecko/20040514 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7) Gecko/20040514 Composer adds <br>-tags to empty cells. Look at the table titeled "Navigation" in the above URL or these pre/post code snippets: pre: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-15" http-equiv="content-type"> <title>Table-Test</title> </head> <body> <center> <table width="120"> <tbody> <tr> <td bgcolor="#000000" width="120"> <center><b><font face="Arial,Helvetica"><font color="#cccccc">Navigation</font></font></b></center> </td> </tr> <tr> <td></td> </tr> <tr> <td bgcolor="#33ccff" height="40"> <center><font face="Arial,Helvetica"><font size="-1"><a href="angebot.html">Information und Beratung</a></font></font></center> </td> </tr> <tr> <td></td> </tr> <tr> <td bgcolor="#33ccff" height="40"> <center><font face="Arial,Helvetica"><font size="-1"><a href="info_psychotherapie.html">Info Psychotherapie</a></font></font></center> </td> </tr> <tr> <td></td> </tr> <tr> <td bgcolor="#33ccff" height="40"> <center><font face="Arial,Helvetica"><font size="-1"><a href="info_beratung.html">Info Beratung</a></font></font></center> </td> </tr> <tr> <td></td> </tr> <tr> <td bgcolor="#33ccff" height="40"> <center><font face="Arial,Helvetica"><font size="-1"><a href="broschueren.html">Broschüren</a></font></font></center> </td> </tr> <tr> <td></td> </tr> <tr> <td bgcolor="#33ccff" height="40"> <center><font face="Arial,Helvetica"><font size="-1"><a href="patienten_klientenrechte.html">Patienten-</a></font></font> <br> <font face="Arial,Helvetica"><font size="-1"><a href="patienten_klientenrechte.html">Klientenrechte</a></font></font></center> </td> </tr> <tr> <td></td> </tr> <tr> <td bgcolor="#33ccff" height="40"> <center><font face="Arial,Helvetica"><font size="-1"><a href="anfrage.html">Ihre Anfrage</a></font></font></center> </td> </tr> <tr> <td></td> </tr> <tr> <td bgcolor="#00a6aa" height="40"> <center><font face="Arial,Helvetica"><font size="-1"><a href="wer_und_was.html">Wer und was</a></font></font> <br> <font face="Arial,Helvetica"><font size="-1"><a href="wer_und_was.html">ist TransVer</a></font></font></center> </td> </tr> <tr> <td></td> </tr> <tr> <td bgcolor="#008080" height="40"> <center><b><font face="Arial,Helvetica"><font size="-1">Informationen für<br> AnbieterInnen</font></font></b></center> </td> </tr> <tr> <td></td> </tr> <tr> <td bgcolor="#00a6aa" height="40"> <center><font face="Arial,Helvetica"><font size="-1"><a href="links.htm">Kontakte, Links &amp; Adressen</a></font></font></center> </td> </tr> </tbody> </table> </center> </body> </html> --------------------------------------------------------------------------------- post: <html> <head> <meta content="text/html; charset=ISO-8859-15" http-equiv="content-type"> <title>Table-Test</title> </head> <body> <center> <table width="120"> <tbody> <tr> <td bgcolor="#000000" width="120"> <center><b><font face="Arial,Helvetica"><font color="#cccccc">Navigation</font></font></b></center> </td> </tr> <tr> <td><br> </td> </tr> <tr> <td bgcolor="#33ccff" height="40"> <center><font face="Arial,Helvetica"><font size="-1"><a href="angebot.html">Information und Beratung</a></font></font></center> </td> </tr> <tr> <td><br> </td> </tr> <tr> <td bgcolor="#33ccff" height="40"> <center><font face="Arial,Helvetica"><font size="-1"><a href="info_psychotherapie.html">Info Psychotherapie</a></font></font></center> </td> </tr> <tr> <td><br> </td> </tr> <tr> <td bgcolor="#33ccff" height="40"> <center><font face="Arial,Helvetica"><font size="-1"><a href="info_beratung.html">Info Beratung</a></font></font></center> </td> </tr> <tr> <td><br> </td> </tr> <tr> <td bgcolor="#33ccff" height="40"> <center><font face="Arial,Helvetica"><font size="-1"><a href="broschueren.html">Broschüren</a></font></font></center> </td> </tr> <tr> <td><br> </td> </tr> <tr> <td bgcolor="#33ccff" height="40"> <center><font face="Arial,Helvetica"><font size="-1"><a href="patienten_klientenrechte.html">Patienten-</a></font></font> <br> <font face="Arial,Helvetica"><font size="-1"><a href="patienten_klientenrechte.html">Klientenrechte</a></font></font></center> </td> </tr> <tr> <td><br> </td> </tr> <tr> <td bgcolor="#33ccff" height="40"> <center><font face="Arial,Helvetica"><font size="-1"><a href="anfrage.html">Ihre Anfrage</a></font></font></center> </td> </tr> <tr> <td><br> </td> </tr> <tr> <td bgcolor="#00a6aa" height="40"> <center><font face="Arial,Helvetica"><font size="-1"><a href="wer_und_was.html">Wer und was</a></font></font> <br> <font face="Arial,Helvetica"><font size="-1"><a href="wer_und_was.html">ist TransVer</a></font></font></center> </td> </tr> <tr> <td><br> </td> </tr> <tr> <td bgcolor="#008080" height="40"> <center><b><font face="Arial,Helvetica"><font size="-1">Informationen für<br> AnbieterInnen</font></font></b></center> </td> </tr> <tr> <td><br> </td> </tr> <tr> <td bgcolor="#00a6aa" height="40"> <center><font face="Arial,Helvetica"><font size="-1"><a href="links.htm">Kontakte, Links &amp; Adressen</a></font></font></center> </td> </tr> </tbody> </table> </center> </body> </html> Reproducible: Always Steps to Reproduce: 1. Load the document into the composer, it's instantly modified 2. 3. Actual Results: <br>s are filled into empty table cells Expected Results: leave the empty cells untouched
*** This bug has been marked as a duplicate of 85505 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
v dup.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.