You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Jeremias Maerki <de...@jeremias-maerki.ch> on 2005/10/17 15:30:11 UTC

Mixing shorthands and normal properties

Assume a block you want to give a 5pt padding and use "retain" on the
before and after edges.

<fo:block padding="5pt" padding-before.conditionality="retain" padding-after.conditionality="retain">

Is it correct behaviour that the before-before and border-after
properties override the shorthand, also resetting the width component to
zero? The effective padding width for the before and after edges is "0pt"
ATM. Feels wrong somehow. Any comments?

Jeremias Maerki


Re: Mixing shorthands and normal properties

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Anyway, running the attached FO file through a number of FO
implementations does not produce consistent output. Sigh.

On 17.10.2005 15:40:58 Jeremias Maerki wrote:
> Never mind:
> http://marc.theaimsgroup.com/?t=112607409300001&r=1&w=2
> 
> On 17.10.2005 15:30:11 Jeremias Maerki wrote:
> > Assume a block you want to give a 5pt padding and use "retain" on the
> > before and after edges.
> > 
> > <fo:block padding="5pt" padding-before.conditionality="retain" padding-after.conditionality="retain">
> > 
> > Is it correct behaviour that the before-before and border-after
> > properties override the shorthand, also resetting the width component to
> > zero? The effective padding width for the before and after edges is "0pt"
> > ATM. Feels wrong somehow. Any comments?
> > 
> > Jeremias Maerki
> 
> 
> 
> Jeremias Maerki



Jeremias Maerki

Re: Mixing shorthands and normal properties

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Never mind:
http://marc.theaimsgroup.com/?t=112607409300001&r=1&w=2

On 17.10.2005 15:30:11 Jeremias Maerki wrote:
> Assume a block you want to give a 5pt padding and use "retain" on the
> before and after edges.
> 
> <fo:block padding="5pt" padding-before.conditionality="retain" padding-after.conditionality="retain">
> 
> Is it correct behaviour that the before-before and border-after
> properties override the shorthand, also resetting the width component to
> zero? The effective padding width for the before and after edges is "0pt"
> ATM. Feels wrong somehow. Any comments?
> 
> Jeremias Maerki



Jeremias Maerki