Interpretation of border and padding for blocks in XSL-FO 1.0

Hi folks,

In the example below I am seeing two implementations interpret the 
XSL-FO one way, and two implementations interpret the XSL-FO a 
different way, and I cannot tell which way is correct from the specification.

<?xml version="1.0" encoding="iso-8859-1"?><!--border-block.fo-->
<root xmlns="http://www.w3.org/1999/XSL/Format"
       font-family="Times" font-size="20pt">

   <layout-master-set>
     <simple-page-master master-name="frame"
                         page-height="297mm" page-width="210mm"
                         margin-top="15mm" margin-bottom="15mm"
                         margin-left="15mm" margin-right="15mm">
       <region-body region-name="frame-body"/>
     </simple-page-master>
   </layout-master-set>

   <page-sequence master-reference="frame">
     <flow flow-name="frame-body" xmlns="http://www.w3.org/1999/XSL/Format">
       <block>This is a test</block>
       <block padding="10pt" border-width="3pt" border-style="solid">
         This is a test
       </block>
       <block>This is a test</block>
     </flow>
   </page-sequence>
</root>

Both Antenna House and RenderX line up the "This" along the left, 
thus pushing out the border beyond the limits of the parent start and 
end edges.  This is my intuitive expectation because I'm lining up 
all the text and I only want some of the text to be bordered.

Both DOPE and Ibex push the second "This" into the body to 
accommodate the border and padding such that the border edge lines up 
with the start of the first and third "This".

Could you please advise which is conformant behaviour?

Thanks!

. . . . . . . . . Ken

--
Upcoming XSLT/XSL-FO hands-on courses: Washington,DC 2006-06-12/16
World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/m/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05  http://www.CraneSoftwrights.com/m/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

Received on Friday, 24 March 2006 20:37:34 UTC