forked from SchemaStore/schemastore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
css-module-paged-media.xml
93 lines (67 loc) · 10.6 KB
/
css-module-paged-media.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?xml version="1.0" encoding="utf-8"?>
<CssModule name="Paged Media" standard-reference="http://www.w3.org/TR/css3-page/" status="WD" pub-date="2006-10-10">
<CssProperty name="page" version="3.0" browsers="none" restriction="identifier" syntax="auto | <identifier>" description="Specifies a particular type of page where an element SHOULD be displayed" standard-reference="http://www.w3.org/TR/css3-page/#page">
<entry value="auto" />
</CssProperty>
<CssPropertyValue type="page-size" version="3.0">
<entry value="A5" description="ISO A5 media: 148mm wide and 210 mm high" />
<entry value="A4" description="IS0 A4 media: 210 mm wide and 297 mm high" />
<entry value="A3" description="ISO A3 media: 297mm wide and 420mm high" />
<entry value="B5" description="ISO B5 media: 176mm wide by 250mm high" />
<entry value="B4" description="ISO B4 media: 250mm wide by 353mm high" />
<entry value="letter" description="North American letter media: 8.5 inches wide and 11 inches high" />
<entry value="legal" description="North American legal: 8.5 inches wide by 14 inches high" />
<entry value="ledger" description="North American ledger: 11 inches wide by 17 inches high" />
</CssPropertyValue>
<CssProperty name="page-break-before" version="2.0" browsers="all" restriction="enum" syntax="table { $(name): always; }" description="Defines rules for page breaks before an element." standard-reference="http://www.w3.org/TR/CSS2/page.html#propdef-page-break-before">
<entry value="always" description="Always force a page break before the generated box." />
<entry value="auto" description="Neither force nor forbid a page break before the generated box." />
<entry value="avoid" description="Avoid a page break before the generated box." />
<entry value="left" description="Force one or two page breaks before the generated box so that the next page is formatted as a left page." />
<entry value="right" description="Force one or two page breaks before the generated box so that the next page is formatted as a right page." />
</CssProperty>
<CssProperty name="page-break-after" version="2.0" browsers="all" restriction="enum" syntax="table { $(name): always; }" description="Defines rules for page breaks after an element." standard-reference="http://www.w3.org/TR/CSS2/page.html#propdef-page-break-after">
<entry value="always" description="Always force a page break after the generated box." />
<entry value="auto" description="Neither force nor forbid a page break after generated box." />
<entry value="avoid" description="Avoid a page break after the generated box." />
<entry value="left" description="Force one or two page breaks after the generated box so that the next page is formatted as a left page." />
<entry value="right" description="Force one or two page breaks after the generated box so that the next page is formatted as a right page." />
</CssProperty>
<CssProperty name="page-break-inside" version="2.0" browsers="C,IE8,O7,S1.3" restriction="enum" syntax="table { $(name): avoid; }" description="Defines rules for page breaks inside an element." standard-reference="http://www.w3.org/TR/CSS2/page.html#propdef-page-break-inside">
<entry value="auto" description="Neither force nor forbid a page break inside the generated box." />
<entry value="avoid" description="Avoid a page break inside the generated box." />
</CssProperty>
<CssProperty name="orphans" version="2.0" browsers="C,IE8,O7,S1.3" restriction="integer" description="Specifies the minimum number of lines in a block element that must be left at the bottom of a page." syntax="<integer>" standard-reference="http://www.w3.org/TR/CSS2/page.html#propdef-orphans" />
<CssProperty name="widows" version="2.0" browsers="C,IE8,O9.5,S1" restriction="integer" description="Specifies the minimum number of lines in a block element that must be left at the top of a page." syntax="<integer>" standard-reference="http://www.w3.org/TR/CSS2/page.html#propdef-widows" />
<CssAtDirective name="page" version="2.0" include-root-directives="false" syntax="@page" description="Directive defines various page parameters." standard-reference="http://www.w3.org/TR/css3-page/#page-box-page-rule">
<CssPseudo name=":right" version="2.0" type="pseudo-class" syntax="@page :right { margin-left: 4cm; }" description="When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context." standard-reference="http://www.w3.org/TR/css3-page/#left-right-first" />
<CssPseudo name=":left" version="2.0" type="pseudo-class" syntax="@page :left { margin-left: 4cm; }" description="When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context." standard-reference="http://www.w3.org/TR/css3-page/#left-right-first" />
<CssPseudo name=":first" version="2.0" type="pseudo-class" syntax="@page :first { margin-left: 4cm; }" description="When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context." standard-reference="http://www.w3.org/TR/css3-page/#left-right-first" />
<CssProperty name="size" version="2.1" browsers="C,O8" type="page-size" restriction="length" syntax="<length>{1,2} | auto | [ <page-size> || [ portrait | landscape] ]" standard-reference="http://www.w3.org/TR/css3-page/#page-size-prop">
<entry value="auto" description="The page box will be set to the size and orientation of the page sheet chosen by the UA." />
<entry value="portrait" description="Specifies that the page's content be printed in landscape orientation." />
<entry value="landscape" description="Specifies that the page's content be printed in portrait orientation." />
</CssProperty>
<CssProperty name="marks" version="2.0-2.0" browsers="none" restriction="enum" description="Provides paged media with crop marks to allow printouts to be cropped and aligned.">
<entry value="crop" description="Crop marks will be printed on the page." />
<entry value="cross" description="Registration marks will be printed on the page." />
<entry value="none" description="No crop or registration marks will be printed on the page." />
</CssProperty>
<CssAtDirective name="top-left" version="3" browsers="none" description="A variable-width box within the area defined by the top margin and adjoining the top-left-corner margin box." standard-reference="http://www.w3.org/TR/css3-page/#page-box" />
<CssAtDirective name="top-left-corner" version="3" browsers="none" description="A fixed-size box filling the area defined by the intersection of the top and left margins of the page box." standard-reference="http://www.w3.org/TR/css3-page/#page-box" />
<CssAtDirective name="top-center" version="3" browsers="none" description="A variable-width box within the area defined by the top margin, centered on the page area, and between the top-left and top-right margin boxes." standard-reference="http://www.w3.org/TR/css3-page/#page-box" />
<CssAtDirective name="top-right" version="3" browsers="none" description="A variable-width box within the area defined by the top margin and adjoining the top-right-corner margin box." standard-reference="http://www.w3.org/TR/css3-page/#page-box" />
<CssAtDirective name="top-right-corner" version="3" browsers="none" description="A box filling the area defined by the intersection of the top and right margins of the page box." standard-reference="http://www.w3.org/TR/css3-page/#page-box" />
<CssAtDirective name="left-top" version="3" browsers="none" description="A variable-height box within the area defined by the left margin and adjacent to the bottom of the top-left-corner." standard-reference="http://www.w3.org/TR/css3-page/#page-box" />
<CssAtDirective name="left-middle" version="3" browsers="none" description="A variable-height box in the area defined by the left margin, centered on the page area, and between the left-top and left-bottom margin boxes." standard-reference="http://www.w3.org/TR/css3-page/#page-box" />
<CssAtDirective name="left-bottom" version="3" browsers="none" description="A variable-height box within the area defined by the left margin and adjacent to the top of the bottom-left-corner." standard-reference="http://www.w3.org/TR/css3-page/#page-box" />
<CssAtDirective name="right-top" version="3" browsers="none" description="A variable-height box within the area defined by the right margin and adjacent to the bottom of the top-right-corner." standard-reference="http://www.w3.org/TR/css3-page/#page-box" />
<CssAtDirective name="right-middle" version="3" browsers="none" description="A variable-height box in the area defined by the right margin, centered on the page area, and between the right-top and right-bottom margin boxes." standard-reference="http://www.w3.org/TR/css3-page/#page-box" />
<CssAtDirective name="right-bottom" version="3" browsers="none" description="A variable-height box within the area defined by the right margin and adjacent to the top of the bottom-right-corner." standard-reference="http://www.w3.org/TR/css3-page/#page-box" />
<CssAtDirective name="bottom-left-corner" version="3" browsers="none" description="A box filling the area defined by the intersection of the bottom and left margins of the page box." standard-reference="http://www.w3.org/TR/css3-page/#page-box" />
<CssAtDirective name="bottom-left" version="3" browsers="none" description="A variable-width box within the area defined by the bottom margin and adjoining the bottom-left-corner margin box." standard-reference="http://www.w3.org/TR/css3-page/#page-box" />
<CssAtDirective name="bottom-center" version="3" browsers="none" description="A variable-width box within the area defined by the bottom margin, centered on the page area, and between the bottom-left and bottom-right margin boxes." standard-reference="http://www.w3.org/TR/css3-page/#page-box" />
<CssAtDirective name="bottom-right" version="3" browsers="none" description="A variable-width box within the area defined by the bottom margin and adjoining the bottom-right corner margin box." standard-reference="http://www.w3.org/TR/css3-page/#page-box" />
<CssAtDirective name="bottom-right-corner" version="3" browsers="none" description="A box filling the area defined by the intersection of the bottom and right margins of the page box." standard-reference="http://www.w3.org/TR/css3-page/#page-box" />
</CssAtDirective>
</CssModule>