306Re: [XSL-FO] Vert. alignment of list-item-label/-body (XEP 2.21)
- Apr 2, 2001John,
I have formatted your fragment with the eval version of XEP 2.21,
and I cannot reproduce the problem. Could you please send me
a full FO file, so that I can look at the contents of your fo:basic link?
However, what you describe is quite possible: it may happen if your
fo:basic-link element contains inlined graphics, inclusions of larger
fonts, etc. Fo:basic-link is treated as an inline element in XSL FO; if it
contains tall elements, it increases the height of the line where it stays.
As a workaround, I can suggest using line-stacking-strategy="font-height"
on lists. This makes a fixed separation between consecutive lines
(equal to the computed value of the line-height attribute). As a result,
all baseline shifts due to nested inlines should go away.
Ken Holman already said that we still don't support relative-align="baseline"
It looks like this is becoming a real priority; we will try to deal with it as
----- Original Message -----
From: "John E. Simpson" <simpson@...>
Sent: Sunday, April 01, 2001 10:28 PM
Subject: Re: [XSL-FO] Vert. alignment of list-item-label/-body (XEP 2.21)
> Comparing the result I just reported to the list a few minutes ago, with
> the result I'd gotten on the previous version of the XSLT stylesheet (which
> didn't have the "helium-filled pilcrow" effect), I see I made one change.
> The change was to add the fo:basic-link element, to convert the
> fo:list-item-body's contents to a hyperlink.
> Could that somehow have created the problem? How are fo:basic-link FOs
> stacked within an fo:block?
> John E. Simpson | "I had a friend who was a clown. When
> http://www.flixml.org | he died, all his friends went to the
> XML Q&A: www.xml.com | funeral in one car." --Steven Wright