Closed
Bug 55879
Opened 24 years ago
Closed 24 years ago
Can't left align content in a <TH>
Categories
(Core :: DOM: Editor, defect, P3)
Core
DOM: Editor
Tracking
()
VERIFIED
FIXED
mozilla0.9
People
(Reporter: kinmoz, Assigned: cmanske)
Details
(Whiteboard: relnote-user)
Attachments
(1 file)
(deleted),
patch
|
Details | Diff | Splinter Review |
This bug is on the Netscape 20000922_BRANCH and trunk:
1. Start composer.
2. Click on the insert table button on the toolbar, and create a table of any
size.
3. Add some text in the first cell of the table.
4. Double click on the first cell to bring up the table properties dialog.
5. If the "Cell" tab is not active click on the "Cell" tab to make it active.
6. Now click the "Cell Style" checkbox, and select "Header" from the pulldown
next to it.
6. Now click the "Horizontal" checkbox, and select "Left" from the pulldown next
to it.
7. Click the "OK" button.
Notice how the text in the first cell now looks like a table header, but it is
still centered? It should be left aligned.
This is happening because SetAlign() in EdTableProps.js expects the default
value for alignment for TD and TH to be the same ... but they aren't. Default
alignment for TD is left, and default for TH is centered.
Updated•24 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Comment 1•24 years ago
|
||
candidate for release notes: unable to left-align data in a cell formatted as a
header; workaround is to use HTML Source View and fix it there. :-(
Updated•24 years ago
|
Whiteboard: relnote-user
Updated•24 years ago
|
Target Milestone: Future → mozilla0.9
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•24 years ago
|
||
What a pain! Must make attribute setting smarter to know if cell is TD or TH
Assignee | ||
Comment 4•24 years ago
|
||
Assignee | ||
Comment 5•24 years ago
|
||
Default of "center" for TH and "left" for TD is respected when reading and
writing the alignment attribute.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 6•24 years ago
|
||
Replacing kristif with robinf. Robin Foster-Clark is now the documentation
contact for Composer
Comment 7•24 years ago
|
||
verified with optimized linux mozilla builds from 8am today.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•