AH Formatter /
XSL Formatter
XSLT/XSL-FO/SVG/MathML ConformanceXSL-FO |
|
| Q. |
I specified start-indent="5cm" for fo:flow, and specified start-indent="0cm" and margin-left="1cm" for fo:block in fo:float in my code as follows:
<fo:flow flow-name="xsl-region-body" start-indent="5cm" ...>
<fo:float float="start">
<fo:block start-indent="0cm" margin-left="1cm">
<fo:block>XSL Formatter</fo:block>
</fo:block>
</fo:float>
I expected that I could get the indent of 1cm because I thought start-indent="0cm" in fo:block made the 5cm value of start-indent in fo:flow to "0cm" and only margin-left="1cm" in fo:block would join the result and the value of the indent became 1cm as a result. However, the formatted result on XSL Formatter is 6cm indent. How should I calculate it?
[No.2005031801]
|
|---|---|
| A. |
First of all, when start-indent = inherited_value_of(start-indent) + margin-corresponding + padding-corresponding + border-corresponding-width
In your code, |