AH Formatter / XSL Formatter
Q&A



XSLT/XSL-FO/MathML Technics

Float

Top
Basic, General
About AH Formatter
About XSL Formatter
Operation
Programming
XSLT/XSL-FO/SVG/MathML Conformance
XSLT/XSL-FO/MathML Technics
Index
Q.  I placed fo:block in side-float and put the text content in it. Then the width of side-float became the full width of region-body. How is the width of float decided? [No.2002093015]
A. 

The width of fo:float is decided depending on its content. According to the W3C Recommendation for XSL-FO:

6.10.2 fo:float

...

Side-floats derive their length in the inline-progression-dimension intrinsically from their child areas; the length is not determined by an explicit property value.

Thinking from this part:

Side-floats derive their length in the inline-progression-dimension intrinsically from their child areas

There is no definition in the case that the content of side-float has no width, the W3C Recommendation seems to assume that the long text strings, which require line breaking, does not become the content of float.

As this specification does not permit us to specify inline-progression-dimension (width) directly to fo:float, Place fo:block-container in fo:block and specify inline-progression-dimension to fo:block-container.


Copyright © 1999-2011 Antenna House, Inc. All rights reserved.
Antenna House is a trademark of Antenna House, Inc.