Closed Bug 229846 Opened 22 years ago Closed 16 years ago

table alignment is not saved in html source tab in composer

Categories

(SeaMonkey :: Composer, defect)

x86
Windows 98
defect
Not set
major

Tracking

(Not tracked)

RESOLVED EXPIRED

People

(Reporter: johnnymaiden27, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 If you use Mozilla Composer to create a table, when you right click on the table and select table properties then align the table in the center of the document, the html attribute align="center" is omitted from the html. When you use a different browser (other than Mozilla) to view html pages containing tables created in Mozilla Composer, all tables are aligned to the left margin, not the center. Reproducible: Always Steps to Reproduce: 1. Open Mozilla Composer 2. Select "Align Center" (to put the cursor in the middle of the page) 3. Select either "Table" or "Insert --> Table" 4. Leave all values defaulted except for "Width" 5. Change "Width" to 50% 6. Select "OK" 7. Right click on table 8. Select "TableCell Properties..." 9. Select "Table" tab 10. Change "Table Alignment" to "CENTER" 11. Select "Ok" 12. Save document Actual Results: 1. Edit HTML Source by selecting "<html>source" tab 2. The following HTML is created that pertains to the table you just created: <table cellpadding="2" cellspacing="2" border="1" style="width: 50%; text-align: left; margin-left: auto; margin-right: auto;"> 3. The html attribute align="center" is omitted from the markup. Expected Results: When adding tables and selecting a centered table alignment, the html attribute <table align="center"> should be included in the markup. I am using the default theme (Classic).
xref bug 225937 I've reproduced this with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a2) Gecko/20040623 Furthermore, if a table is set up (via HTML) as: <table style="width: 20%;" align="left" ...> if Table Properties | Table | Alignment is set to Right, the table ends up with no 'align' property and a style of: text-align: left; margin-left: auto; margin-right: 0px; width: 20%;
Status: UNCONFIRMED → NEW
Ever confirmed: true
Product: Browser → Seamonkey
Assignee: composer → nobody
QA Contact: composer
MASS-CHANGE: This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state. If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way. If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar). If no action happens within the next few months, we move this bug report to an EXPIRED state. Query tag for this change: mass-UNCONFIRM-20090614
Status: NEW → UNCONFIRMED
MASS-CHANGE: This bug report is registered in the SeaMonkey product, but still has no comment since the inception of the SeaMonkey project 5 years ago. Because of this, we're resolving the bug as EXPIRED. If you still can reproduce the bug on SeaMonkey 2 or otherwise think it's still valid, please REOPEN it and if it is a platform or toolkit issue, move it to the according component. Query tag for this change: EXPIRED-20100420
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → EXPIRED
You need to log in before you can comment on or make changes to this bug.