Inlines - Borders, padding, and background
Page
© RenderX
2000
XSL Formatting Objects Test Suite
Inlines - Borders, padding, and background
This text tests borders and background on fo:inline
element, including conditional borders/padding.
The following text should have a silver background, with no padding
and no borders:
This is regular text,
this is raised by 6 pt above the baseline,
this is lowered by 6 pt below the baseline,
and this uses a larger font.
The following text should have a thin solid border around it,
padded by 1 pt from top and bottom and by 3 pt from left and right,
borders and padding retained on line breaks:
This is regular text,
this is raised by 6 pt above the baseline,
this is lowered by 6 pt below the baseline,
and this uses a larger font.
The following text should have a yellow background and a ridge
red border, padded by 3 pt from top and bottom and by 6 pt from
right and left, borders and padding discarded at line breaks:
This is regular text,
this is raised by 6 pt above the baseline,
this is lowered by 6 pt below the baseline,
and this uses a larger font.
The following text should have a background made of colored
spots (produced by tiled images), thin solid gray border,
padded by 6 pt, padding discarded at line breaks:
This is regular text,
this is raised by 6 pt above the baseline,
this is lowered by 6 pt below the baseline,
and this uses a larger font.