Bug 36928 - em specification on font-size broken
Summary: em specification on font-size broken
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: fo tree (show other bugs)
Version: trunk
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-05 06:00 UTC by Manuel Mall
Modified: 2012-04-01 06:52 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Mall 2005-10-05 06:00:58 UTC
A font-size spec like
<fo:block font-size="32pt">Text
  <fo:inline font-size="0.5em">small</fo:inline>
</fo:block>
is currently ignored.

This is due to the cacheing of prop values in StaticPropertyList as the 
evaluation of the "0.5em" value causes the parent font size value to be 
retrieved and stored in the property cache for the inline element. The 
subsequent explicit setting of the font-size property value does not overwrite 
the cached value.

Not sure what the best fix is that's why I "bugged" it here => for Finn?
Comment 1 Manuel Mall 2005-11-09 12:54:40 UTC
See http://svn.apache.org/viewcvs.cgi?rev=332024&view=rev

An existing testcase has also been updated to test for this issue.
Comment 2 Glenn Adams 2012-04-01 06:52:29 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed