diff options
author | Simon Steiner <ssteiner@apache.org> | 2015-02-06 15:40:36 +0000 |
---|---|---|
committer | Simon Steiner <ssteiner@apache.org> | 2015-02-06 15:40:36 +0000 |
commit | e1353b325ec3e72e6952d7281835e19540d6b370 (patch) | |
tree | 6c373666f2f97e2f12424d95e42bc2a34cba593d /test/java | |
parent | 62f3a7f6dc2853260f3b1f9107e52560f44738db (diff) | |
download | xmlgraphics-fop-e1353b325ec3e72e6952d7281835e19540d6b370.tar.gz xmlgraphics-fop-e1353b325ec3e72e6952d7281835e19540d6b370.zip |
FOP-2442: Specifying the expansion of an abbreviation
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1657867 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/java')
-rw-r--r-- | test/java/org/apache/fop/accessibility/fo/FO2StructureTreeConverterTestCase.java | 5 | ||||
-rw-r--r-- | test/java/org/apache/fop/accessibility/fo/fo2StructureTree.xsl | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/test/java/org/apache/fop/accessibility/fo/FO2StructureTreeConverterTestCase.java b/test/java/org/apache/fop/accessibility/fo/FO2StructureTreeConverterTestCase.java index 6cd620870..eddd90ec4 100644 --- a/test/java/org/apache/fop/accessibility/fo/FO2StructureTreeConverterTestCase.java +++ b/test/java/org/apache/fop/accessibility/fo/FO2StructureTreeConverterTestCase.java @@ -85,6 +85,11 @@ public class FO2StructureTreeConverterTestCase { } @Test + public void testAbbreviationProperty() throws Exception { + testConverter("abb.fo"); + } + + @Test public void testTableFooters() throws Exception { testConverter("table-footers.fo"); } diff --git a/test/java/org/apache/fop/accessibility/fo/fo2StructureTree.xsl b/test/java/org/apache/fop/accessibility/fo/fo2StructureTree.xsl index a9de38db1..f21b079a4 100644 --- a/test/java/org/apache/fop/accessibility/fo/fo2StructureTree.xsl +++ b/test/java/org/apache/fop/accessibility/fo/fo2StructureTree.xsl @@ -151,7 +151,7 @@ <!-- Keep the relevant attributes, discard everything else --> - <xsl:template match="@fox:alt-text|@role"> + <xsl:template match="@fox:alt-text|@role|@fox:abbreviation"> <xsl:copy-of select="."/> </xsl:template> |