aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAndreas L. Delmelle <adelmelle@apache.org>2008-02-10 13:17:20 +0000
committerAndreas L. Delmelle <adelmelle@apache.org>2008-02-10 13:17:20 +0000
commit4b584311505ac639952ec29d9983161b5682b80a (patch)
treed16c358a3c8101f482749f9800a26795594b98a5 /test
parentc3993e40d6b45d70b8c7296529bb60d8bbcda885 (diff)
downloadxmlgraphics-fop-4b584311505ac639952ec29d9983161b5682b80a.tar.gz
xmlgraphics-fop-4b584311505ac639952ec29d9983161b5682b80a.zip
Correction/Rectification of changes made in r617989:
* adjustment in ColorUtil to cater for the change * added check to the color_1.xml testcase, checking for bug 43705 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620283 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r--test/layoutengine/standard-testcases/color_1.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/layoutengine/standard-testcases/color_1.xml b/test/layoutengine/standard-testcases/color_1.xml
index 1e4e96cc8..55ab47b01 100644
--- a/test/layoutengine/standard-testcases/color_1.xml
+++ b/test/layoutengine/standard-testcases/color_1.xml
@@ -26,7 +26,7 @@
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" font-family="Gladiator">
<fo:layout-master-set>
<fo:simple-page-master master-name="normal" page-width="5in" page-height="5in">
- <fo:region-body/>
+ <fo:region-body background-color="rgb-icc(100%,0%,0%,sRGB,1,0.5,0)" />
</fo:simple-page-master>
</fo:layout-master-set>
<fo:declarations>
@@ -47,6 +47,9 @@
</fo>
<checks>
<!-- Check page -->
+ <!-- Special case? rgb-icc() used before fo:declarations
+ Revert to sRGB fallback for now -->
+ <eval expected="color=#ff0000" xpath="//regionViewport[1]/@background" />
<eval expected="#ff0000" xpath="//block[1]//text/@color"/>
<eval expected="#ff8000" xpath="//block[2]//text/@color"/>
<eval expected="#ff8000" xpath="//block[3]//text/@color"/>