From: Chris Bowditch Date: Thu, 4 Aug 2005 13:25:36 +0000 (+0000) Subject: Test cases submitted by Manual Mall, bugzilla 36025. I have added some checks to... X-Git-Tag: fop-0_90-alpha1~424 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=815ed42e9a7eaed10b58e4e5cded45a69dc97a3f;p=xmlgraphics-fop.git Test cases submitted by Manual Mall, bugzilla 36025. I have added some checks to increase effectiveness of tests Submitted by: Manuel Mall git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227398 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/test/layoutengine/testcases/font-size-absolute.xml b/test/layoutengine/testcases/font-size-absolute.xml new file mode 100644 index 000000000..9415f71da --- /dev/null +++ b/test/layoutengine/testcases/font-size-absolute.xml @@ -0,0 +1,81 @@ + + + + + +

+ This test checks absolute font sizes. +

+
+ + + + + + + + + + font-family="serif" font-size="xx-small" + font-family="serif" font-size="x-small" + font-family="serif" font-size="small" + font-family="serif" font-size="medium" + font-family="serif" font-size="large" + font-family="serif" font-size="x-large" + font-family="serif" font-size="xx-large" + font-family="sans-serif" font-size="xx-small" + font-family="sans-serif" font-size="x-small" + font-family="sans-serif" font-size="small" + font-family="sans-serif" font-size="medium" + font-family="sans-serif" font-size="large" + font-family="sans-serif" font-size="x-large" + font-family="sans-serif" font-size="xx-large" + font-family="monospace" font-size="xx-small" + font-family="monospace" font-size="x-small" + font-family="monospace" font-size="small" + font-family="monospace" font-size="medium" + font-family="monospace" font-size="large" + font-family="monospace" font-size="x-large" + font-family="monospace" font-size="xx-large" + font-family="cursive" font-size="xx-small" + font-family="cursive" font-size="x-small" + font-family="cursive" font-size="small" + font-family="cursive" font-size="medium" + font-family="cursive" font-size="large" + font-family="cursive" font-size="x-large" + font-family="cursive" font-size="xx-large" + font-family="fantasy" font-size="xx-small" + font-family="fantasy" font-size="x-small" + font-family="fantasy" font-size="small" + font-family="fantasy" font-size="medium" + font-family="fantasy" font-size="large" + font-family="fantasy" font-size="x-large" + font-family="fantasy" font-size="xx-large" + + + + + + + + + + + + + +
diff --git a/test/layoutengine/testcases/font-size-percentage.xml b/test/layoutengine/testcases/font-size-percentage.xml new file mode 100644 index 000000000..d4ac26d9e --- /dev/null +++ b/test/layoutengine/testcases/font-size-percentage.xml @@ -0,0 +1,144 @@ + + + + + +

+ This test checks percentage font sizes. +

+
+ + + + + + + + + + font-family="serif" font-size="24pt" + font-family="serif" font-size="83%" + font-family="serif" font-size="83%" + font-family="serif" font-size="83%" + font-family="serif" font-size="83%" + font-family="serif" font-size="83%" + font-family="serif" font-size="83%" + font-family="serif" font-size="83%" + font-family="serif" font-size="120%" + font-family="serif" font-size="120%" + font-family="serif" font-size="120%" + font-family="serif" font-size="120%" + font-family="serif" font-size="120%" + font-family="serif" font-size="120%" + font-family="serif" font-size="120%" + + + + + + + + + + + + + + + + font-family="sans-serif" font-size="24pt" + font-family="sans-serif" font-size="83%" + font-family="sans-serif" font-size="83%" + font-family="sans-serif" font-size="83%" + font-family="sans-serif" font-size="83%" + font-family="sans-serif" font-size="83%" + font-family="sans-serif" font-size="83%" + font-family="sans-serif" font-size="83%" + font-family="sans-serif" font-size="120%" + font-family="sans-serif" font-size="120%" + font-family="sans-serif" font-size="120%" + font-family="sans-serif" font-size="120%" + font-family="sans-serif" font-size="120%" + font-family="sans-serif" font-size="120%" + font-family="sans-serif" font-size="120%" + + + + + + + + + + + + + + + + font-family="monospace" font-size="24pt" + font-family="monospace" font-size="83%" + font-family="monospace" font-size="83%" + font-family="monospace" font-size="83%" + font-family="monospace" font-size="83%" + font-family="monospace" font-size="83%" + font-family="monospace" font-size="83%" + font-family="monospace" font-size="83%" + font-family="monospace" font-size="120%" + font-family="monospace" font-size="120%" + font-family="monospace" font-size="120%" + font-family="monospace" font-size="120%" + font-family="monospace" font-size="120%" + font-family="monospace" font-size="120%" + font-family="monospace" font-size="120%" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/test/layoutengine/testcases/font-size-relative.xml b/test/layoutengine/testcases/font-size-relative.xml new file mode 100644 index 000000000..5917f4d9f --- /dev/null +++ b/test/layoutengine/testcases/font-size-relative.xml @@ -0,0 +1,144 @@ + + + + + +

+ This test checks relative font sizes. +

+
+ + + + + + + + + + font-family="serif" font-size="24pt" + font-family="serif" font-size="smaller" + font-family="serif" font-size="smaller" + font-family="serif" font-size="smaller" + font-family="serif" font-size="smaller" + font-family="serif" font-size="smaller" + font-family="serif" font-size="smaller" + font-family="serif" font-size="smaller" + font-family="serif" font-size="larger" + font-family="serif" font-size="larger" + font-family="serif" font-size="larger" + font-family="serif" font-size="larger" + font-family="serif" font-size="larger" + font-family="serif" font-size="larger" + font-family="serif" font-size="larger" + + + + + + + + + + + + + + + + font-family="sans-serif" font-size="24pt" + font-family="sans-serif" font-size="smaller" + font-family="sans-serif" font-size="smaller" + font-family="sans-serif" font-size="smaller" + font-family="sans-serif" font-size="smaller" + font-family="sans-serif" font-size="smaller" + font-family="sans-serif" font-size="smaller" + font-family="sans-serif" font-size="smaller" + font-family="sans-serif" font-size="larger" + font-family="sans-serif" font-size="larger" + font-family="sans-serif" font-size="larger" + font-family="sans-serif" font-size="larger" + font-family="sans-serif" font-size="larger" + font-family="sans-serif" font-size="larger" + font-family="sans-serif" font-size="larger" + + + + + + + + + + + + + + + + font-family="monospace" font-size="24pt" + font-family="monospace" font-size="smaller" + font-family="monospace" font-size="smaller" + font-family="monospace" font-size="smaller" + font-family="monospace" font-size="smaller" + font-family="monospace" font-size="smaller" + font-family="monospace" font-size="smaller" + font-family="monospace" font-size="smaller" + font-family="monospace" font-size="larger" + font-family="monospace" font-size="larger" + font-family="monospace" font-size="larger" + font-family="monospace" font-size="larger" + font-family="monospace" font-size="larger" + font-family="monospace" font-size="larger" + font-family="monospace" font-size="larger" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +