Re: text-indent/last-line-end-indent and nested block-level FOs

These are both inherited properties; your nested block in the example will
have the same 'text-indent' or 'last-line-end-indent' applied as the first
line-area of the containing block; i.e. you will see 2 indents corresponding
to each.

Regards,
Arved Sandstrom

----- Original Message -----
From: "Nilsson, Peter" <pni@sorman.se>
To: <www-xsl-fo@w3.org>
Sent: Friday, June 15, 2001 5:41 AM
Subject: text-indent/last-line-end-indent and nested block-level FOs


> Hi,
>
> I need a little clarification. The FO spec says that the text-indent
> (last-line-end-indent) property(ies) specifies indentation to add to the
> first (last) line of a fo:block. My question is what should happen when a
> block-level fo is the first fo in a block (applies to the case with
> last-line-end-indent as well, but let's ignore that for the rest of this
> message.) For example, if I have something like:
>
> <block text-indent="3cm">
>   <block>I'm nested.</block>
>   I am not nested.
> </block>
>
> Which line should get indented by 3cm according to the spec? It doesn't
seem
> logic that the nested block would be affected (it could be some other kind
> of block-level FO). It also seems a little odd that the indent really
falls
> in the middle of the outermost block.
>
> I am actually implementing DSSSL, but also want to try to follow the
XSL-FO
> spec for the future.
>
> Any ideas? How do the other implementors treat this?
>
> Regards,
> //Peter Nilsson
>
> --
>
> Peter Nilsson
> System Developer
> Sörman Information AB
> Deltavägen 3, 352 43 VÄXJÖ
> Phone: +46 (470) 72 70 16
> Fax: +46 (470) 72 70 01
> E-mail: pni@sorman.se
> WWW: www.sorman.se
>
>

Received on Friday, 15 June 2001 05:05:21 UTC