forked from w3c/webref
-
Notifications
You must be signed in to change notification settings - Fork 0
/
css-page.json
65 lines (65 loc) · 1.73 KB
/
css-page.json
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
{
"spec": {
"title": "CSS Paged Media Module Level 3",
"url": "https://www.w3.org/TR/css-page-3/"
},
"properties": {
"page": {
"name": "page",
"value": "auto | <custom-ident>",
"initial": "auto",
"appliesTo": "boxes that create class A break points",
"inherited": "no (but see prose)",
"percentages": "n/a",
"computedValue": "specified value",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"page"
]
}
},
"descriptors": {
"size": [
{
"name": "size",
"for": "@page",
"value": "<length>{1,2} | auto | [ <page-size> || [ portrait | landscape ] ]",
"initial": "auto",
"computedValue": "specified value, with <length>s made absolute."
}
],
"marks": [
{
"name": "marks",
"for": "@page",
"value": "none | [ crop || cross ]",
"initial": "none",
"computedValue": "as specified"
}
],
"bleed": [
{
"name": "bleed",
"for": "@page",
"value": "auto | <length>",
"initial": "auto",
"computedValue": "as specified"
}
]
},
"valuespaces": {
"<page-selector-list>": {
"value": "<page-selector>#"
},
"<page-selector>": {
"value": "[ <ident-token>? <pseudo-page>* ]!"
},
"<pseudo-page>": {
"value": "':' [ left | right | first | blank ] /* Margin rules */"
},
"<page-size>": {
"prose": "A page size can be specified using one of the following media names. This is the equivalent of specifying size using length values. The definition of the the media names comes from Media Standardized Names [PWGMSN]."
}
}
}