W3C home > Mailing lists > Public > www-xsl-fo@w3.org > April 2004

Spacing Rules

From: Craig Brown <cmb@ishtek.com>
Date: Thu, 22 Apr 2004 09:31:48 +1000
To: www-xsl-fo@w3.org
Message-Id: <20040422001111.6C2A2A09C1@frink.w3.org>

I was hoping someone could forward information or where to find some
regarding space handling.

If you have white-space-collapse="true" and you have a block
containing a mixture of sub-blocks and inlines.

<block>
    <block> Some text starting in a space.</block>
    <inline> Some more text</inline>
    <inline> Another inline</inline>
</block>

There are 7 spaces above that are interesting:
	1. Before the sub-block.
	2. Inside the start of the sub-block.
	3. Before the first inline.
	4. Inside the start of the first inline.
	5. Before the second inline.
	6. Inside the start of the second inline.
	7. After the second inline.

My guess is 5 and 6 should be displayed and nothing else.
(that's what XEP does)

Why are 3 and 4 discarded?

Are there rules somewhere for this?

Thanks for any help.

...cmb
--
Craig Brown                                      Web: http://www.ishtek.com
Ishtek                                           Phone:      61 2 8901 5201
PO Box 333 Forestville, NSW 2087.                Fax:        61 2 8901 5202
Received on Wednesday, 21 April 2004 20:11:11 GMT

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