CSS2.1 Conformance Test Suite

Chapter 13 - Paged media (12 tests)

Test Flags
13 Paged media
13.1 Introduction to paged media
13.2 Page boxes: the @page rule
13.2.1 Page margins
@page margins shorthand using fixed physical units
  • A margin declaration within the @page context applies to the page box.
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.
P
@page margins on bottom and left using percentages
  • A margin declaration within the @page context applies to the page box.
P
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: always
  • The 'always' value of the 'page-break-after' property forces a page break after the box.
P
page-break-after: auto
  • The 'always' value of the 'page-break-after' property forces a page break after the box.
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.
P
page-break-after (no inherit)
  • The 'page-break-after' property is not inherited.
P
page-break-after (invalid syntax)
  • The syntax of the 'page-break-after' property is auto | always | avoid | left | right.
invalidP
page-break-before: always
  • The 'always' value of the 'page-break-before' property forces a page break before the box.
P
page-break-before :auto
  • The 'auto' value of the 'page-break-before' property neither forces nor forbids a page break before the box.
P
page-break-before inline elements
  • The 'page-break-before' property applies to block-level elements only.
P
page-break-inside:auto
  • The 'auto' value of the 'page-break-inside' property neither forces nor forbids a page break inside the box.
P
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