"VK" <schools_ring@yahoo.comwrote in
comp.infosystems.
www.authoring.stylesheets: Quote:
Quote:
>Is there a "official" test suite that even bothers to determine the
>correct styling of table captions, or is it every browser maker for
>himself in the world of Undefined Recommendations?
>
<http://www.w3.org/TR/CSS21/tables.html#q5>
"...the table box generates an anonymous box that contains the table
box itself and any caption boxes (in document order). The caption boxes
are block-level boxes that retain their own content, padding, margin,
and border areas, and are rendered as normal blocks inside the
anonymous box."
>
The idiots who invented this even bothered to draw a picture
illustrating their "creative" ideas (see the link). I hold my breath
that they were co-called "invited expert" ant that they are by now back
to the bar or wherever the hell they were invited from.
This way there cannot be any complains to Mozilla: they did exactly and
literally what W3C told them to do. Anyone doesn't like: address your
complains to W3C first.
>
The other producers simply have chosen common sense over specs.
Really???
Look the figure in section of your cited link.
It shows the bottom margin of the caption being measured with respect to
the first row of table cells.
Now you set the bottom margin of the caption to zero. Do you get the
caption box (its extent seen by using a background-color so that you can
see it?) touching the first row of table cells?
Should that NOT be the case?
The "official" caption TOP margin is coincident with the table TOP margin,
which does NOT happen to be the top margin of the first row of table cells
(which ought to drive anyone crazy: because the W3C recommendation
simultaneously seems to be saying that the caption is independent of the
table and also part of the table!!).
So should the extent of the caption be the space that it fills up
dependent upon its (textual) content? Or should it be with respect to
its obligations to be part of the table, and certainly with respect to its
position relative to the first row of table cells with top-positioned
captions?
This is probably not a problem for people who use captions and table cells
with IDENTICAL background colors which are also identical with the
background color of the table's (parent) container.
But when people actually want to use color (background colors), they are
in for a nightmare in styling things in a way that they look not just
nice, but even comprehensible, in 99% of the browsers used.
Again the question is put to you: if the caption bottom margin is zero,
then the caption should touch the top row of table cells and FF violated
the recommendation, right?