W3C home > Mailing lists > Public > xsl-editors@w3.org > October to December 2007

number-rows-spanned should be non-negative integer

From: Jaroslav Záruba <jaroslav.zaruba@gmail.com>
Date: Fri, 5 Oct 2007 11:24:40 +0200
Message-ID: <372588860710050224r74200b7btc593415e181805fb@mail.gmail.com>
To: xsl-editors@w3.org
Hello

The "number-rows-spanned" and "number-columns-spanned" attributes of
fo:table-cell element should rather be non-negative integer than positivie
integer.
According to W3 the "0" is perfectly valid and moreover it has a special
meaning.

rows: The value zero ("0") means that the cell spans all rows from the
current row to the last row of the table section
(THEAD<http://www.w3.org/TR/html401/struct/tables.html#edef-THEAD>,
TBODY <http://www.w3.org/TR/html401/struct/tables.html#edef-TBODY>, or
TFOOT<http://www.w3.org/TR/html401/struct/tables.html#edef-TFOOT>)
in which the cell is defined.
columns: The value zero ("0") means that the cell spans all columns from the
current column to the last column of the column group
(COLGROUP<http://www.w3.org/TR/html401/struct/tables.html#edef-COLGROUP>)
in which the cell is defined.

XHTML:
http://www.w3.org/TR/xhtml2/mod-tables.html#adef_tables_rowspan
http://www.w3.org/TR/xhtml2/mod-tables.html#adef_tables_colspan

HTML:
http://www.w3.org/TR/html401/struct/tables.html#adef-rowspan
http://www.w3.org/TR/html401/struct/tables.html#adef-colspan

Best regards
  Jaroslav Záruba
Received on Saturday, 6 October 2007 06:07:06 GMT

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