Hi Hussein,
I am not sure why I am seeing different results for version 4.4.- than
you did.

For this issue our goal is to try to match the way html is renders table
with same properties.  For this particular issue we could simply
calculate and set the remaining width but my concern is if we do this
and there are two  columns without width specify then that approach does
work because for that we should base width's on largest column data for
each column and do some sort of best fit calc. like IE does vs. fixed
remaining percentage.

Thoughts?



-----Original Message-----
From: Hussein Shafie [mailto:[email protected]] 
Sent: Monday, July 25, 2011 1:06 PM
To: Shapiro, David C (Professional)
Cc: [email protected]
Subject: Re: [XFC] XMLmind After upgrading from 4.4.0 to Version 4.5
having issues with table aligment when not all the widths are supplied
in a row

On 07/25/2011 05:30 PM, [email protected] wrote:
>
> After upgrading from 4.4.0 to Version 4.5 having issues with table 
> aligment when not all the widths are supplied in a row

I have exactly the same results with XMLmind XSL-FO Converter v4.4.0,
v4.4.2 and v4.5.0. Therefore it's not a regression. See attached .rtf
files.



>
> I provied a sample at top where width is not specified on last cell
and
> same fo xml at bottom but with the width specified.
>
> The expected result would be to line up like they do when the width is
> specified and tool would respect width set and auto calculated ones
with
> out width based on content and remaiing width.
>

I'm not sure that the result you expect actually corresponds to what's 
mandated by the XSL-FO standard.

This is directly related to table-layout="auto" (the default value). See

http://www.w3.org/TR/xsl/#fo_table
---
The automatic table layout and fixed table layout is defined in 17.5.2 
of the CSS2 specification 
(http://www.w3.org/TR/REC-CSS2/tables.html#width-layout";).
---

This is of course not a proof of what I'm saying but, for example, 
RenderX XEP[*] does *not* render the first sequence of tables as you 
expect it. See attached .pdf file.


---
[*] Unfortunately Apache FOP cannot render your tables at all.

Title: Preliminary Proxy Statement


 

Orignal html where last cell width not specified. Each item is in it's own table so they will only line up if the width is respected

   

Base Salary—up to 50% of annual salary;

 

   

Annual Bonus—all or part of the annual bonus payable under our annual incentive plans;

 

   

Long-Term Incentive Cash Award—all or part of the long-term cash award payable under our long-term incentive plans;

 

50

 

Modified html so last column width is set to 92%

   

Base Salary—up to 50% of annual salary;

 

   

Annual Bonus—all or part of the annual bonus payable under our annual incentive plans;

 

   

Long-Term Incentive Cash Award—all or part of the long-term cash award payable under our long-term incentive plans;

 

50

 
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support

Reply via email to