summaryrefslogtreecommitdiffstats
path: root/test/events/block-level.fo
diff options
context:
space:
mode:
Diffstat (limited to 'test/events/block-level.fo')
-rw-r--r--test/events/block-level.fo19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/events/block-level.fo b/test/events/block-level.fo
new file mode 100644
index 000000000..df224260f
--- /dev/null
+++ b/test/events/block-level.fo
@@ -0,0 +1,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>