xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Paul <ppaul_apa...@yahoo.ca>
Subject Re: [GSoC] Auto-table layout questions
Date Thu, 13 Jul 2006 16:20:46 GMT
Thank you for the advice.

I will sum this up on the wiki page.

So if I understand correctly we have to support certain values even if 
they are illegal ?

Patrick

Jeremias Maerki wrote:

>Right, but strictly speaking the value "auto" is illegal for
>column-width. FOP currently defaults to "proportional-column-width(1)"
>if no value is specified.
>
>Another thing we should be careful about is the distinction between the
>value set for table-layout and the effective algorithm to be used. If
>you specify table-layout="fixed" but without an ipd, the rules for
>automatic table layout are activated.
>
>On 12.07.2006 22:55:44 Andreas L Delmelle wrote:
>  
>
>>On Jul 12, 2006, at 22:11, Patrick Paul wrote:
>>
>>Hi Patrick,
>>
>>    
>>
>>>My first question, really simple but confusing to me, is about what is
>>>supposed to happen when table-layout="fixed" and one of the columns  
>>>has
>>>column-width="auto" ? Am I supposed to find out the optimal width  
>>>juste for
>>>that column ?
>>>      
>>>
>>Yes, but with one big difference compared to table-layout="auto".
>>IIRC, CSS mentions this case explicitly: when table-layout="fixed"  
>>and column-width="auto" then the column-widths are ultimately the  
>>widths necessary for the cells in the first row. No need to look at  
>>the whole table, in any case...
>>
>>Cheers,
>>
>>Andreas
>>
>>
>>Jeremias Maerki
>>

Mime
View raw message