aboutsummaryrefslogtreecommitdiffstats
path: root/fop/test/events/block-level.fo
blob: df224260fb7a8738062469d288be47143f9fc276 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0" standalone="no"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
  <fo:layout-master-set>
    <fo:simple-page-master master-name="page"
      page-height="420pt" page-width="320pt" margin="10pt">
      <fo:region-body background-color="#F0F0F0"/>
    </fo:simple-page-master>
  </fo:layout-master-set>
  <fo:page-sequence master-reference="page">
    <fo:flow flow-name="xsl-region-body">
      <fo:block>The content of the following block-container is too wide:</fo:block>
      <fo:block-container width="100pt" height="100pt" border="1pt solid black">
        <fo:block-container width="150pt" height="50pt" background-color="yellow">
          <fo:block/>
        </fo:block-container>
      </fo:block-container>
    </fo:flow>
  </fo:page-sequence>
</fo:root>