Closed Bug 226914 Opened 22 years ago Closed 22 years ago

<table> 'align' attribute removed when closing Table Properties dialog

Categories

(SeaMonkey :: Composer, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 225937

People

(Reporter: ph.public, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.6a) Gecko/20031030 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.6a) Gecko/20031030 Composer always removes the "align" key word by tables. Reproducible: Always Steps to Reproduce: 1.create a table 2.insert the align="center" <table align="center" style="text-align: left; margin-left: auto; margin-right: auto; width: 100%;" border="1" cellspacing="2" cellpadding="2"> 3.edit the table properties with table properties dialog 4.click OK and show the source code Actual Results: Composer removes the "align" key. <table style="text-align: left; margin-left: auto; margin-right: 0px; width: 100%;" border="1" cellspacing="2" cellpadding="2"> Expected Results: Composer should keep the "align" key. <table align="center" style="text-align: left; margin-left: auto; margin-right: auto; width: 100%;" border="1" cellspacing="2" cellpadding="2">
Confirmed. We can either use CSS or HTML to position the table ('align=' or 'margin-left: auto' [etc], respectively). In this case, it appears that the Table Properties dialog uses one or the other to determine the 'Table Alignment', and when the dialog is closed, the redundant part (in this case, the HTML align attribute) is removed. Now, <TABLE align=...> is deprecated per W3C in favour of CSS styling, so we may not want to fix this (or alternatively, we may be unable to fix this). I don't know enough about Composer though.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Clarifying summary.
Summary: "Align" key word by tables → <table> 'align' attribute removed when closing Table Properties dialog
*** This bug has been marked as a duplicate of 225937 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.