[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

(FO) Baseline alignment in lists

Subject: (FO) Baseline alignment in lists
From: "Deborah Pickett" <debbiep-list-xsl@xxxxxxxxxx>
Date: Tue, 6 May 2008 14:25:22 +1000 (EST)
 (FO) Baseline alignment in lists
I am trying to work out whether my markup is wrong, or if the FO
processors I use don't support it, or if I have misinterpreted the spec.

<fo:list-item vertical-align="baseline">
  <fo:list-item-label end-indent="label-end()">
    <fo:block>1</fo:block>
  </fo:list-item-label>
  <fo:list-item-body start-indent="body-start()">
    <fo:block>
      <fo:inline>Some text with a
        <fo:external-graphic src="url(large.png)"/>
        inline image
      </fo:inline>
    </fo:block>
  </fo:list-item-body>
</fo:list-item>

When I render this with FOP 0.94 and XEP 4.11, the baselines of the list
item label and the list item body don't line up vertically, because the
large external graphic pushes down the baseline of the body.  I expected
the baseline of the label to be pushed down an equivalent amount based on
this text in XSL 1.1 section 6.8.1:

  The placement, in the block-progression-direction, of the label with
  respect to the body is made in accordance with the "vertical-align"
  property of the fo:list-item.

Both FOP and XEP claim to support vertical-align, which is making me doubt
my markup.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.