diff options
Diffstat (limited to 'test/layoutengine')
-rw-r--r-- | test/layoutengine/standard-testcases/foreign-attributes.xml | 4 | ||||
-rw-r--r-- | test/layoutengine/standard-testcases/page-sequence_language.xml | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/test/layoutengine/standard-testcases/foreign-attributes.xml b/test/layoutengine/standard-testcases/foreign-attributes.xml index 092860765..3bf71f730 100644 --- a/test/layoutengine/standard-testcases/foreign-attributes.xml +++ b/test/layoutengine/standard-testcases/foreign-attributes.xml @@ -31,9 +31,6 @@ </fo:layout-master-set> <fo:page-sequence master-reference="normal"> <fo:flow flow-name="xsl-region-body"> - <fo:block id="eg"> - <fo:external-graphic src="../../resources/images/bgimg300dpi.jpg" fox:alt="description"/> - </fo:block> <fo:block id="bl"> <fo:basic-link external-destination="url(http://xmlgraphics.apache.org/fop/)" fox:blah="fop">FOP</fo:basic-link> </fo:block> @@ -43,7 +40,6 @@ </fo> <checks xmlns:fox="http://xmlgraphics.apache.org/fop/extensions"> <eval expected="bar" xpath="//pageViewport[1]/@fox:foo"/> - <eval expected="description" xpath="//block[@prod-id='eg']//image/@fox:alt"/> <!--eval expected="fop" xpath="//block[@prod-id='bl']/inlineparent/@fox:blah"/> NYI --> </checks> </testcase> diff --git a/test/layoutengine/standard-testcases/page-sequence_language.xml b/test/layoutengine/standard-testcases/page-sequence_language.xml index 93238e282..f2fa610bc 100644 --- a/test/layoutengine/standard-testcases/page-sequence_language.xml +++ b/test/layoutengine/standard-testcases/page-sequence_language.xml @@ -65,4 +65,10 @@ <eval expected="de" xpath="/areaTree/pageSequence[4]/@language"/> <true xpath="not(boolean(/areaTree/pageSequence[4]/@country))"/> </checks> + <if-checks xmlns:if="http://xmlgraphics.apache.org/fop/intermediate"> + <eval expected="en" xpath="//if:page-sequence[1]/@xml:lang"/> + <eval expected="en-US" xpath="//if:page-sequence[2]/@xml:lang"/> + <eval expected="de-CH" xpath="//if:page-sequence[3]/@xml:lang"/> + <eval expected="de" xpath="//if:page-sequence[4]/@xml:lang"/> + </if-checks> </testcase> |