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)

x86
Linux
defect

Tracking

()

VERIFIED DUPLICATE of bug 3166

People

(Reporter: dbaron, Assigned: karnaze)

Details

(Keywords: css2, Whiteboard: [TESTCASE])

Attachments

(1 file)

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
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.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → LATER
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.
Status: RESOLVED → REOPENED
Summary: {html40} align on caption mostly not supported → caption-side, not vertical-align, should be equivalent to align on caption
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...)
Resolution: LATER → ---
Whiteboard: [TESTCASE]
Marking [TESTCASE].
Status: REOPENED → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → LATER
This is fixed except for caption-size left and right which we decided would not
make it into Release 1. Marking "later".
Status: RESOLVED → VERIFIED
Verified LATER.
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
Status: REOPENED → RESOLVED
Closed: 25 years ago25 years ago
Resolution: LATER → DUPLICATE
This is now a dup of bug 3166, as mentioned above. Resolving as dup.
*** This bug has been marked as a duplicate of 3166 ***
Status: RESOLVED → VERIFIED
Verified dup of #3166
Keywords: css2
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...
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: