Closed
Bug 10216
Opened 25 years ago
Closed 25 years ago
{css2} caption-side, not vertical-align, should be equivalent to align on caption
Categories
(Core :: Layout: Tables, defect, P3)
Tracking
()
People
(Reporter: dbaron, Assigned: karnaze)
Details
(Keywords: css2, Whiteboard: [TESTCASE])
Attachments
(1 file)
1.18 KB,
text/html
|
Details |
The align attribute of the HTML 4.0 caption element is not supported for the left and right values. bottom does seem to work though. Test case to be attached. The Right Way (tm) to do this is by supporting the CSS2 caption-side property, and mapping align to it (and not much harder, either, I would think). Right now, caption-side doesn't work at all. See: http://www.fas.harvard.edu/~dbaron/css/test/sec1704 http://www.fas.harvard.edu/~dbaron/css/test/sec1704b http://www.fas.harvard.edu/~dbaron/css/test/sec170401
Reporter | ||
Comment 1•25 years ago
|
||
Reporter | ||
Comment 2•25 years ago
|
||
The third test above seems to show that you are incorrectly mapping align on captions to vertical-align, and then using vertical-align: bottom to mean caption-side: bottom.
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → LATER
Comment 3•25 years ago
|
||
David: Please check out bug #3166 that I wrote up and see if you deem this one to be a duplicate. That bug was marked 'Later' as it is officially out for 1.0 per ekrock@netscape.com.
Reporter | ||
Updated•25 years ago
|
Status: RESOLVED → REOPENED
Summary: {html40} align on caption mostly not supported → caption-side, not vertical-align, should be equivalent to align on caption
Reporter | ||
Comment 4•25 years ago
|
||
Part of it (the hard part to fix) is a dup of that bug. However, the mapping through vertical-align rather than caption-side is really wrong and should be fixed (and is probably quite easy to fix for someone who knows the code - in fact, I could probably even find it, but it would take me ten times as long). Therefore, I'm going to reopen, and change the title from "{html40} align on caption mostly not supported" to "caption-side, not vertical-align, should be equivalent to align on caption". karnaze: because of the partial implementation of align, if you don't want caption-side to work at all, that's reasonable (although a little silly, perhaps). But if align on captions maps to any CSS property, it should be caption-side. vertical-align on captions should act like it does on table-cells - and perhaps it should be implemented that way. The current behavior of 'vertical-align: bottom' putting the whole caption on the bottom is a serious bug. vertical-align really only applies to left or right captions, which you don't support. (There are some errors in my tests, I just realized...)
Reporter | ||
Updated•25 years ago
|
Resolution: LATER → ---
Updated•25 years ago
|
Whiteboard: [TESTCASE]
Comment 5•25 years ago
|
||
Marking [TESTCASE].
Assignee | ||
Updated•25 years ago
|
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → LATER
Assignee | ||
Comment 6•25 years ago
|
||
This is fixed except for caption-size left and right which we decided would not make it into Release 1. Marking "later".
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 7•25 years ago
|
||
Verified LATER.
Updated•25 years ago
|
Status: VERIFIED → REOPENED
Summary: caption-side, not vertical-align, should be equivalent to align on caption → {css2} caption-side, not vertical-align, should be equivalent to align on caption
Updated•25 years ago
|
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: LATER → DUPLICATE
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 10•25 years ago
|
||
Verified dup of #3166
Comment 11•25 years ago
|
||
Migrating from {css2} to css2 keyword. The {css1}, {css2}, {css3} and {css-moz} radars should now be considered deprecated in favour of keywords. I am *really* sorry about the spam...
Comment hidden (collapsed) |
You need to log in
before you can comment on or make changes to this bug.
Description
•