From: Jeremias Maerki Date: Wed, 31 Aug 2005 14:32:59 +0000 (+0000) Subject: Test case for squeezing an oversized image into a page. Currently fails because min... X-Git-Tag: fop-0_90-alpha1~293 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0c4637012c7a394bb3ae1b621ca89c7742b0612d;p=xmlgraphics-fop.git Test case for squeezing an oversized image into a page. Currently fails because min/opt/max mechanisms currently ignored by the EGLM. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265051 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/test/layoutengine/disabled-testcases.txt b/test/layoutengine/disabled-testcases.txt index e669e594d..752b94bed 100644 --- a/test/layoutengine/disabled-testcases.txt +++ b/test/layoutengine/disabled-testcases.txt @@ -11,6 +11,7 @@ background-image7.xml block-container4a.xml external-graphic1.xml external-graphic2.xml +external-graphic4.xml inline-block2.xml inline-container1.xml keep-together-inline1.xml diff --git a/test/layoutengine/testcases/external-graphic4.xml b/test/layoutengine/testcases/external-graphic4.xml new file mode 100644 index 000000000..3b091a8c0 --- /dev/null +++ b/test/layoutengine/testcases/external-graphic4.xml @@ -0,0 +1,52 @@ + + + + + +

+ This test checks external-graphics. An oversized image is to be squeezed into page using min/opt/max values. +

+
+ + + + + + + + + + This first block is only to force an infinite loop if the image is not scaled down. + + + + + EOF + + + + + + + + + + + +
diff --git a/test/resources/images/big-image.png b/test/resources/images/big-image.png new file mode 100644 index 000000000..e08b02c6c Binary files /dev/null and b/test/resources/images/big-image.png differ