XSL Test Suite: FOP Test Suite

[Top]

Test Cases: Layout

Test #basic1

Simple page layout, with region-before and region-after (page sequence refers to page-master)

Test #basic2

Simple page layout, with region-before and region-after (uses page-sequence-master)

Test #allregions

Test of fo:region-{start,end,before,after} and precedence attribute.

Test #columnlevel1

Test of column-count and column-gap

Test #columns

Footnotes in Columns

Test #simplecol

Two column test with one block spanning the page width

Test #simplecol2

Two column test with some blocks spanning the page width and flowing across page breaks.

Test #simplecol3

Two column test with some blocks spanning the page width and flowing across page breaks.

Test #simplecol4

Three column test with some blocks spanning the page width and flowing across page breaks.

Test #franklin_2pageseqs

Test of two page sequences

Test #franklin_alt

Page sequence with alternating left and right masters

Test #franklin_rep

Page sequence with one page master

Test #franklin_rep_max_repeats

Alternate test of page sequence using maximum-repeats.

Test #franklin_rep_max_repeats_nl

Alternate test of complex page sequences using unlimited maximum-repeats.

[Top]

Test Cases: Area Model

Test #background

Test of background colors in table-cell, table-row, table-column, table-body, table.

Test #border

Test of border-{color, width, style} in block-container and table-column

Test #borders

Test of border-{left|top|right|bottom}-{color, width, style} and border-{color,style,width} on table-cell, table-row, table-column, table-body, table.

Test #bordershorthand

Test of border-{left|top|right|bottom}-{color, width, style} and border-{color,style,width} on table-cell, table-row, table-column, table-body, table.

Test #corresprop

Interaction of absolute and relative properties.

Test #space

Space in tables (cells and rows)

  • Formatting Object: multiple
  • Property: space-*
  • XML file: space.fo
  • Expected result: space.pdf
[Top]

Test Cases: Keeps and Breaks

Test #break

break-before and break-after (pages) and keep-with-* (no components) in table-rows.

  • Formatting Object: block
  • Property: break-*, keep-with-*
  • XML file: break.fo
  • Expected result: break.pdf

Test #keep

keeps in table rows.

  • Formatting Object: table-row
  • Property: keep-with-*
  • XML file: keep.fo
  • Expected result: keep.pdf

Test #pagelevel1

breaks in page context

Test #pagelevel2

break-after in page context

Test #pagelevel3

break-before in page context

Test #pagelevel4

breaks in page context, with a 2-column layout.

Test #widowsorohans

Interaction of widows/orphans with tables.

Test #hyphen

Line breaking: hyphenation test (US English, German, Finnish, Italian).

[Top]

Test Cases: Formatting Objects

Test #character

character FOs with font-size and color attributes

Test #footnotes-simple

Use of fo:footnote and footnote-body

Test #headfoot

Table headers and footers.

Test #images

Test for Images

Test #instream

block and inline instream-foreign-object (includes SVG).

Test #leader

fo:leader and associated properties.

Test #textdeko

test of text-decoration on inlines.

Test #link

links to an external pdf file

  • Formatting Object: basic-link
  • Property: external-destination
  • XML file: link.fo
  • Expected result: link.pdf

Test #list

Many tests for lists.

Test #newlinktest

links to an internal destinations or external URLs

Test #normal

Simple document.

Test #normalex

Simple document with expressions in attribute values.

Test #omit

test of attributes "table-omit-{header|footer}-at-break".

[Top]

Test Cases: Fonts

Test #fonts

Character lists in various fonts.

[Top]

Test Cases: Inheritance

Test #inhprop

Test of inherited properties, and complex expressions in attributes.

[Top]

Test Cases: Multiple

Test #extensive

Extensive test (spacing, alignment, list-items, inclusion of SVG)

Test #giro

Tables, SVG in fo:instream-foreign-object

  • Formatting Object: multiple
  • XML file: giro.fo

Test #simple

A very simple document

  • Formatting Object: multiple
  • XML file: simple.fo