From 5376c8e896ae4b39657fb8c8e9cf246260823318 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Tue, 18 Jan 2005 07:02:01 +0000 Subject: [PATCH] Test cases for display-align and space-before|after for block-container. No checks, yet. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198283 13f79535-47bb-0310-9956-ffa450edef68 --- .../testcases/block-container-abs5.xml | 59 +++++++++++++++++++ .../testcases/block-container5.xml | 55 +++++++++++++++++ 2 files changed, 114 insertions(+) create mode 100644 test/layoutengine/testcases/block-container-abs5.xml create mode 100644 test/layoutengine/testcases/block-container5.xml diff --git a/test/layoutengine/testcases/block-container-abs5.xml b/test/layoutengine/testcases/block-container-abs5.xml new file mode 100644 index 000000000..dea127e0b --- /dev/null +++ b/test/layoutengine/testcases/block-container-abs5.xml @@ -0,0 +1,59 @@ + + + + + +

+ This test checks display-align on absolutely positioned block-containers. +

+
+ + + + + + + + + + + display-align="auto" + reference-orientation="0" + + + display-align="before" + reference-orientation="90" + + + display-align="center" + reference-orientation="180" + + + display-align="after" + reference-orientation="270" + + + display-align="center" + no height + + + + + + + +
diff --git a/test/layoutengine/testcases/block-container5.xml b/test/layoutengine/testcases/block-container5.xml new file mode 100644 index 000000000..4c501b28e --- /dev/null +++ b/test/layoutengine/testcases/block-container5.xml @@ -0,0 +1,55 @@ + + + + + +

+ This test checks display-align on in-flow block-containers. It also tests space-before|after in conjunction with reference-orientation. +

+
+ + + + + + + + + + + display-align = "auto" + ro = 0 + + + display-align = "before" + ro = 90 + + + display-align = "center" + ro = 180 + + + display-align = "after" + ro = 270 + + + + + + + +
-- 2.39.5