From f0afd5ca2b79e8f9472d78498345ffb1147abd38 Mon Sep 17 00:00:00 2001 From: Glen Mazza Date: Wed, 20 Aug 2003 22:04:51 +0000 Subject: [PATCH] Examples 8-11 added to check: 1) implementation of border properties (border-color, border-width, border-style, etc.) at the fo:table-row and fo:table-column level. 2) border property conflict resolutions as defined in CSS2 standard at http://www.w3.org/TR/REC-CSS2/tables.html#border-conflict-resolution git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196819 13f79535-47bb-0310-9956-ffa450edef68 --- examples/fo/tables/borders.fo | 335 ++++++++++++++++++++++++++++++++-- 1 file changed, 323 insertions(+), 12 deletions(-) diff --git a/examples/fo/tables/borders.fo b/examples/fo/tables/borders.fo index d1c119c33..b649f5505 100644 --- a/examples/fo/tables/borders.fo +++ b/examples/fo/tables/borders.fo @@ -183,8 +183,8 @@ - - Table 1: row borders + + Table 2: row borders @@ -307,8 +307,8 @@ - - Table 1: column borders + + Table 3: column borders @@ -374,8 +374,8 @@ - - Table 1: column borders over page + + Table 4: column borders over page @@ -441,8 +441,8 @@ - - Table 1: body borders + + Table 5: body borders @@ -625,8 +625,8 @@ - - Table 1: table borders + + Table 6: table borders - - Table 1: combinations + + Table 7: combinations @@ -1018,6 +1018,317 @@ + + Table 8: This is a table with border properties (border-style, + border-width, border-color) defined at the fo:table-column and + fo:table-row level. Not all properties are currently + implemented--check the compliance page on the FOP website for current + implementation status. + + + + + + + + + + + + (1,1) + + + + + (1,2) + + + + + (1,3) + + + + + + + (2,1) + + + + + (2,2) + + + + + (2,3) + + + + + + + (3,1) + + + + + (3,2) + + + + + (3,3) + + + + + + + + Table 9: This table has border properties defined at the + fo:table-cell level. + + + + + + + + + + + + (1,1) + + + + + (1,2) + + + + + (1,3) + + + + + + + (2,1) + + + + + (2,2) + + + + + (2,3) + + + + + + + (3,1) + + + + + (3,2) + + + + + (3,3) + + + + + + + + Table 10: This example is the first example given in the CSS2 border conflict + resolution rules. + (See http://www.w3.org/TR/REC-CSS2/tables.html#border-conflict-resolution) + Not all properties are currently implemented--Check the FOP compliance page + for current implementation status. + + + + + + + + + + + + 1 + + + + + 2 + + + + + 3 + + + + + + + 4 + + + + + 5 + + + + + 6 + + + + + + + 7 + + + + + 8 + + + + + 9 + + + + + + + 10 + + + + + 11 + + + + + 12 + + + + + + + 13 + + + + + 14 + + + + + 15 + + + + + + + + Table 11: This example is a test of Rule 4 of the CSS2 border conflict + resolution rules. + (See http://www.w3.org/TR/REC-CSS2/tables.html#border-conflict-resolution) + This rule gives the order of precedence of resolution to be cell (highest), + then row, then column, then table (lowest), in those cases where + the border properties differ only on color. + + + + + + + + + + + + + + cell, row, col + + + row + + + cell, row + + + row + + + row, col + + + + + col + + + none + + + none + + + none + + + col + + + + + cell, col + + + none + + + cell + + + none + + + col + + + + + -- 2.39.5