Hi,
A small question: am I true that the element list passed as parameter of
the SpaceResolver.resolveElementList method should be delimited by
reference areas?
That is: as there is a fence before (and after) a reference area, there
will never be stacking constraints crossing ref-areas's boundaries.
AFAIU the SpaceResolver assumes that there is no ref-area generated by
any element of the list it's working on.
This raises the question as to how retained borders and paddings are
handled: their widths will count in the penalty width of resolved break
elements. How are borders from elements surrounding the list handled?
Example:
<fo:block border-after-width.length="4pt"
border-after-width.conditionality="retain"
border-after-style="solid" border-after-color="red">
<fo:block-container>
<fo:block border-after-width.length="4pt"
border-after-width.conditionality="retain"
border-after-style="solid" border-after-color="blue">
some text...
</fo:block>
</fo:block-container>
</fo:block>
IIUC the element list will be cut at the beginning of the
block-container. How will the red border of the enclosing block be taken
into account in the penalties produced by SpaceResolver on the list of
elements inside the block-container?
Thanks,
Vincent