forked from w3c/webref
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcss-images.json
101 lines (101 loc) · 3.34 KB
/
css-images.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
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
94
95
96
97
98
99
100
101
{
"spec": {
"title": "CSS Images Module Level 3",
"url": "https://www.w3.org/TR/css-images-3/"
},
"properties": {
"object-fit": {
"name": "object-fit",
"value": "fill | contain | cover | none | scale-down",
"initial": "fill",
"appliesTo": "replaced elements",
"inherited": "no",
"percentages": "n/a",
"computedValue": "specified keyword",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"object-fit",
"objectFit"
]
},
"object-position": {
"name": "object-position",
"value": "<position>",
"initial": "50% 50%",
"appliesTo": "replaced elements",
"inherited": "no",
"percentages": "refer to width and height of element itself",
"computedValue": "as for background-position",
"canonicalOrder": "the horizontal component of the <position>, followed by the vertical component",
"animationType": "as for background-position",
"styleDeclaration": [
"object-position",
"objectPosition"
]
},
"image-orientation": {
"name": "image-orientation",
"value": "from-image | none | [ <angle> || flip ]",
"initial": "from-image",
"appliesTo": "all elements",
"inherited": "yes",
"percentages": "n/a",
"computedValue": "the specified keyword, or an <angle>, rounded and normalized (see text), plus optionally a flip keyword",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"image-orientation",
"imageOrientation"
]
},
"image-rendering": {
"name": "image-rendering",
"value": "auto | smooth | high-quality | crisp-edges | pixelated",
"initial": "auto",
"appliesTo": "all elements",
"inherited": "yes",
"percentages": "n/a",
"computedValue": "specified keyword",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"image-rendering",
"imageRendering"
]
}
},
"descriptors": {},
"valuespaces": {
"<image>": {
"value": "<url> | <gradient>"
},
"<gradient>": {
"value": "<linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()>"
},
"<linear-gradient()>": {
"value": "linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )"
},
"<side-or-corner>": {
"value": "[left | right] || [top | bottom]"
},
"<color-stop-list>": {
"value": "<linear-color-stop> , [ <linear-color-hint>? , <linear-color-stop> ]#"
},
"<linear-color-stop>": {
"value": "<color> && <length-percentage>?"
},
"<linear-color-hint>": {
"value": "<length-percentage>"
},
"<radial-gradient()>": {
"value": "radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )"
},
"<ending-shape>": {
"prose": "Can be either circle or ellipse; determines whether the gradient’s ending shape is a circle or an ellipse, respectively. If <ending-shape> is omitted, the ending shape defaults to a circle if the <size> is a single <length>, and to an ellipse otherwise."
},
"<length>": {
"prose": "Gives the radius of the circle explicitly. Negative values are invalid."
}
}
}