Question, 

When I have overlapping regions (e.g.,
fo:region-start/after/before/end are defined but no
margins are provided within fo:region-body to
accomodate their extents--see example below), the spec
doesn't appear to indicate which region should "win". 
What it does say (6.4.13) at least is this:

"The spacing between the last four regions [those
listed above] and the fo:region-body is determined by
subtracting the relevant extent trait on the side
regions from the trait that corresponds to the
"margin-x" property on the fo:region-body."

Judging from background-color, the maintenance version
lets all side regions "win" (not necessarily the
correct answer), while trunk lets only fo:region-after
and -end win.  (See attachments.) Does this matter? 
In the case where no margins were defined within
fo:region-body, can/should we indeed let the results
be undefined?

Thanks,
Glen

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
  <fo:layout-master-set>
    <fo:simple-page-master master-name="letter"
page-height="11in" page-width="8.5in" 
        margin-top="1in" margin-bottom="1in"
margin-left="1in" margin-right="1in">
      <fo:region-before extent="1cm"
background-color="yellow"/>  
      <fo:region-start  extent="1cm"
background-color="purple" /> 
      <fo:region-body background-color="green"/>
      <fo:region-end    extent="1cm"
background-color="orange"/> 
      <fo:region-after  extent="1cm"
background-color="blue"  /> 
    </fo:simple-page-master>
  </fo:layout-master-set>
  <fo:page-sequence master-reference="letter">
    <fo:flow flow-name="xsl-region-body">
      <fo:block>Hello World!</fo:block>
    </fo:flow>
  </fo:page-sequence>
</fo:root>



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Attachment: helloworldMaint.pdf
Description: helloworldMaint.pdf

Attachment: helloworldTrunk.pdf
Description: helloworldTrunk.pdf

Reply via email to