diff options
author | Andreas L. Delmelle <adelmelle@apache.org> | 2006-08-29 22:00:29 +0000 |
---|---|---|
committer | Andreas L. Delmelle <adelmelle@apache.org> | 2006-08-29 22:00:29 +0000 |
commit | 1db3f305e2093bb35c66b23a4bdff13a5303886c (patch) | |
tree | dbf136437211342a4f372eb082959fcbfd43c7ae /test/layoutengine | |
parent | 204c273c646dc2188f240ac129e1c113bbe0ed10 (diff) | |
download | xmlgraphics-fop-1db3f305e2093bb35c66b23a4bdff13a5303886c.tar.gz xmlgraphics-fop-1db3f305e2093bb35c66b23a4bdff13a5303886c.zip |
Make FontInfo look for the same font-family and weight first, but with default font-style
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@438251 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/layoutengine')
-rw-r--r-- | test/layoutengine/standard-testcases/block_font-style.xml | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/test/layoutengine/standard-testcases/block_font-style.xml b/test/layoutengine/standard-testcases/block_font-style.xml index 8e84674db..829eea4a9 100644 --- a/test/layoutengine/standard-testcases/block_font-style.xml +++ b/test/layoutengine/standard-testcases/block_font-style.xml @@ -60,27 +60,21 @@ <eval expected="normal" xpath="//flow/block[2]/lineArea/text/@font-style"/> <eval expected="italic" xpath="//flow/block[3]/lineArea/text/@font-style"/> <eval expected="oblique" xpath="//flow/block[4]/lineArea/text/@font-style"/> - <eval expected="normal" xpath="//flow/block[5]/lineArea/text/@font-style"/> - <eval expected="any" xpath="//flow/block[5]/lineArea/text/@font-name"/> <!-- style not registered -> any, normal --> - <eval expected="normal" xpath="//flow/block[6]/lineArea/text/@font-style"/> - <eval expected="serif" xpath="//flow/block[6]/lineArea/text/@font-name"/> <!-- illegal style -> back to default=serif, normal --> + <eval expected="normal" xpath="//flow/block[5]/lineArea/text/@font-style"/> <!-- style not registered -> normal --> + <eval expected="normal" xpath="//flow/block[6]/lineArea/text/@font-style"/> <!-- illegal style -> normal --> <eval expected="normal" xpath="//flow/block[7]/lineArea/text/@font-style"/> <eval expected="normal" xpath="//flow/block[8]/lineArea/text/@font-style"/> <eval expected="italic" xpath="//flow/block[9]/lineArea/text/@font-style"/> <eval expected="oblique" xpath="//flow/block[10]/lineArea/text/@font-style"/> - <eval expected="normal" xpath="//flow/block[11]/lineArea/text/@font-style"/> - <eval expected="any" xpath="//flow/block[11]/lineArea/text/@font-name"/> <!-- style not registered -> any, normal --> - <eval expected="normal" xpath="//flow/block[12]/lineArea/text/@font-style"/> - <eval expected="sans-serif" xpath="//flow/block[12]/lineArea/text/@font-name"/> <!-- illegal style -> back to default=sans-serif, normal --> + <eval expected="normal" xpath="//flow/block[11]/lineArea/text/@font-style"/> <!-- style not registered -> normal --> + <eval expected="normal" xpath="//flow/block[12]/lineArea/text/@font-style"/> <!-- illegal style -> normal --> <eval expected="normal" xpath="//flow/block[13]/lineArea/text/@font-style"/> <eval expected="normal" xpath="//flow/block[14]/lineArea/text/@font-style"/> <eval expected="italic" xpath="//flow/block[15]/lineArea/text/@font-style"/> <eval expected="oblique" xpath="//flow/block[16]/lineArea/text/@font-style"/> - <eval expected="normal" xpath="//flow/block[17]/lineArea/text/@font-style"/> - <eval expected="any" xpath="//flow/block[17]/lineArea/text/@font-name"/> <!-- style not registered -> any, normal --> - <eval expected="normal" xpath="//flow/block[18]/lineArea/text/@font-style"/> - <eval expected="monospace" xpath="//flow/block[18]/lineArea/text/@font-name"/> <!-- illegal style -> back to default=monospace, normal --> + <eval expected="normal" xpath="//flow/block[17]/lineArea/text/@font-style"/> <!-- style not registered -> normal --> + <eval expected="normal" xpath="//flow/block[18]/lineArea/text/@font-style"/> <!-- illegal style -> normal --> </checks> </testcase> |