--- "J.Pietschmann" <[EMAIL PROTECTED]> wrote:
> Dead wrong, properties are inherited properly, if
> you
> ask the property list manager you'll get correct
> values.

Technically speaking, if properties were *inherited*
properly, setting border-width on fo:table-row would
propagate to a child fo:table-cell that didn't have
that property already set, correct?  (Also taking into
account the border conflict resolution rules below.)
The renderer ideally should have no idea nor care
whether border-width came from fo:table-cell directly
or was inherited. (?)

> Suppose your table has a top-border-width of 2pt,
> the
> first cell in the first row has a top-border-width
> of
> 1pt, the second 0pt the third 5pt. How should this
> look
> like? Well, actually CSS2 defines this (I think...)

Yes, I found them here:
http://www.w3.org/TR/REC-CSS2/tables.html#border-conflict-resolution
and added four examples (Ex. 8-11) to the
examples\tables\borders.fo file for us to check our
compliance in the future.

> but
> implementation is tricky, because you'll have to
> allocate
> space for the borders. Throw in borders for rows and
> columns, and collapsing...
> 

It doesn't seem that bad, because we've already
accomplished this at the cell-level.  Is it not just a
case of getting the inheritance and conflict
resolution rules done properly (which, OTOH, *is* very
difficult) so that the rendering behaves "as if"
everything was explicitly set out at fo:table-cell to
begin with?  I don't know.

Also, when you say "collapsing", are you just
referring to the "collapsing borders" table model? 
(The CSS2 standard defines this and the "separated
borders" table models here:
http://www.w3.org/TR/REC-CSS2/tables.html#borders.)  

According to compliance.xml, we haven't currently
implemented the "border-collapse" property--it appears
we just support the collapsing borders model by
default, and that only partially.  Pls. correct me if
you're aware of anything different.

Sorry for the long post.

Thanks,
Glen


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to