<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
<!--
body
        {font-family:Helvetica,Arial;
        font-size:13px}
-->
</style>
</head>
<body style="word-wrap:break-word">
Hi,
<div><br>
</div>
<div>I don’t seem to be able to get correct output when a block-container’s width is specified as a percentage. Is this supported? I can’t find anything to say it’s not but I can’t find any examples for XEP anywhere.</div>
<div><br>
</div>
<div>I adapted the following from one of the XEP examples. If the width, in red, is set as 30% the space the container takes up looks reasonable but its children only seem to occupy a fraction of it, always on the left no matter if the float is start or end,
 which might well also be 30%.</div>
<div><br>
</div>
<div>If the width is set to an amount, say 5cm as here, the children occupy the whole block-container. Any ideas?</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div><font face="Courier"><?xml version="1.0" encoding="utf-8"?></font></div>
<div><font face="Courier"><fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"></font></div>
<div><font face="Courier">   <fo:layout-master-set></font></div>
<div><font face="Courier">      <fo:simple-page-master master-name="all-pages"></font></div>
<div><font face="Courier">         <fo:region-body region-name="xsl-region-body" margin="0.7in"</font></div>
<div><font face="Courier">           column-gap="0.25in" border="0.25pt solid gray" padding="6pt"/></font></div>
<div><font face="Courier">         <fo:region-before region-name="xsl-region-before" extent="0.7in"</font></div>
<div><font face="Courier">           display-align="after" padding="6pt 0.7in"/></font></div>
<div><font face="Courier">         <fo:region-after region-name="xsl-region-after" extent="0.7in"</font></div>
<div><font face="Courier">           display-align="before" padding="6pt 0.7in"/></font></div>
<div><font face="Courier">      </fo:simple-page-master></font></div>
<div><font face="Courier">   </fo:layout-master-set></font></div>
<div><font face="Courier">   <fo:page-sequence master-reference="all-pages"></font></div>
<div><font face="Courier">      <fo:flow flow-name="xsl-region-body"></font></div>
<div><font face="Courier">         <fo:block></font></div>
<div><font face="Courier">            <fo:block font="bold 14pt Helvetica" space-before="18pt"</font></div>
<div><font face="Courier">              space-before.conditionality="discard" space-after="6pt"</font></div>
<div><font face="Courier">              keep-with-next.within-column="always"</font></div>
<div><font face="Courier">              keep-together.within-column="always" text-align="center"</font></div>
<div><font face="Courier">              padding="3pt" background-color="silver">  Inlines - Borders,</font></div>
<div><font face="Courier">              padding, and background </fo:block></font></div>
<div><font face="Courier"><br>
</font></div>
<div><font face="Courier">            <fo:block font="12pt Times" space-before="6pt" space-after="6pt"></font></div>
<div><font face="Courier">             This text tests borders and background on <fo:wrapper</font></div>
<div><font face="Courier">               font-family="monospace">fo:inline</fo:wrapper></font></div>
<div><font face="Courier">             element, including conditional borders/padding. </font></div>
<div><font face="Courier">            </fo:block></font></div>
<div><font face="Courier">            <fo:float float="end" clear="end"></font></div>
<div><font face="Courier">              <fo:block-container<font color="#ff2600"> width="5cm"</font>></font></div>
<div><font face="Courier">                <fo:block font="12pt Times" space-before="6pt" space-after="6pt"></font></div>
<div><font face="Courier">                  This text tests borders and background on <fo:wrapper</font></div>
<div><font face="Courier">                    font-family="monospace">fo:inline</fo:wrapper> element,</font></div>
<div><font face="Courier">                  including conditional borders/padding. </font></div>
<div><font face="Courier">                </fo:block></font></div>
<div><font face="Courier">              </fo:block-container></font></div>
<div><font face="Courier">            </fo:float></font></div>
<div><font face="Courier">         </fo:block></font></div>
<div><font face="Courier">      </fo:flow></font></div>
<div><font face="Courier">   </fo:page-sequence></font></div>
<div><font face="Courier"></fo:root></font></div>
</div>
<div><br>
</div>
<div>Best,</div>
<div><br>
</div>
<div>Peter.</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<br>
<br>
<br>
<hr>
<font size="1" face="calibri"><b>Privileged/Confidential</b> information may be contained in this message. If you are neither the intended recipient and have received this message in error, please delete this message and notify the sender immediately.
<b>Strict Prohibition: </b>This message if received in error, whether in part or in whole, should not be reviewed, retained, copied, reused, disclosed, distributed or used for any purpose whatsoever. Such unauthorised use may be unlawful and may contain material
 protected by the Official Secrets Act (Cap 153) of the Laws of Brunei Darussalam.
<b>Disclaimer</b> The Government of His Majesty the Sultan and Yang Di-Pertuan of Brunei Darussalam accepts no responsibility for loss or damage arising from the use of this message. This message shall not operate to bind to any order or contract unless pursuant
 to an explicit written agreement. </font><br>
<br>
<br>

!DSPAM:87,54c0ad7710101352029233!

</body>
</html>