# CSS2.1 Test Suite

## Paged media (14 tests)

Test | Refs | Flags | Info
--- | --- | --- | ---
+ 13.1 Introduction to paged media
abspos-paged-001 |  | P | Positioning in paged media: Initial containing block
abspos-paged-002 |  | P | Positioning in paged media: Positioning multiple pages
+ 13.2 Page boxes: the @page rule
+ 13.2.1 Page margins
page-margin-000 |  | P | @page margins shorthand using fixed physical units A margin declaration within the @page context applies to the page box.
page-margin-001 |  | P | @page margins on top and right using percentages A percentage right margin in the @page context applies to the page box and is relative to the width of the page box. A percentage top margin in the @page context applies to the page box and is relative to the height of the page box.
page-margin-002 |  | P | @page margins on bottom and left using percentages A margin declaration within the @page context applies to the page box.
+ 13.2.1.1 Rendering page boxes that do not fit a target sheet
+ 13.2.1.2 Positioning the page box on the sheet
+ 13.2.2 Page selectors: selecting left, right, and first pages
+ 13.2.3 Content outside the page box
+ 13.3 Page breaks
+ 13.3.1 Page break properties: 'page-break-before', 'page-break-after', 'page-break-inside'
page-break-after-000 |  | P | page-break-after: always The 'always' value of the 'page-break-after' property forces a page break after the box.
page-break-after-001 |  | P | page-break-after: auto The 'always' value of the 'page-break-after' property forces a page break after the box.
page-break-after-002 |  | P | page-break-after applies to blocks The 'page-break-after' property must be applied to block-level elements and may be applied to other elements.
page-break-after-003 |  | P | page-break-after (no inherit) The 'page-break-after' property is not inherited.
page-break-after-004 |  | I P | page-break-after (invalid syntax) The syntax of the 'page-break-after' property is auto | always | avoid | left | right.
page-break-before-000 |  | P | page-break-before: always The 'always' value of the 'page-break-before' property forces a page break before the box.
page-break-before-001 |  | P | page-break-before :auto The 'auto' value of the 'page-break-before' property neither forces nor forbids a page break before the box.
page-break-before-002 |  | P | page-break-before inline elements The 'page-break-before' property applies to block-level elements only.
page-break-inside-000 |  | P | page-break-inside:auto The 'auto' value of the 'page-break-inside' property neither forces nor forbids a page break inside the box.
+ 13.3.2 Breaks inside elements: 'orphans', 'widows'
+ 13.3.3 Allowed page breaks
+ 13.3.4 Forced page breaks
+ 13.3.5 "Best" page breaks
+ 13.4 Cascading in the page context