DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41631>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41631

           Summary: Percentages in proportional-column-width() not supported
           Product: Fop
           Version: 1.0dev
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: fo tree
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: [EMAIL PROTECTED]


I've seen examples where a percentage was used in
proportional-column-width(numeric). FOP raises an error in this case, but I
think that's wrong. The spec says:
"Percentages are values that are counted in 1/100 units. That is, 10% as a
percentage value is 0.10 as a floating point number."
and
"For example, a value of "110%" on a "font-size" property would be evaluated to
mean 1.1 times the current font size. Such a definition of the allowed
conversion for percentages is specified on the property definition. If no
conversion is specified, the resulting value is a percentage."

http://www.w3.org/TR/xsl11/#d0e5420

I interpret this so that the proportional-column-width(20%) is, in this case,
simply converted to the numeric value 0.2. So if you consistently use
percentages to specify the column widths you'd get the expected result.

Tasks:
- Get feedback if this view is correct.
- Write a test case
- Fix the problem

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to