W3C home > Mailing lists > Public > www-xsl-fo@w3.org > June 2001

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

From: Giannetti, Fabio <Fabio_Giannetti@hplb.hpl.hp.com>
Date: Fri, 15 Jun 2001 10:55:55 +0100
Message-ID: <5E13A1874524D411A876006008CD059F024AE734@0-mail-1.hpl.hp.com>
To: "'www-xsl-fo@w3.org'" <www-xsl-fo@w3.org>
Hi,
	form a render engine point of view you get something like:
[Box
	[Box
		[line]
	]
	[line]
]

The first line is empty because the block generate a line but the next
element inside the flow is a block. So it's clear for the override that the
first line of the nested block must not be indented. Then it will apply the
indenting for the line inside the parent block.

	
Fabio

-----Original Message-----
From: Nilsson, Peter [mailto:pni@sorman.se]
Sent: 15 June 2001 10:35
To: 'www-xsl-fo@w3.org'
Cc: 'Giannetti, Fabio'
Subject: RE: text-indent/last-line-end-indent and nested block-level FOs


[I got the reply I am replying to by private mail, but I think the
discussion belongs to the list a little more...]

> -----Original Message-----
> From: Giannetti, Fabio [mailto:Fabio_Giannetti@hplb.hpl.hp.com]
> To: 'Nilsson, Peter'
> Subject: RE: text-indent/last-line-end-indent and nested 
> block-level FOs
> 
> 	the specs says: "first box that flows into the block's 
> first line
> box".
> Now in your example the first box is the box created by the 
> nested block,
> and in accordance with the inheritance you get the "I'm 
> nested." indented of
> 3cm.
> 
> If you specify something like:
> <fo:block text-indent="3cm">
> 	<fo:block text-indent="0cm">I'm nested.</fo:block>
> 	I am not nested.
> </fo:block>
> This time the override of the property text-indent keep the 
> indentation to
> 0cm for the nested block, but because is also the first box 
> you loose the
> indentation for the parent block.

I'm not sure I understand/aggree here. It's clear that the first area from
the outermost block is from the nested block, but is that area really flowed
into a line area? Aren't block-level areas from the children of a block fo
just put into the resulting block-level area of the parent blocks?

Regards,
//Peter
Received on Friday, 15 June 2001 05:55:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:08 GMT