Closed
Bug 54912
Opened 24 years ago
Closed 23 years ago
table cell right align is assigned incorrectly
Categories
(Core :: DOM: Editor, defect, P3)
Core
DOM: Editor
Tracking
()
VERIFIED
DUPLICATE
of bug 102135
mozilla1.0
People
(Reporter: rubydoo123, Assigned: mozeditor)
References
Details
(Whiteboard: [html] EDITORBASE)
using comm bits from 2000093020 on win98 1. open composer 2. insert table, with several rows and columns, enter text in cells 3. select a cell, select right alignment 4. view source -- the right align is done through the div element. We are exporting 4.0 transitional, the align attribute should be used on the cell. -------------------------------------------------------------------------------- <!-- TH is for headers, TD for data, but for cells acting as both use TD --> <!ATTLIST (TH|TD) -- header or data cell -- %attrs; -- %coreattrs, %i18n, %events -- abbr %Text; #IMPLIED -- abbreviation for header cell -- axis CDATA #IMPLIED -- comma-separated list of related headers-- headers IDREFS #IMPLIED -- list of id's for header cells -- scope %Scope; #IMPLIED -- scope covered by header cells -- rowspan NUMBER 1 -- number of rows spanned by cell -- colspan NUMBER 1 -- number of cols spanned by cell -- %cellhalign; -- horizontal alignment in cells -- %cellvalign; -- vertical alignment in cells -- nowrap (nowrap) #IMPLIED -- suppress word wrap -- bgcolor %Color; #IMPLIED -- cell background color -- width %Length; #IMPLIED -- width for cell -- height %Length; #IMPLIED -- height for cell -- > <!ENTITY % cellhalign "align (left|center|right|justify|char) #IMPLIED char %Character; #IMPLIED -- alignment char, e.g. char=':' -- charoff %Length; #IMPLIED -- offset for alignment char --" > <!ENTITY % cellvalign "valign (top|middle|bottom|baseline) #IMPLIED" >
Reporter | ||
Comment 1•24 years ago
|
||
actually, this should go to cmanske, he will be back to work on post rtm bugs, this can wait till then
Assignee: brade → cmanske
Target Milestone: --- → Future
Comment 2•24 years ago
|
||
If you set the alignment in the Table Properties dialog, it is correct. We should make the Alignment commands smart enough to detect when cells are selected so the attribute is set on TD instead of always using the DIV. Fairly easy to fix.
Status: NEW → ASSIGNED
Target Milestone: Future → mozilla0.9
Comment 3•24 years ago
|
||
This may be a dup. The HTML rules code needs to check for selected cells and set attribute there instead of a div.
Assignee: cmanske → jfrancis
Status: ASSIGNED → NEW
Assignee | ||
Comment 4•24 years ago
|
||
moving a bunch of 0.9 bugs to 0.9.1
Target Milestone: mozilla0.9 → mozilla0.9.1
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Reporter | ||
Comment 5•23 years ago
|
||
moving to 1.0
Updated•23 years ago
|
OS: Windows 98 → All
Hardware: PC → All
Whiteboard: [html] → [html] EDITORBASE
Assignee | ||
Comment 7•23 years ago
|
||
Daniel, is this fixed by your patch?
*** This bug has been marked as a duplicate of 102135 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•