[xep-support] floats

From: Dave Pawson <dave.pawson@gmail.com>
Date: Sun Jul 08 2007 - 04:15:55 PDT

I'm confused over the area from which a float takes space in the
inline progression dimension.

In the example, the side float *should* AFAIK, take space from the
second list item.
It seems to take it from the third one.

Anyone explain why please?

TIA DaveP

<fo:list-block
    provisional-distance-between-starts="10mm">
<fo:list-item>
  <fo:list-item-label end-indent="label-end()">
    <fo:block>&#x2022;</fo:block>
  </fo:list-item-label>
  <fo:list-item-body start-indent="body-start()">
    <fo:block>List item one content</fo:block>
  </fo:list-item-body>
</fo:list-item>
<fo:list-item>
  <fo:list-item-label end-indent="label-end()">
    <fo:block>&#x2022;</fo:block>
  </fo:list-item-label>
  <fo:list-item-body start-indent="body-start()">
    <fo:block>
      <fo:block>List item two content. The float should take content
      from this area. It appears not to</fo:block>
      <fo:float float="end">
        <fo:block border="thin red solid"
                  start-indent="2em">Float text content. This float is the sibling
of the second list item</fo:block>
      </fo:float>
    </fo:block>
  </fo:list-item-body>
</fo:list-item>
<fo:list-item>
  <fo:list-item-label end-indent="label-end()">
    <fo:block>&#x2022;</fo:block>
  </fo:list-item-label>
  <fo:list-item-body start-indent="body-start()">
    <fo:block>List item three content. The float should not take content
      from this third area. Longer text lengths should cause this text to wrap
      around the float.</fo:block>
  </fo:list-item-body>
</fo:list-item>
</fo:list-block>

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Sun Jul 8 04:40:48 2007

This archive was generated by hypermail 2.1.8 : Sun Jul 08 2007 - 04:40:53 PDT