W3C home > Mailing lists > Public > xsl-editors@w3.org > April to June 2001

Inheritance from fo:table-column

From: MURAKAMI Shinyu <murakami@nadita.com>
Date: Mon, 21 May 2001 01:22:03 -0400 (EDT)
To: xsl-editors@w3.org
Cc: www-xsl-fo@w3.org
Message-Id: <200105211421.JHC70997.BNLSBJNV@nadita.com>
The XSL-FO spec provides the from-table-column() function, but this is 
not very useful because to make all inheritable properties on 
fo:table-column effective, it is necessary to specify a lot of 
X="from-table-column(X)" on each fo:table-cell such as:

<fo:table-cell
  color="from-table-column(color)"
  font-family="from-table-column(font-family)"
  font-size="from-table-column(font-size)"
  font-style="from-table-column(font-style)"
  font-variant="from-table-column(font-variant)"
  font-weight="from-table-column(font-weight)"
  line-height="from-table-column(line-height)"
  text-align="from-table-column(text-align)"
  display-align="from-table-column(display-align)"
  ...>

I think the property inheritance from fo:table-column to fo:table-cell 
should be a normal behavior and it should be able to be achieved 
easily.

In my understanding the table model has the following layers:

    table -> table-column -> table-header/footer/body -> table-row -> 
table-cell

This layer order should also be used for property inheritance to the 
table-cell. 
Is this bad idea?  Although the property inheritance is normally from 
ancestor FO, there are already some counterexamples in XSL-FO spec, 
fo:initial-property-set and fo:multi-property-set.

Please reconsider the following spec.

   6.7.4 fo:table-column
    ...
   Inheritable properties may also be specified on the fo:table-column.
   These can be referenced by the from-table-column() function in an
   expression. 

IMHO the above last sentence should NOT mean "ONLY by the from-table-
column()".


Regards,
Shinyu Murakami

Antenna House XSL Formatter - http://www.antennahouse.com
Received on Monday, 21 May 2001 12:29:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:52 GMT