diff options
author | Andreas L. Delmelle <adelmelle@apache.org> | 2011-04-06 18:39:15 +0000 |
---|---|---|
committer | Andreas L. Delmelle <adelmelle@apache.org> | 2011-04-06 18:39:15 +0000 |
commit | a581b1c7885809af158b5d3c7a7d6231423a0696 (patch) | |
tree | ff51464beebac9f459cf1837b55835387f37e469 /test | |
parent | 7c34c8daa841888fcf338d14b89a2295d2d65215 (diff) | |
download | xmlgraphics-fop-a581b1c7885809af158b5d3c7a7d6231423a0696.tar.gz xmlgraphics-fop-a581b1c7885809af158b5d3c7a7d6231423a0696.zip |
Bugzilla 51032: Fixed regression due to oversight in refactoring text-decoration.
Invalid values properly reported as errors again, instead of causing a NPE.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1089559 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r-- | test/fotree/testcases/text-decoration_invalid_bug51032.fo | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/test/fotree/testcases/text-decoration_invalid_bug51032.fo b/test/fotree/testcases/text-decoration_invalid_bug51032.fo new file mode 100644 index 000000000..2a03bb62f --- /dev/null +++ b/test/fotree/testcases/text-decoration_invalid_bug51032.fo @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<!-- $Id$ --> +<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <fo:layout-master-set> + <fo:simple-page-master master-name="simple" page-height="5in" page-width="3in"> + <fo:region-body /> + </fo:simple-page-master> + </fo:layout-master-set> + <fo:page-sequence master-reference="simple"> + <fo:flow flow-name="xsl-region-body"> + <fo:block> + <fo:inline text-decoration="italic">bap</fo:inline> + </fo:block> + </fo:flow> + </fo:page-sequence> +</fo:root> |