CSS3 Paged Media Testable Assertions List

This document contains a table of testable assertions extracted from the CSS3 Paged Media Module, W3C Last Call Working Draft 10 October 2006 specification, and, for each assertion, a list of associated tests.

==== Page Boxes: the @page Rule ====

  1. The content of the document is flowed into one or more page areas within their corresponding page boxes.
    The content of the document is flowed into the page area.
    The content area of a page box is called the page area.
    Tests:
  2. The content edges of the page box on the first page establish the rectangle that is the initial containing block of the document.
    The content area of a page box is called the page area.
    The edges of the page area on the first page establish the rectangle that is the initial containing block of the document.
    Tests: page-cb-000.xht, page-abs-pos-000.xht
  3. The properties of a page box are determined by properties declared within the page context. :
    The properties of a page box are determined by properties declared within the page context, which is the declaration block of the @page rule.
    Tests:
  4. The 'width' and 'height' properties do not apply to a page box. :
    Page boxes differ from other boxes in that the 'width' and 'height' properties do not apply to a page box.
    Tests:
  5. The size of the page box is specified using the 'size' property in the page context. SEE [Section] :
    The size of the page box is specified using the 'size' property in the page context.
    Tests:

    ===== Page Terminology and the Page Model =====

  6. Any adjustment to keep content within the printable area must fit constraints in the "Rendering page boxes that do not fit a page sheet" and "Content outside the page box" sections. :
    Printing devices MAY adjust the layout of the document so that content falls within the printable area. How this adjustment is accomplished is device dependent within the constraints expressed in the sections Rendering page boxes that do not fit a page sheet and Content outside the page box.
    Tests:
  7. The top-left-corner margin box's margin edges are defined by a fixed-size box defined by the intersection of the top and left margins of the page box. :
    Tests:
  8. The top-left margin box's margin edges are defined by a variable-width box filling the top page margin between the top-left-corner and top-center margin boxes. :
    Tests:
  9. The top-center margin box's margin edges are defined by a variable-width box centered horizontally between the page's left and right border edges and filling the top page margin between the top-left and top-right margin boxes. :
    Tests:
  10. The top-right margin box's margin edges are defined bya a variable-width box filling the top page margin between the top-center and top-right-corner margin boxes. :
    Tests:
  11. The top-right-corner margin box's margin edges are defined by a a fixed-size box defined by the intersection of the top and right margins of the page box. :
    Tests:
  12. The left-top margin box's margin edges are defined by a a variable-height box filling the left page margin between the top-left-corner and left-middle margin boxes. :
    Tests:
  13. The left-middle margin box's margin edges are defined by a a variable-height box centered vertically between the page's top and bottom border edges and filling the left page margin between the left-top and left-bottom margin boxes. :
    Tests:
  14. The left-bottom margin box's margin edges are defined by a variable-height box filling the left page margin between the left-middle and bottom-left-corner margin boxes. :
    Tests:
  15. The right-top margin box's margin edges are defined by a variable-height box filling the right page margin between the top-right-corner and right-middle margin boxes. :
    Tests:
  16. The right-middle margin box's margin edges are defined by a variable-height box centered vertically between the page's top and bottom border edges and filling the right page margin between the right-top and right-bottom margin boxes. :
    Tests:
  17. The right-bottom margin box's margin edges are defined by a variable-height box filling the right page margin between the right-middle and bottom-right-corner margin boxes. :
    Tests:
  18. The bottom-left-corner margin box's margin edges are defined by a fixed-size box defined by the intersection of the bottom and left margins of the page box. :
    Tests:
  19. The bottom-left margin box's margin edges are defined by a variable-width box filling the bottom page margin between the bottom-left-corner and bottom-center margin boxes. :
    Tests:
  20. The bottom-center margin box's margin edges are defined by a variable-width box centered horizontally between the page's left and right border edges and filling the bottom page margin between the bottom-left and bottom-right margin boxes. :
    Tests:
  21. The bottom-right margin box's margin edges are defined by a variable-width box filling the bottom page margin between the bottom-center and bottom-right-corner margin boxes. :
    Tests:
  22. The bottom-right-corner margin box's margin edges are defined by a fixed-size box defined by the intersection of the bottom and right margins of the page box. :
    Tests:

    ===== Page types =====

  23. If the UA supports the 'direction' and 'block-progression' properties from the CSS 3 Text Layout Module, it MUST determine whether the first page is a ':left' or ':right' page by using the values of those properties on the root element. :
    Tests:
  24. Page layouts for documents using a left-to-right major writing direction have the earlier of the facing pages on the left. :
    Tests:
  25. Page layouts for documents using a right-to-left major writing direction have the ealier of the facing pages on the right. :
    Tests:

    ===== Page size =====

  26. The syntax of the 'size' property is <length>{1,2} | auto | [ <page-size> || [ portrait | landscape] ]. :
    Value: <length>{1,2} | auto | [ <page-size> || [ portrait | landscape] ]
    Tests:
  27. The initial value of the 'size' property is 'auto'. :
    Initial: auto
    Tests:
  28. The 'size' value only applies to the page context. :
    Applies to: page context
    Tests:
  29. The 'size' value only applies to paged media. :
    Media: paged
    Tests:
  30. The computed value of the 'size' property is its specified value. :
    Computed value: specified value
    Tests:
  31. The 'auto' value of the 'size' property sets the page box to the size and orientation of the page sheet chosen by the UA. :
    auto: The page box will be set to the size and orientation of the page sheet chosen by the UA.
    Tests:
  32. The 'landscape' value of the 'size' property specifies that the page's content be printed in landscape orientation: the longer sides of the page box are horizontal. :
    landscape: Specifies that the page's content be printed in landscape orientation. The page box is the same size as the page, and the longer sides are horizontal.
    Tests:
  33. The 'portrait' value of the 'size' property specifies that the page's content be printed in portrait orientation: the shorter sides of the page box are horizontal. :
    Specifies that the page's content be printed in portrait orientation. The page box is the same size as the page, and the shorter sides are horizontal.
    Tests:
  34. If a preferred output media size is indicated via <length> or <page-size> values for the 'size' property, output must be rendered on the media size indicated if available. :
    When possible, output should be rendered on the media size indicated; if not available, the smallest larger size available should be used; if not available, the contents of the page box should be scaled down to fit the smaller page sheet.
    Tests:
  35. If a preferred output media size is indicated via <length> or <page-size> values for the 'size' property and the indicated media size is not available, a larger size must be used if available. :
    When possible, output should be rendered on the media size indicated; if not available, a larger size should be used; if not available, the contents of the page box should be scaled down to fit the largest smaller page sheet.
    Tests:
  36. If a preferred output media size is indicated via <length> or <page-size> values for the 'size' property and neither the indicated media size nor a larger size are available, the contents of the page SHOULD be scaled down to fit the largest smaller page sheet. :
    When possible, output should be rendered on the media size indicated; if not available, a larger size should be used; if not available, the contents of the page box should be scaled down to fit the smaller page sheet.
    Tests:
  37. A single <length> value for the 'size' property specifies that the page box width and height both be set to the given length. :
    <length> The page box will be set to the given absolute length. If only one length value is specified, it sets both the width and height of the page box (i.e., the box is a square).
    Tests:
  38. If two <length> values are specified for the 'size' property, the first value sets the width of the page box and the second value sets the height.
    Tests:
  39. In <length> values for the 'size' property, the 'em' and 'ex' units refer to the page context's font. :
    Therefore, values in units of 'em' and 'ex' refer to the page context's font.
    Tests:
  40. The 'A5' value of the 'size' property specifies that the page box's width be 148mm and its height 210mm. :
    A5: The page box SHOULD be set to the size of ISO A5 media: 148mm wide and 210 mm high.
    Tests:
  41. The 'A4' value of the 'size' property specifies that the page box's width be 210m and its height 297mm. :
    A4: The page box SHOULD be set to the size of ISO A4 media: 210mm wide and 297mm high.
    Tests:
  42. The 'A3' value of the 'size' property specifies that the page box's width be 297mm and its height 420mm. :
    A3: The page box SHOULD be set to the size of ISO A3 media: 297mm wide and 420mm high.
    Tests:
  43. The 'B5' value of the 'size' property specifies that the page box's width be 176mm and its height 250mm. :
    B5: The page box SHOULD be set to the size of ISO B3 media: 176mm wide and 250mm high.
    Tests:
  44. The 'B4' value of the 'size' property specifies that the page box's width be 250mm and its height 353mm. :
    B4: The page box SHOULD be set to the size of ISO B4 media: 250mm wide and 353mm high.
    Tests:
  45. The 'letter' value of the 'size' property specifies that the page box's width be 8.5in and its height 11in. :
    letter: The page box SHOULD be set to the size of North American letter media: 8.5in wide and 11in high.
    Tests:
  46. The 'legal' value of the 'size' property specifies that the page box's width be 8.5in and its height 14in. :
    legal: The page box SHOULD be set to the size of North American media: 8.5in wide and 14in high.
    Tests:
  47. The 'ledger' value of the 'size' property specifies that the page box's width be 11in and its height 17in. :
    ledger: The page box SHOULD be set to the size of North American media: 11in wide and 17in high.
    Tests:
  48. SSS User agents SHOULD also support Media Size Self-Describing Names as defined in Section 5 of [PWGMSN]. :
    SSS User agents SHOULD also support Media Size Self-Describing Names as defined in Section 5 of [PWGMSN].
    Tests:

    ===== Rendering page boxes that do not fit a page sheet =====

  49. XXX If a page box does not match the target page sheet dimensions, the user agent must either render the page box at the indicated size on a larger page sheet; or rotate the page box 90° if this will make the page box fit the page sheet; or scale the page box to fit the page sheet; or reformat the page contents, including 'spilling' onto other page sheets; or clip overflowed content. :
    If a page box does not match the target page sheet dimensions, the user agent MAY choose (in order of preference) to: 1. Render the page box at the indicated size on a larger page sheet. 2. Rotate the page box 90° if this will make the page box fit the page sheet. 3. Scale the page box to fit the page sheet. (There is no requirement to maintain the aspect ratio of the page or of any elements on the page when scaling; however, preservation of the aspect ratio is preferred.) 4. Reformat the page contents, including 'spilling' onto other page sheets. 5. Clip overflowed content (least preferred).
    Tests:

    ===== Positioning the page box on the sheet =====

  50. SSS If the page box is smaller than the page size the user agent SHOULD either center the page box on the sheet or position the page box in the upper left corner of the page sheet. :
    Tests:

    ===== Page Selectors and the Page Context =====

  51. An @page rule consists of the keyword '@page', an OPTIONAL page name followed with no intervening space by an OPTIONAL page pseudo-class and a block of declarations and margin rules (said to be in the page context). :
    Tests: page-margin-000.xht, page-margin-001.xht, page-margin-002.xht, page-margin-003.xht
  52. XXX Properties declared within the page context (and not within a margin box context) apply to the page box. :
    Properties for the page box are specified within the page context.
    Tests:

    ===== Page Selector Grammar =====

  53. Assertions about the page grammar go here.
    Tests:
  54. The value 'auto' used as a page name must be treated as a syntax error. :
    The value 'auto' may not be used as a page name and MUST be treated as a syntax error.
    Tests:

    ===== Cascading in the page context =====

  55. The specificity of an @page rule is computed by concatenating the numbers f-g-h where f=1 if an @page rule has a named page; g=1 if an @page rule has a ':first' pseudo-class; and h=1 if an @page rule has a ':left' or ':right' pseudo-class. :
    The specificity of @page rules is computed in an analogous manner to the computations defined in the Selectors module:
    • if an @page rule has a named page, f=1
    • if an @page rule has a ':first' pseudo-class, g=1
    • if an @page rule has a ':left' or ':right' pseudo-class, h=1
    Concatenating the three numbers f-g-h gives the specificity.
    Tests:
  56. Page contexts cascade :
    Page contexts cascade
    Tests:

    ===== Page Properties =====

  57. The 'size' property applies to the page box. :
    The following properties can be used in the page context to style the appearance of the page box: ... 'size'
    Tests:
  58. Background properties defined in CSS2.1 apply to the page box. :
    The following properties can be used in the page context to style the appearance of the page box: ... background properties
    Tests:
  59. Border properties defined in CSS2.1 apply to the page box. :
    The following properties can be used in the page context to style the appearance of the page box: ... border properties
    Tests:
  60. Margin properties defined in CSS2.1 apply to the page box. :
    The following properties can be used in the page context to style the appearance of the page box: ... margin properties
    Tests:
  61. Padding properties defined in CSS2.1 apply to the page box. :
    The following properties can be used in the page context to style the appearance of the page box: ... padding properties
    Tests:
  62. The 'counter-reset' property applies to the page box. :
    These properties can be used in the page context to set counters: ... counter-reset, counter-increment
    Tests: page-count-001.xht
  63. The 'counter-increment' property applies to the page box. :
    These properties can be used in the page context to set counters: ... counter-reset, counter-increment
    Tests: page-count-000.xht
  64. The 'color' property specified on the page box inherits to the margin boxes. :
    These properties can be used in the page context to style the content of margin boxes: ... color
    Tests:
  65. Font properties defined in CSS2.1 when specified on the page box inherit to the margin boxes. :
    These properties can be used in the page context to style the content of margin boxes: ... font properties
    Tests:
  66. Text properties defined in CSS2.1 when specified on the page box inherit to the margin boxes. :
    These properties can be used in the page context to style the content of margin boxes: ... text properties
    Tests:
  67. Margin boxes inherit inheritable properties from the page context. :
    That is, when set in the page context, the values become the initial values for the margin boxes.
    Tests:
  68. Properties other than those listed above are invalid within the page context. :
    Properties other than those listed above are invalid within the page context.
    Tests:
  69. Background properties defined in CSS2.1 apply to margin boxes. :
    Tests:
  70. Border properties defined in CSS2.1 apply to margin boxes. :
    Tests:
  71. Margin properties defined in CSS2.1 apply to margin boxes. :
    Tests:
  72. Padding properties defined in CSS2.1 apply to margin boxes. :
    Tests:
  73. The 'color' property applies to margin boxes. :
    Tests:
  74. Font properties defined in CSS2.1 apply to margin boxes. :
    Tests:
  75. Text properties defined in CSS2.1 apply to margin boxes. :
    Tests:
  76. The 'content' property applies to margin boxes. :
    Tests:
  77. Other properties are invalid within the margin context. :
    Tests:
  78. The normal rules for box properties apply with the following exceptions: :
    Tests:
  79. XXX When applied to the page box, values in units of 'em' and 'ex' refer to the page context's font. :
    Values in units of 'em' and 'ex' refer to the page context's font.
    Tests:
  80. XXX When applied to a margin box, values in units of 'em' and 'ex' refer to the margin box's font. :
    Tests:
  81. When applied to the page box, percentage values on the margin and padding properties are relative to the dimensions of the page box (defined by the 'size' property). :
    Percentage values on the margin, padding and border properties are relative to the dimensions of the containing box (defined by the 'size' property in the page context).
    Tests: page-margin-002.xht
  82. XXX When applied to a margin boxes, percentage values ???? :
    Tests:
  83. The 'width' and 'height' properties do not apply to the page box. :
    The 'width' and 'height' properties do not apply to the page box
    Tests:
  84. The page background covers the entire page box, including the page margins. :
    The page background applies to the entire page box, including the page margins.
    Tests:
  85. A margin-box background is painted over (on top of) the page background. :
    A margin-box background is painted over (on top of) the page background.
    Tests:
  86. The root element then paints the canvas within the page's padding box. :
    The root element then paints the canvas within the page's | ^ padding box.
    ^
    Tests: page-root-000.xht
  87. XXX The page context's background image is positioned and anchored within the page's padding box. :
    The origin of the page background is the upper-left corner of the page area.
    Tests:
  88. When a page break splits a box, the box's margins, borders, and padding have no visual effect where the split occurs. :
    When a page break splits a box, the box's margins, borders, and padding have no visual effect where the split occurs.
    Tests:

    ===== Left, right, and first pages =====

  89. User agents automatically classify all pages into either the ':left' or ':right' pseudo-class. :
    When printing double-sided documents, the page boxes on left and right pages MAY be different.
    Tests: page-pseudo-000.xht
  90. XXX The user agent must honor declarations for ':left' and ':right' even if the user agent does not transfer page boxes to left and right sheets (e.g. a printer that only prints single-sided). HOW? :
    If different declarations have been given for left and right pages, the user agent must honor these declarations even if the user agent does not transfer page boxes to left and right sheets (e.g. a printer that only prints single-sided).
    Tests: page-pseudo-000.xht
  91. For documents with an inline progression of right to left and a block progression of top to bottom, the first page of a document is a :right page.
    Add statement to spec.
    Tests: page-pseudo-000.xht
  92. Declarations inside a page context defined with the ':first' pseudo-class apply only to the first page of a document. :
    Authors MAY also specify style for the first page of a document with the ':first' pseudo-class:
    Tests: page-first-000.xht, page-first-001.xht

    ===== Margin Boxes =====

  93. Margin boxes are oriented with respect to the content and are independent of page orientation. :
    Please note that the margin boxes are oriented with respect to the content and are independent of page orientation
    Tests: margin-boxes-000.xht, margin-boxes-001.xht, margin-boxes-002.xht

    ===== At-rules for margin boxes =====

  94. A margin at-rule consists of an ATKEYWORD that identifies the margin box (e.g. '@top-left') and a block of declarations (said to be in the margin context).
    Tests: page-mbox-000.xht, page-mbox-001.xht

    ===== Dimension of margin boxes =====

    ==== top row ====

  95. The used values of the top-left, top-center, and top-right margin boxes' widths and left and right margins are chosen such that the sum of the squares of their left and right margins is minimized under the constraints below. :

    The following rules apply to 'top-left', 'top-center' and 'top-right' margin boxes, which are referred to as [1], [2], and [3], respectively, in the expression below.

    |

    The UA chooses used values for each box's width, left and right margin, left and right border thickness, and left and right padding. It chooses them in such a way that the value of: left-margin[1]² + left-margin[2]² + left-margin[3]² + right-margin[1]² + | right-margin[2]² + right-margin[3]² is as small as possible under the constraints below. ("foo[n]" stands for the used value of property foo of the n'th box and "x²" for the square of x.)

    |
  96. The sum of the outer widths of the top-left, top-center, and top-right boxes is equal to the distance between the left page border edge and the right page border edge. :
    The sum of the outer widths of the three boxes is equal to max box width.
    max box width, which is the sum of the width of the page's left padding area, the width of the page area, and the width of the page's right padding area. In other words, it is the distance between the left page border and the right page border.
    Tests: page-mbox-004.xht
  97. If the top-center box is not empty or its computed width is not 'auto' then the outer widths of the top-left and top-right boxes are equal. :
    If the center box is not empty or if its computed width is not 'auto', then the outer widths of the other two boxes are equal to each other (i.e., the center box is centered in that case).
  98. If the top-left box is empty and its computed width is 'auto', then the used values of its left and right padding and left and right border width are all 0. :
    3. If a box is empty and its computed width is 'auto', then the used values of its left and right padding and left and right border are all 0.
  99. If the top-center box is empty and its computed width is 'auto', then the used values of its left and right padding and left and right border width are all 0. :
    3. If a box is empty and its computed width is 'auto', then the used values of its left and right padding and left and right border are all 0.
  100. If the top-right box is empty and its computed width is 'auto', then the used values of its left and right padding and left and right border width are all 0. :
    3. If a box is empty and its computed width is 'auto', then the used values of its left and right padding and left and right border are all 0.
  101. The used value of the top-left box's left margin is its computed value unless that value is 'auto'. :
    The used values of the left box's left margin, the center box's left and right margin and the right box's right margin are their respective computed values, unless that computed value is 'auto'.
  102. The used value of the top-center box's left margin is its computed value unless that value is 'auto'. :
    The used values of the left box's left margin, the center box's left and right margin and the right box's right margin are their respective computed values, unless that computed value is 'auto'.
  103. The used value of the top-center box's right margin is its computed value unless that value is 'auto'. :
    The used values of the left box's left margin, the center box's left and right margin and the right box's right margin are their respective computed values, unless that computed value is 'auto'.
  104. The used value of the top-right box's right margin is its computed value unless that value is 'auto'. :
    The used values of the left box's left margin, the center box's left and right margin and the right box's right margin are their respective computed values, unless that computed value is 'auto'.
  105. The used value of the top-left box's right margin is its computed value unless that value is 'auto' or unless honoring both this margin and the top-right box's computed left margin contradicts another constraint. :

    7. The used values of the left box's right margin and the right box's left margin are their respective computed values, unless that computed value is 'auto'.

    If the above constraints are contradictory ("over-constrained"), then constraint 7 is replaced by 7a:

    7a. If the computed values of the left box's left and right margins are 'auto and not 'auto', respectively, then the used value of the right margin is its computed value. If the computed values of the right box's left and right margins are not 'auto' and 'auto', respectively, then the used value of the left margin is its computed value. This effectively means that the specified right margin of the left box is ignored if necessary, and ditto for the left margin of the right box.

  106. The used value of the top-right box's left margin is its computed value unless that value is 'auto' or unless honoring both this margin and the top-left box's computed right margin contradicts another constraint. :

    7. The used values of the left box's right margin and the right box's left margin are their respective computed values, unless that computed value is 'auto'.

    If the above constraints are contradictory ("over-constrained"), then constraint 7 is replaced by 7a:

    7a. If the computed values of the left box's left and right margins are 'auto and not 'auto', respectively, then the used value of the right margin is its computed value. If the computed values of the right box's left and right margins are not 'auto' and 'auto', respectively, then the used value of the left margin is its computed value. This effectively means that the specified right margin of the left box is ignored if necessary, and ditto for the left margin of the right box.

  107. If the above constraints are contradictory ("over-constrained") then the right margin of the top-left box and the left margin of the top-right box are treated as if their computed values were 'auto'. :

    ==== bottom row ====

  108. The used values of the bottom-left, bottom-center, and bottom-right margin boxes' widths and left and right margins are chosen such that the sum of the squares of their left and right margins is minimized under the constraints below. :
  109. The sum of the outer widths of the bottom-left, bottom-center, and bottom-right boxes is equal to the distance between the right page border edge and the right page border edge. :
    The used values for bottom-left, bottom-center and bottom-right are established by the same rules.
  110. If the bottom-center box is not empty or its computed width is not 'auto' then the outer widths of the bottom-left and bottom-right boxes are equal. :
    The used values for bottom-left, bottom-center and bottom-right are established by the same rules.
  111. If the bottom-left box is empty and its computed width is 'auto', then the used values of its left and right padding and left and right border width are all 0. :
    The used values for bottom-left, bottom-center and bottom-right are established by the same rules.
  112. If the bottom-center box is empty and its computed width is 'auto', then the used values of its left and right padding and left and right border width are all 0. :
    The used values for bottom-left, bottom-center and bottom-right are established by the same rules.
  113. If the bottom-right box is empty and its computed width is 'auto', then the used values of its left and right padding and left and right border width are all 0. :
    The used values for bottom-left, bottom-center and bottom-right are established by the same rules.
  114. The used value of the bottom-left box's left margin is its computed value unless that value is 'auto'. :
    The used values for bottom-left, bottom-center and bottom-right are established by the same rules.
  115. The used value of the bottom-center box's left margin is its computed value unless that value is 'auto'. :
    The used values for bottom-left, bottom-center and bottom-right are established by the same rules.
  116. The used value of the bottom-center box's right margin is its computed value unless that value is 'auto'. :
    The used values for bottom-left, bottom-center and bottom-right are established by the same rules.
  117. The used value of the bottom-right box's right margin is its computed value unless that value is 'auto'. :
    The used values for bottom-left, bottom-center and bottom-right are established by the same rules.
  118. The used value of the bottom-left box's right margin is its computed value unless that value is 'auto' or unless honoring both this margin and the bottom-right box's computed left margin contradicts another constraint. :
    The used values for bottom-left, bottom-center and bottom-right are established by the same rules.
  119. The used value of the bottom-right box's left margin is its computed value unless that value is 'auto' or unless honoring both this margin and the bottom-left box's computed right margin contradicts another constraint. :
    The used values for bottom-left, bottom-center and bottom-right are established by the same rules.
  120. If the above constraints are contradictory ("over-constrained") then the right margin of the bottom-left box and the left margin of the bottom-right box are treated as if their computed values were 'auto'. :
    The used values for bottom-left, bottom-center and bottom-right are established by the same rules.

    ==== left side ====

  121. The used values of the left-top, left-middle, and left-bottom margin boxes' heights and top and bottom margins are chosen such that the sum of the squares of their top and bottom margins is minimized under the constraints below. :
    The used values for left-top, left-middle and left-bottom boxes are established by the same rules, with "width" replaced by "height", "left" by "top", "right" by "bottom" and "center" by "middle".
  122. The sum of the outer heights of the left-top, left-middle, and left-bottom boxes is equal to the distance between the bottom page border edge and the bottom page border edge. :
    The used values for left-top, left-middle and left-bottom boxes are established by the same rules, with "width" replaced by "height", "left" by "top", "right" by "bottom" and "center" by "middle".
  123. If the left-middle box is not empty or its computed height is not 'auto' then the outer heights of the left-top and left-bottom boxes are equal. :
    The used values for left-top, left-middle and left-bottom boxes are established by the same rules, with "width" replaced by "height", "left" by "top", "right" by "bottom" and "center" by "middle".
  124. If the left-top box is empty and its computed height is 'auto', then the used values of its top and bottom padding and top and bottom border height are all 0. :
    The used values for left-top, left-middle and left-bottom boxes are established by the same rules, with "width" replaced by "height", "left" by "top", "right" by "bottom" and "center" by "middle".
  125. If the left-middle box is empty and its computed height is 'auto', then the used values of its top and bottom padding and top and bottom border height are all 0. :
    The used values for left-top, left-middle and left-bottom boxes are established by the same rules, with "width" replaced by "height", "left" by "top", "right" by "bottom" and "center" by "middle".
  126. If the left-bottom box is empty and its computed height is 'auto', then the used values of its top and bottom padding and top and bottom border height are all 0. :
    The used values for left-top, left-middle and left-bottom boxes are established by the same rules, with "width" replaced by "height", "left" by "top", "right" by "bottom" and "center" by "middle".
  127. The used value of the left-top box's top margin is its computed value unless that value is 'auto'. :
    The used values for left-top, left-middle and left-bottom boxes are established by the same rules, with "width" replaced by "height", "left" by "top", "right" by "bottom" and "center" by "middle".
  128. The used value of the left-middle box's top margin is its computed value unless that value is 'auto'. :
    The used values for left-top, left-middle and left-bottom boxes are established by the same rules, with "width" replaced by "height", "left" by "top", "right" by "bottom" and "center" by "middle".
  129. The used value of the left-middle box's bottom margin is its computed value unless that value is 'auto'. :
    The used values for left-top, left-middle and left-bottom boxes are established by the same rules, with "width" replaced by "height", "left" by "top", "right" by "bottom" and "center" by "middle".
  130. The used value of the left-bottom box's bottom margin is its computed value unless that value is 'auto'. :
    The used values for left-top, left-middle and left-bottom boxes are established by the same rules, with "width" replaced by "height", "left" by "top", "right" by "bottom" and "center" by "middle".
  131. The used value of the left-top box's bottom margin is its computed value unless that value is 'auto' or unless honoring both this margin and the left-bottom box's computed top margin contradicts another constraint. :
    The used values for left-top, left-middle and left-bottom boxes are established by the same rules, with "width" replaced by "height", "left" by "top", "right" by "bottom" and "center" by "middle".
  132. The used value of the left-bottom box's top margin is its computed value unless that value is 'auto' or unless honoring both this margin and the left-top box's computed bottom margin contradicts another constraint. :
    The used values for left-top, left-middle and left-bottom boxes are established by the same rules, with "width" replaced by "height", "left" by "top", "right" by "bottom" and "center" by "middle".
  133. If the above constraints are contradictory ("over-constrained") then the bottom margin of the left-top box and the top margin of the left-bottom box are treated as if their computed values were 'auto'. :
    The used values for left-top, left-middle and left-bottom boxes are established by the same rules, with "width" replaced by "height", "left" by "top", "right" by "bottom" and "center" by "middle".

    ==== right side ====

  134. The used values of the right-top, right-middle, and right-bottom margin boxes' heights and top and bottom margins are chosen such that the sum of the squares of their top and bottom margins is minimized under the constraints below. :
    The used values for right-top, right-middle and right-bottom boxes are established by the same rules as for left-top, left-middle and left-bottom.
  135. The sum of the outer heights of the right-top, right-middle, and right-bottom boxes is equal to the distance between the bottom page border edge and the bottom page border edge. :
    The used values for right-top, right-middle and right-bottom boxes are established by the same rules as for left-top, left-middle and left-bottom.
  136. If the right-middle box is not empty or its computed height is not 'auto' then the outer heights of the right-top and right-bottom boxes are equal. :
    The used values for right-top, right-middle and right-bottom boxes are established by the same rules as for left-top, left-middle and left-bottom.
  137. If the right-top box is empty and its computed height is 'auto', then the used values of its top and bottom padding and top and bottom border height are all 0. :
    The used values for right-top, right-middle and right-bottom boxes are established by the same rules as for left-top, left-middle and left-bottom.
  138. If the right-middle box is empty and its computed height is 'auto', then the used values of its top and bottom padding and top and bottom border height are all 0. :
    The used values for right-top, right-middle and right-bottom boxes are established by the same rules as for left-top, left-middle and left-bottom.
  139. If the right-bottom box is empty and its computed height is 'auto', then the used values of its top and bottom padding and top and bottom border height are all 0. :
    The used values for right-top, right-middle and right-bottom boxes are established by the same rules as for left-top, left-middle and left-bottom.
  140. The used value of the right-top box's top margin is its computed value unless that value is 'auto'. :
    The used values for right-top, right-middle and right-bottom boxes are established by the same rules as for left-top, left-middle and left-bottom.
  141. The used value of the right-middle box's top margin is its computed value unless that value is 'auto'. :
    The used values for right-top, right-middle and right-bottom boxes are established by the same rules as for left-top, left-middle and left-bottom.
  142. The used value of the right-middle box's bottom margin is its computed value unless that value is 'auto'. :
    The used values for right-top, right-middle and right-bottom boxes are established by the same rules as for left-top, left-middle and left-bottom.
  143. The used value of the right-bottom box's bottom margin is its computed value unless that value is 'auto'. :
    The used values for right-top, right-middle and right-bottom boxes are established by the same rules as for left-top, left-middle and left-bottom.
  144. The used value of the right-top box's bottom margin is its computed value unless that value is 'auto' or unless honoring both this margin and the right-bottom box's computed top margin contradicts another constraint. :
    The used values for right-top, right-middle and right-bottom boxes are established by the same rules as for left-top, left-middle and left-bottom.
  145. The used value of the right-bottom box's top margin is its computed value unless that value is 'auto' or unless honoring both this margin and the right-top box's computed bottom margin contradicts another constraint. :
    The used values for right-top, right-middle and right-bottom boxes are established by the same rules as for left-top, left-middle and left-bottom.
  146. If the above constraints are contradictory ("over-constrained") then the bottom margin of the right-top box and the top margin of the right-bottom box are treated as if their computed values were 'auto'. :
    The used values for right-top, right-middle and right-bottom boxes are established by the same rules as for left-top, left-middle and left-bottom.

    ===== Margin boxes and default values =====

  147. XXX When 'vertical-align' is set on margin boxes, it affects the placement of content within the box as for table cells. :

    ===== Populating margin boxes =====

  148. XXX A margin box is instantiated if the computed value of its 'content' property is not 'normal'. :
    A margin box is instantiated if a margin context is established and one of the following conditions holds:
    • The computed value of 'content' is not 'none'.
    • The properties 'width' and 'height' are set in the margin context.
  149. The value of the counter at the beginning of page processing must be used by default. (?) :
    The value of the counter at the beginning of page processing MUST be used by default.
    Tests:

    ===== Page Breaks =====

  150. The syntax of the 'page-break-before' property is auto | always | avoid | left | right. :
    Value: auto | always | avoid | left | right
    Tests: page-breaki-000.xht
  151. The initial value of the 'page-break-before' property is 'auto'. :
    Initial: auto
  152. The 'page-break-before' property applies to block-level elements only. :
    Applies to: block-level elements
  153. The 'page-break-before' property is not inherited. :
    Inherited: no
  154. The 'page-break-before' property applies to paged media only. :
    Media: paged
  155. The 'auto' value of the 'page-break-before' property neither forces nor forbids a page break before the box. :
    auto: Neither force nor forbid a page break before (after, inside) the generated box.
  156. The 'always' value of the 'page-break-before' property forces a paage break before the box. :
    always: Always force a page break before (after) the generated box.
  157. The 'left' value of the 'page-break-before' property forces one or two page breaks before the box so that the page after the break is formatted as a left page. :
    left: Force one or two page breaks before (after) the generated box so that the next page is formatted as a left page.
  158. The 'right' value of the 'page-break-before' property forces one or two page breaks before the box so that the page after the break is formatted as a right page. :
    right: Force one or two page breaks before (after) the generated box so that the next page is formatted as a right page.
  159. The 'avoid' value of the 'page-break-before' property prevents a page break before the element when possible. :
    avoid: Avoid a page break before / after / inside the generated box.
  160. The syntax of the 'page-break-after' property is auto | always | avoid | left | right. :
    Value: auto | always | avoid | left | right
  161. The initial value of the 'page-break-after' property is 'auto'. :
    Initial: auto
  162. The 'page-break-after' property applies to block-level elements only. :
    Applies to: block-level elements
  163. The 'page-break-after' property is not inherited. :
    Inherited: no
  164. The 'page-break-after' property applies to paged media only. :
    Media: paged
  165. The 'auto' value of the 'page-break-after' property neither forces nor forbids a page break before the box. :
    auto: Neither force nor forbid a page break before (after, inside) the generated box.
  166. The 'always' value of the 'page-break-after' property forces a paage break before the box. :
    always: Always force a page break before (after) the generated box.
  167. The 'left' value of the 'page-break-after' property forces one or two page breaks before the box so that the page after the break is formatted as a left page. :
    left: Force one or two page breaks before (after) the generated box so that the next page is formatted as a left page.
  168. The 'right' value of the 'page-break-after' property forces one or two page breaks before the box so that the page after the break is formatted as a right page. :
    right: Force one or two page breaks before (after) the generated box so that the next page is formatted as a right page.
  169. The 'avoid' value of the 'page-break-after' property inhibits a page break after the element when possible. :
    Avoid a page break before / after / inside the generated box.
  170. The syntax of the 'page-break-inside' property is auto | avoid. :
    Value: auto | avoid
  171. The initial value of the 'page-break-inside' property is 'auto'. :
    Initial: auto
  172. The 'page-break-inside' property applies to block-level elements only. :
    Applies to: block-level elements
  173. The 'page-break-inside' property is not inherited. :
    Inherited: yes
  174. The 'page-break-inside' property applies to paged media only. :
    Media: paged
  175. The 'auto' value of the 'page-break-inside' property neither forces nor forbids a page break inside the box. :
    auto: Neither force nor forbid a page break before (after, inside) the generated box.
  176. The 'avoid' value of the 'page-break-inside' property inhibits a page break inside the block when possible. :
    avoid: Avoid a page break before / after / inside the generated box.

    ===== Using named pages: 'page' =====

  177. The syntax of the 'page' property is auto | <identifier>. :
    Value: auto | <identifier>
  178. The initial value of the 'page' property is 'auto' :
    Initial: auto
  179. The 'page' property only applies to block-level elements :
    Applies to: block-level elements
  180. The 'page' property is inherited. :
    Inherited: yes
  181. If a block box with inline content has a 'page' property that is different from the preceding block box with inline content, then a page break is inserted between them and the boxes after the break are rendered on a page box of the named type. :
    If a block box with inline content has a 'page' property that is different from the preceding block box with inline content, then one or two page breaks are inserted between them, and the boxes after the break are rendered on a page box of the named type.

    ===== Breaks inside elements: 'orphans', 'windows' =====

  182. The syntax of the 'orphans' property is <integer>. :
    Value: <integer>
  183. The initial value of the 'orphans' property is 2. :
    Initial: 2
  184. The 'orphans' property applies to block-level elements only. :
    Applies to: block-level elements
  185. The 'orphans' property is inherited. :
    Inherited: yes
  186. The 'orphans' property applies to visual media. :
    Media: visual
  187. The 'orphans' property specifies the minimum number of line boxes in a block element that must be left at the bottom of a page when a page break occurs inside the block. :
    The 'orphans' property specifies the minimum number of line boxes in a block element that must be left at the bottom of a page.
  188. The syntax of the 'windows' property is <integer>. :
    Value: <integer>
  189. The initial value of the 'windows' property is 2. :
    Initial: 2
  190. The 'windows' property applies to block-level elements only. :
    Applies to: block-level elements
  191. The 'windows' property is inherited. :
    Inherited: yes
  192. The 'widows' property applies to visual media. :
    Media: visual
  193. The 'widows' property specifies the minimum number of line boxes of a block that must be left at the top of a page when a page break occurs inside the block. :
    The 'windows' property specifies the minimum number of line boxes of a block that must be left at the top of a page.

    ===== Allowed page breaks =====

  194. Page breaks may occur in the vertical margin between sibling block boxes (or rows in a table) subject to the following rules. :
    In the normal flow, page breaks may occur at the following places: 1. In the vertical margin between block boxes (or rows in a table). ... These breaks are subject to the following rules:
  195. When a page break occurs in the vertical margin between sibling block boxes (or rows in a table), the used values of the adjoining ‘margin-bottom’ and ‘margin-top’ properties are set to ‘0’ :
    In the vertical margin between block boxes (or rows in a table). When a page break occurs here, the computed values of the relevant 'margin-top' and 'margin-bottom' properties are set to '0'.
  196. Page breaks may occur between line boxes inside a block box subject to the following rules. :
    In the normal flow, page breaks may occur at the following places: ... 2. Between line boxes inside a block box. These breaks are subject to the following rules:
  197. Breaking in the vertical margin between block boxes (or rows in a table) is allowed only if the 'page-break-after' and 'page-break-before' properties of all the elements generating boxes that meet at this margin allow it, which is when at least one of them has the value 'always', 'left', or 'right', or when all of them are 'auto' and the nearest common ancestor of all the elements does not have a 'page-break-inside value of 'avoid'. :
    Rule A: Breaking at (1) is allowed only if the 'page-break-after' and 'page-break-before' properties of all the elements generating boxes that meet at this margin allow it, which is when at least one of them has the value 'always', 'left', or 'right', or when all of them are 'auto'.
    Rule B: However, if all of them are 'auto' and the nearest common ancestor of all the elements has a 'page-break-inside' value of 'avoid', then breaking here is not allowed.
  198. Breaking between line boxes is allowed only if the number of line boxes between the break and the start of the enclosing block box is the value of 'orphans' or more, and the number of line boxes between the break and the end of the box is the value of 'widows' or more and the value of the 'page-break-inside' property is 'auto'. :
    Rule C: Breaking at (2) is allowed only if the number of line boxes between the break and the start of the enclosing block box is the value of 'orphans' or more, and the number of line boxes between the break and the end of the box is the value of 'widows' or more.
    Rule D: breaking at (2) is allowed only if the 'page-break-inside' property is 'auto'.
  199. If the above doesn't provide enough break points to keep content from overflowing the page boxes, then the restrictions imposed by 'avoid' on the 'page-break-*' properties are dropped. :
    If the above doesn't provide enough break points to keep content from overflowing the page boxes, then rules A, B and D are dropped in order to find additional breakpoints.
  200. If even after dropping the restrictions due to 'avoid' values on 'page-break-*' there aren't enough break points to keep content from overflowing the page boxes, then the restrictions due to 'windows' and 'orphans' are dropped as well. :
    If that still does not lead to sufficient break points, rule C is dropped as well, to find still more break points.

    ===== Forced Page Breaks =====

  201. A page break MUST occur in the vertical margin between block boxes (or rows in a table) if, among the 'page-break-after' and 'page-break-before' properties of all the elements generating boxes that meet at this margin, there is at least one with the value 'always', 'left', or 'right'. :
    A page break MUST occur at (1) if, among the 'page-break-after' and 'page-break-before' properties of all the elements generating boxes that meet at this margin, there is at least one with the value 'always', 'left', or 'right'.
  202. When multiple 'page-break-before' and/or 'page-break-after' properties with values of "always", "left" or "right" apply at a margin, only one of them generates page breaks. :
    When multiple 'page-break-before' and/or 'page-break-after' properties with values of "always", "left" or "right" apply at a margin, only one of them should generate page breaks. That is, no Content-empty pages are generated by page-break properties, except for at most one Content-empty page as may be required by :right and :left values to position ensuing content on a right- or left-facing page.
  203. A page break MUST occur in the vertical margin between block boxes (or rows in a table) if the last line box above this margin and the first one below it do not have the same value for 'page'. :
    A page break MUST also occur at (1) if the last line box above this margin and the first one below it do not have the same value for 'page'.

    ===== Orienting an image on the Page: the image-orientation property =====

  204. The syntax of the image-orientation property is intrinsic | <angle>. :
    Value: auto | intrinsic | <angle>
    Tests: page-img-orient-000.xht, page-img-orient-001.xht
  205. The initial value of the image-orientation property is '0deg'. :
    Initial: auto
  206. The image-orientation property is not inherited. :
    Inherited:N/A
  207. The image-orientation property applies to all visual media. :
    Media: visual
  208. The computed value of the image-orientation property is 'intrinsic' as specified or the angle modulo the full circle angle. :
    Computed value: specified value modulo full circle value
  209. CSS layout processing applies to the image after rotation. :

    CSS layout processing applies to the image after rotation. This implies, for example:

    • The intrinsic height and width are derived from the rotated rather than the original image dimensions
    • The height (width) property applies to the vertical (horizontal) dimension of the image, after rotation.
    Tests: page-img-orient-000.xht, page-img-orient-001.xht
  210. The '0deg' value of 'image-orientation' sets the image to the orientation of the page. :
    auto: The image will be set to the orientation of the page
  211. The 'intrinsic' value of 'image-orientation' orients the image according to orientation metadata contained within the image source data, if any. :
    intrinsic: The image will be oriented according to orientation metadata contained within the image source data.
  212. The 'intrinsic' value of 'image-orientation' orients the image as for '0deg' if no orientation metadata is found within the image source data. :
    If no such metadata is found, the image is oriented as for 'auto'.
  213. A value of '0deg' for 'image-orientation' orients the image as for 'auto'. :
    A value of '0deg' orients the image as for 'auto'.
  214. A positive value for 'image-orientation' rotates the image to the right (in a clockwise direction) by the given number of degrees. :
    A positive value rotates the image to the right (in a clockwise direction) by the given number of degrees.
    Tests: page-img-orient-000.xht, page-img-orient-001.xht
  215. A negative value for 'image-orientation' rotates the image to the left (in a counter-clockwise direction) by the given number of degrees. :
    Negative values rotate to the left or in a counter-clockwise direction.

    ===== The 'image-fit' and 'image-position' Properties =====

  216. The syntax of the 'image-fit' property is fill | contain | cover. :
    Value: fill | contain | cover
  217. The initial value of the 'image-fit' property is 'fill'. :
    Initial: fill
  218. The 'image-fit' property applies to replaced elements only. :
    Applies to: replaced elements
  219. The 'image-fit' property is inherited. :
    Inherited: yes
  220. The 'image-fit' property applies to visual media. :
    Media: visual
  221. The 'fill' value of the 'image-fit' property does not affect the usual calculation of the used 'height' and 'width. :
    fill: Determine the used 'height' and 'width' as usual.
  222. The 'fill' value of the 'image-fit' property scales the content height and width independently so that the edges of the content just meet the edges of the box established by the used 'height' and 'width'. :
    fill: Scale the content height and width independently so that the edges of the content just meet the edges of the box established by the used 'height' and 'width'.
  223. The 'contain' value of the 'image-fit' property does not affect the usual calculation of the used 'height' and 'width' except if both 'height' and 'width' are 'auto', and the used value of at least one of 'max-width' and 'max-height' is not 'none', in which case the element's used width and used height are calculated as though the intrinsic dimensions of the contents were infinitely large numbers whose ratio is the actual intrinsic ratio of the contents. :
    contain: Determine the used 'height' and 'width' as usual, except if both 'height' and 'width' are 'auto', and the used value of at least one of 'max-width' and 'max-height' is not 'none', then compute the element's used width and used height as though the intrinsic dimensions of the contents were infinitely large numbers whose ratio is the actual intrinsic ratio of the contents.
  224. The 'contain' value of the 'image-fit' property scales the contents of the element, preserving their aspect ratio, to the largest size such that the width of the contents is less than or equal to the used width of the box and the height of the contents is less than or equal to the used height of the box. :
    contain: Scale the contents of the element, preserving their aspect ratio, to the largest size such that the width of the contents is less than or equal to the used width of the box and the height of the contents is less than or equal to the used height of the box.
  225. The 'cover' value of the 'image-fit' property does not affect the usual calculation of the used height and width except if both 'height' and 'width' are 'auto', and the used value of at least one of 'min-width' and 'min-height' is not '0', in which case the used width and used height of the element are calculated as though the intrinsic dimensions of the contents were infinitesimally small numbers whose ratio is the actual intrinsic ratio of the contents. :
    Determine the used 'height' and 'width' as usual, except if both 'height' and 'width' are 'auto', and the used value of at least one of 'min-width' and 'min-height' is not '0', then compute the used width and used height of the element as though the intrinsic dimensions of the contents were infinitesimally small numbers whose ratio is the actual intrinsic ratio of the contents.
  226. The 'cover' value of the 'image-fit' property scales the contents of the element, preserving their aspect ratio, to the smallest size such that the width of the contents is greater than or equal to the used width of the box and the height of the contents is greater than or equal to the height of the box. :
    Scale the contents of the element, preserving their aspect ratio, to the smallest size such that the width of the contents is greater than or equal to the used width of the box and the height of the contents is greater than or equal to the height of the box.
  227. The 'overflow' property determines how to render parts of the replaced element's content that extend beyond the edges of its box. :
    The 'overflow' property determines how to render parts of the replaced element's content that extend beyond the edges of its box.
  228. The syntax of the 'image-position' property is [ [ <percentage> | <length> | left | center | right ] [ <percentage> | <length> | top | center | bottom ]? ] | [ [ left | center | right ] || [ top | center | bottom ] ] | auto. :
    Value: [ [ <percentage> | <length> | left | center | right ] [ <percentage> | <length> | top | center | bottom ]? ] | [ [ left | center | right ] || [ top | center | bottom ] ] | auto
  229. The initial value of the 'image-position' property is 50% 50%. :
    Initial: 50% 50%
  230. The 'image-position' property applies to replaced elements. :
    Applies to: replaced elements
  231. The 'image-position' property is inherited. :
    Inherited: yes
  232. The 'image-position' property applies to visual media. :
    Media: visual
  233. When two values are given for 'image-position' and at least one of them is not a keyword, the first value represents alignment in the horizontal dimension and the second represents alignment in the vertical. :
    See background-position for a detailed description of values other than 'auto'.
    If two values are given, the horizontal position comes first. (CSS2.1:14.2.1)
  234. When a single value is given for 'image-position' and that value is not a keyword, that value represents alignment in the horizontal dimension and alignment in the vertical dimension is treated as 50%. :
    See background-position for a detailed description of values other than 'auto'.
    If only one percentage or length value is given, it sets the horizontal position only, and the vertical position will be 50%. (CSS2.1:14.2.1)
  235. When the first value of 'image-position' is a percentage X, the point X% across the image from its left edge must be aligned with the point X% across the padding box of the element. :
    With a value pair of '0% 0%', the upper left corner of the image is aligned with the upper left corner of the box's padding edge. A value pair of '100% 100%' places the lower right corner of the image in the lower right corner of padding area. With a value pair of '14% 84%', the point 14% across and 84% down the image is to be placed at the point 14% across and 84% down the padding area.
  236. When the second value of 'image-position' is a percentage Y, the point Y% down the image from its top edge must be aligned with the point Y% down the padding box of the element. :
    With a value pair of '0% 0%', the upper left corner of the image is aligned with the upper left corner of the box's padding edge. A value pair of '100% 100%' places the lower right corner of the image in the lower right corner of padding area. With a value pair of '14% 84%', the point 14% across and 84% down the image is to be placed at the point 14% across and 84% down the padding area.
  237. When the first value of 'image-position' is a length L, the left edge of the image is placed L to the right of the left edge of the padding box of the element. :
    With a value pair of '2cm 2cm', the upper left corner of the image is placed 2cm to the right and 2cm below the upper left corner of the padding area.
  238. When the second value of 'image-position' is a length L, the top edge of the image is placed L below the top edge of the padding box of the element. :
    With a value pair of '2cm 2cm', the upper left corner of the image is placed 2cm to the right and 2cm below the upper left corner of the padding area.
  239. The 'top' value of 'image-position' is the same as 0% for the vertical alignment value. :
    'top left', 'left top': Same as '0% 0%'. 'top', 'top center', 'center top': Same as '50% 0%'. 'right top', 'top right': Same as '100% 0%'.
  240. The 'left' value of 'image-position' is the same as 0% for the horizontal alignment value. :
    'top left', 'left top': Same as '0% 0%'. 'left', 'left center', 'center left': Same as '0% 50%'. 'bottom left', 'left bottom': Same as '0% 100%'.
  241. The 'center' value of 'image-position' is the same as 50% for either the horizontal alignment value (if it is not otherwise given) or the vertical alignment value (if it is not otherwise given). :
    'top', 'top center', 'center top': Same as '50% 0%'. 'left', 'left center', 'center left': Same as '0% 50%'. 'center', 'center center': Same as '50% 50%'. 'center', 'center center': Same as '50% 50%'. 'bottom', 'bottom center', 'center bottom': Same as '50% 100%'.

 
test/paged-media/assertions.txt · Last modified: 2008/12/05 08:48 by tclancy
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki