@webref/css 5.4.2 → 5.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css-backgrounds-4.json +0 -3
- package/css-cascade.json +1 -1
- package/css-fonts.json +0 -3
- package/css-images.json +9 -8
- package/css-inline.json +6 -2
- package/css-overflow-4.json +0 -1
- package/css-values.json +22 -0
- package/filter-effects.json +0 -3
- package/package.json +1 -1
- package/selectors.json +4 -1
package/css-backgrounds-4.json
CHANGED
|
@@ -306,9 +306,6 @@
|
|
|
306
306
|
},
|
|
307
307
|
"atrules": {},
|
|
308
308
|
"valuespaces": {
|
|
309
|
-
"<position>": {
|
|
310
|
-
"value": "[ [ left | center | right | top | bottom | start | end | <length-percentage> ] | [ left | center | right | x-start | x-end | <length-percentage> ] [ top | center | bottom | y-start | y-end | <length-percentage> ] | [ center | [ left | right | x-start | x-end ] <length-percentage>? ] && [ center | [ top | bottom | y-start | y-end ] <length-percentage>? ] | [ center | [ start | end ] <length-percentage>? ] [ center | [ start | end ] <length-percentage>? ] ]"
|
|
311
|
-
},
|
|
312
309
|
"<bg-clip>": {
|
|
313
310
|
"value": "<box> | border | text"
|
|
314
311
|
}
|
package/css-cascade.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"atrules": {
|
|
23
23
|
"@import": {
|
|
24
|
-
"value": "@import [ <url> | <string> ] [ layer | layer(<layer-name>) ]? <import-
|
|
24
|
+
"value": "@import [ <url> | <string> ] [ layer | layer(<layer-name>) ]? <import-conditions> ;",
|
|
25
25
|
"descriptors": []
|
|
26
26
|
},
|
|
27
27
|
"@layer": {
|
package/css-fonts.json
CHANGED
|
@@ -516,9 +516,6 @@
|
|
|
516
516
|
"<palette-identifier>": {
|
|
517
517
|
"prose": "This value identifies an CSS-defined palette to use. Users can define a palette by using the @font-palette-values rule. If no applicable @font-palette-values rule is present, this value behaves as normal. <palette-identifier> is parsed as a <dashed-ident>."
|
|
518
518
|
},
|
|
519
|
-
"<integer>": {
|
|
520
|
-
"prose": "Identifies a (zero-based) numerical palette index within the font."
|
|
521
|
-
},
|
|
522
519
|
"<font-weight-absolute>": {
|
|
523
520
|
"value": "[normal | bold | <number [1,1000]>]"
|
|
524
521
|
},
|
package/css-images.json
CHANGED
|
@@ -67,9 +67,13 @@
|
|
|
67
67
|
},
|
|
68
68
|
"atrules": {},
|
|
69
69
|
"valuespaces": {
|
|
70
|
-
"<
|
|
71
|
-
"prose": "
|
|
72
|
-
"value": "<
|
|
70
|
+
"<linear-gradient()>": {
|
|
71
|
+
"prose": "The linear-gradient() notation specifies a linear gradient in CSS. Its syntax is as follows:",
|
|
72
|
+
"value": "linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )"
|
|
73
|
+
},
|
|
74
|
+
"<radial-gradient()>": {
|
|
75
|
+
"prose": "The radial-gradient() notation specifies a radial gradient by indicating the center of the gradient (where the 0% ellipse will be) and the size and shape of the ending shape (the 100% ellipse). Color stops are given as a list, just as for linear-gradient(). Starting from the gradient center and progressing towards (and potentially beyond) the ending shape, uniformly-scaled concentric ellipses are drawn and colored according to the specified color stops.",
|
|
76
|
+
"value": "radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )"
|
|
73
77
|
},
|
|
74
78
|
"<repeating-linear-gradient()>": {
|
|
75
79
|
"prose": "In addition to linear-gradient() and radial-gradient(), this specification defines repeating-linear-gradient() and repeating-radial-gradient() values. These notations take the same values and are interpreted the same as their respective non-repeating siblings defined previously."
|
|
@@ -83,14 +87,11 @@
|
|
|
83
87
|
"<gradient>": {
|
|
84
88
|
"value": "<linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()>"
|
|
85
89
|
},
|
|
86
|
-
"<linear-gradient()>": {
|
|
87
|
-
"value": "linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )"
|
|
88
|
-
},
|
|
89
90
|
"<side-or-corner>": {
|
|
90
91
|
"value": "[left | right] || [top | bottom]"
|
|
91
92
|
},
|
|
92
|
-
"<
|
|
93
|
-
"value": "
|
|
93
|
+
"<size>": {
|
|
94
|
+
"value": "<extent-keyword> | <length [0,∞]> | <length-percentage [0,∞]>{2}"
|
|
94
95
|
},
|
|
95
96
|
"<extent-keyword>": {
|
|
96
97
|
"value": "closest-corner | closest-side | farthest-corner | farthest-side"
|
package/css-inline.json
CHANGED
|
@@ -71,8 +71,9 @@
|
|
|
71
71
|
"appliesTo": "inline-level boxes and SVG text content elements",
|
|
72
72
|
"inherited": "no",
|
|
73
73
|
"percentages": "refer to the used value of line-height",
|
|
74
|
-
"computedValue": "the specified keyword
|
|
74
|
+
"computedValue": "the specified keyword or a computed <length-percentage> value",
|
|
75
75
|
"canonicalOrder": "per grammar",
|
|
76
|
+
"animationType": "by computed value type",
|
|
76
77
|
"styleDeclaration": [
|
|
77
78
|
"baseline-shift",
|
|
78
79
|
"baselineShift"
|
|
@@ -87,6 +88,7 @@
|
|
|
87
88
|
"percentages": "computed relative to 1em",
|
|
88
89
|
"computedValue": "the specified keyword, a number, or a computed <length> value",
|
|
89
90
|
"canonicalOrder": "per grammar",
|
|
91
|
+
"animationType": "by computed value type",
|
|
90
92
|
"styleDeclaration": [
|
|
91
93
|
"line-height",
|
|
92
94
|
"lineHeight"
|
|
@@ -101,6 +103,7 @@
|
|
|
101
103
|
"percentages": "N/A",
|
|
102
104
|
"computedValue": "the specified keyword",
|
|
103
105
|
"canonicalOrder": "per grammar",
|
|
106
|
+
"animationType": "discrete",
|
|
104
107
|
"styleDeclaration": [
|
|
105
108
|
"text-edge",
|
|
106
109
|
"textEdge"
|
|
@@ -115,6 +118,7 @@
|
|
|
115
118
|
"percentages": "N/A",
|
|
116
119
|
"computedValue": "the specified keyword",
|
|
117
120
|
"canonicalOrder": "per grammar",
|
|
121
|
+
"animationType": "discrete",
|
|
118
122
|
"styleDeclaration": [
|
|
119
123
|
"leading-trim",
|
|
120
124
|
"leadingTrim"
|
|
@@ -125,7 +129,7 @@
|
|
|
125
129
|
"value": "normal | stretch",
|
|
126
130
|
"initial": "normal",
|
|
127
131
|
"appliesTo": "inline boxes, but not ruby container boxes nor internal ruby boxes",
|
|
128
|
-
"inherited": "
|
|
132
|
+
"inherited": "yes",
|
|
129
133
|
"percentages": "n/a",
|
|
130
134
|
"computedValue": "specified keyword",
|
|
131
135
|
"canonicalOrder": "per grammar",
|
package/css-overflow-4.json
CHANGED
package/css-values.json
CHANGED
|
@@ -24,6 +24,9 @@
|
|
|
24
24
|
"<dashed-ident>": {
|
|
25
25
|
"prose": "The <dashed-ident> production is a <custom-ident>, with all the case-sensitivity that implies, with the additional restriction that it must start with two dashes (U+002D HYPHEN-MINUS)."
|
|
26
26
|
},
|
|
27
|
+
"<string>": {
|
|
28
|
+
"prose": "Strings are denoted by <string>. When written literally, they consist of a sequence of characters delimited by double quotes or single quotes, corresponding to the <string-token> production in the CSS Syntax Module [CSS-SYNTAX-3]."
|
|
29
|
+
},
|
|
27
30
|
"<url()>": {
|
|
28
31
|
"prose": "The <url> type, written with the url() and src() functions, represents a URL, which is a pointer to a resource."
|
|
29
32
|
},
|
|
@@ -33,12 +36,21 @@
|
|
|
33
36
|
"<url-modifier>": {
|
|
34
37
|
"prose": "<url>s support specifying additional <url-modifier>s, which change the meaning or the interpretation of the URL somehow. A <url-modifier> is either an <ident> or a functional notation."
|
|
35
38
|
},
|
|
39
|
+
"<integer>": {
|
|
40
|
+
"prose": "Integer values are denoted by <integer>."
|
|
41
|
+
},
|
|
42
|
+
"<number>": {
|
|
43
|
+
"prose": "Number values are denoted by <number>, and represent real numbers, possibly with a fractional component."
|
|
44
|
+
},
|
|
36
45
|
"<zero>": {
|
|
37
46
|
"prose": "The value <zero> represents a literal number with the value 0. Expressions that merely evaluate to a <number> with the value 0 (for example, calc(0)) do not match <zero>; only literal <number-token>s do."
|
|
38
47
|
},
|
|
39
48
|
"<dimension>": {
|
|
40
49
|
"prose": "The general term dimension refers to a number with a unit attached to it; and is denoted by <dimension>."
|
|
41
50
|
},
|
|
51
|
+
"<percentage>": {
|
|
52
|
+
"prose": "Percentage values are denoted by <percentage>, and indicates a value that is some fraction of another reference value."
|
|
53
|
+
},
|
|
42
54
|
"<length-percentage>": {
|
|
43
55
|
"value": "[ <length> | <percentage> ]"
|
|
44
56
|
},
|
|
@@ -55,6 +67,9 @@
|
|
|
55
67
|
"prose": "Ratio values are denoted by <ratio>, and represent the ratio of two numeric values. It most often represents an aspect ratio, relating a width (first) to a height (second).",
|
|
56
68
|
"value": "<number [0,∞]> [ / <number [0,∞]> ]?"
|
|
57
69
|
},
|
|
70
|
+
"<length>": {
|
|
71
|
+
"prose": "Lengths refer to distance measurements and are denoted by <length> in the property definitions. A length is a dimension."
|
|
72
|
+
},
|
|
58
73
|
"<angle>": {
|
|
59
74
|
"prose": "Angle values are <dimension>s denoted by <angle>. The angle unit identifiers are:"
|
|
60
75
|
},
|
|
@@ -67,6 +82,10 @@
|
|
|
67
82
|
"<resolution>": {
|
|
68
83
|
"prose": "Resolution units are dimensions denoted by <resolution>. The resolution unit identifiers are:"
|
|
69
84
|
},
|
|
85
|
+
"<position>": {
|
|
86
|
+
"prose": "The <position> value specifies the position of a object area (e.g. background image) inside a positioning area (e.g. background positioning area). It is interpreted as specified for background-position. [CSS3-BACKGROUND]",
|
|
87
|
+
"value": "[ [ left | center | right ] || [ top | center | bottom ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]? | [ [ left | right ] <length-percentage> ] && [ [ top | bottom ] <length-percentage> ] ]"
|
|
88
|
+
},
|
|
70
89
|
"<calc()>": {
|
|
71
90
|
"prose": "The calc() function is a math function that allows basic arithmetic to be performed on numerical values, using addition (+), subtraction (-), multiplication (*), division (/), and parentheses.",
|
|
72
91
|
"value": "calc( <calc-sum> )"
|
|
@@ -141,6 +160,9 @@
|
|
|
141
160
|
"<quirky-length>": {
|
|
142
161
|
"prose": "When CSS is being parsed in quirks mode, <quirky-length> is a type of <length> that is only valid in certain properties:"
|
|
143
162
|
},
|
|
163
|
+
"<url>": {
|
|
164
|
+
"value": "url( <string> <url-modifier>* ) | src( <string> <url-modifier>* )"
|
|
165
|
+
},
|
|
144
166
|
"<calc-sum>": {
|
|
145
167
|
"value": "<calc-product> [ [ '+' | '-' ] <calc-product> ]*"
|
|
146
168
|
},
|
package/filter-effects.json
CHANGED
|
@@ -86,9 +86,6 @@
|
|
|
86
86
|
},
|
|
87
87
|
"atrules": {},
|
|
88
88
|
"valuespaces": {
|
|
89
|
-
"<url>": {
|
|
90
|
-
"prose": "A filter reference to a filter element. For example url(commonfilters.svg#filter). If the filter references a non-existent object or the referenced object is not a filter element, then the whole filter chain is ignored. No filter is applied to the object."
|
|
91
|
-
},
|
|
92
89
|
"<number-optional-number>": {
|
|
93
90
|
"value": "<number> <number>?"
|
|
94
91
|
},
|
package/package.json
CHANGED
package/selectors.json
CHANGED
|
@@ -73,7 +73,10 @@
|
|
|
73
73
|
"value": "':' <ident-token> | ':' <function-token> <any-value> ')'"
|
|
74
74
|
},
|
|
75
75
|
"<pseudo-element-selector>": {
|
|
76
|
-
"value": "':' <pseudo-class-selector>"
|
|
76
|
+
"value": "':' <pseudo-class-selector> | <legacy-pseudo-element-selector>"
|
|
77
|
+
},
|
|
78
|
+
"<legacy-pseudo-element-selector>": {
|
|
79
|
+
"value": "':' [before | after | first-line | first-letter]"
|
|
77
80
|
}
|
|
78
81
|
}
|
|
79
82
|
}
|