aboutsummaryrefslogtreecommitdiffstats
path: root/test/fotree/testcases
diff options
context:
space:
mode:
authorAndreas L. Delmelle <adelmelle@apache.org>2006-01-31 22:09:36 +0000
committerAndreas L. Delmelle <adelmelle@apache.org>2006-01-31 22:09:36 +0000
commit50782f6e6b56562db5bd8e54814affae6edb50b8 (patch)
tree9bddf1e46842f80d2e3991f7609e2279819f71c4 /test/fotree/testcases
parentf221e2cad254bee4af5304ae7ed0fda32dd61a29 (diff)
downloadxmlgraphics-fop-50782f6e6b56562db5bd8e54814affae6edb50b8.tar.gz
xmlgraphics-fop-50782f6e6b56562db5bd8e54814affae6edb50b8.zip
Implementation for from-table-column(). See: bugzilla 38282
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@373922 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/fotree/testcases')
-rw-r--r--test/fotree/testcases/properties_omitted_propertyname.fo31
1 files changed, 30 insertions, 1 deletions
diff --git a/test/fotree/testcases/properties_omitted_propertyname.fo b/test/fotree/testcases/properties_omitted_propertyname.fo
index 3ded0a105..77ee13458 100644
--- a/test/fotree/testcases/properties_omitted_propertyname.fo
+++ b/test/fotree/testcases/properties_omitted_propertyname.fo
@@ -61,7 +61,36 @@
</fo:block>
</fo:block>
</fo:block>
- <!-- from-table-column (not implemented) -->
+ <fo:table border-collapse="separate" table-layout="fixed" width="100%">
+ <fo:table-column column-width="proportional-column-width(1)"
+ text-align="start" />
+ <fo:table-column column-width="proportional-column-width(1)"
+ text-align="center" />
+ <fo:table-column column-width="proportional-column-width(1)"
+ text-align="end" />
+ <fo:table-body>
+ <fo:table-cell starts-row="true">
+ <fo:block text-align="from-table-column()">
+ <test:assert property="text-align" expected="START" />
+ Start-aligned
+ </fo:block>
+ </fo:table-cell>
+ <fo:table-cell text-align="from-table-column()" column-number="3">
+ <test:assert property="text-align" expected="END" />
+ <fo:block>
+ <test:assert property="text-align" expected="END" />
+ End-aligned
+ </fo:block>
+ </fo:table-cell>
+ <fo:table-cell column-number="2">
+ <fo:block text-align="from-table-column()">
+ <test:assert property="text-align" expected="CENTER" />
+ Center-aligned
+ </fo:block>
+ </fo:table-cell>
+ </fo:table-body>
+ </fo:table>
+
<!-- merge-property-value (not implemented) -->
</fo:flow>
</fo:page-sequence>