@webref/css 4.3.1 → 4.3.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.
@@ -156,9 +156,6 @@
156
156
  "<single-animation>": {
157
157
  "value": "<time> || <easing-function> || <time> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ]"
158
158
  },
159
- "<AnimationEvent()>": {
160
- "value": "AnimationEvent(type, animationEventInitDict)"
161
- },
162
159
  "<keyframes-name>": {
163
160
  "value": "<custom-ident> | <string>"
164
161
  },
package/css-color.json CHANGED
@@ -37,7 +37,7 @@
37
37
  "valuespaces": {
38
38
  "<color>": {
39
39
  "prose": "Colors in CSS are represented by the <color> type:",
40
- "value": "<absolute-color-base> | currentcolor | <system-color> | <device-cmyk()>"
40
+ "value": "<absolute-color-base> | currentcolor | <system-color>"
41
41
  },
42
42
  "<rgba()>": {
43
43
  "prose": "Also, an rgba() legacy color syntax also exists, with an identical grammar and behavior to rgb()."
@@ -61,7 +61,13 @@
61
61
  "prose": "When CSS is being parsed in quirks mode, <quirky-color> is a type of <color> that is only valid in certain properties:"
62
62
  },
63
63
  "<absolute-color-base>": {
64
- "value": "<hex-color> | <named-color> | transparent | <rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <oklab()> | <oklch()> | <color()>"
64
+ "value": "<hex-color> | <absolute-color-function> | <named-color> | transparent"
65
+ },
66
+ "<absolute-color-function>": {
67
+ "value": "<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <oklab()> | <oklch()> | <color()>"
68
+ },
69
+ "<alpha-value>": {
70
+ "value": "<number> | <percentage>"
65
71
  },
66
72
  "<hue>": {
67
73
  "value": "<number> | <angle> | none"
@@ -70,9 +76,6 @@
70
76
  "value": "rgb( [<percentage> | none]{3} [ / [<alpha-value> | none] ]? ) | rgb( [<number> | none]{3} [ / [<alpha-value> | none] ]? )",
71
77
  "legacyValue": "rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? )"
72
78
  },
73
- "<alpha-value>": {
74
- "value": "<number> | <percentage>"
75
- },
76
79
  "<hsl()>": {
77
80
  "value": "hsl( [<hue> | none] [<percentage> | none] [<percentage> | none] [ / [<alpha-value> | none] ]? )",
78
81
  "legacyValue": "hsl( <hue>, <percentage>, <percentage>, <alpha-value>? )"
@@ -13,12 +13,12 @@
13
13
  },
14
14
  "container-type": {
15
15
  "name": "container-type",
16
- "value": "none | style || [ size | inline-size ]",
17
- "initial": "style",
16
+ "value": "normal || [ size | inline-size ]",
17
+ "initial": "normal",
18
18
  "appliesTo": "all elements",
19
19
  "inherited": "no",
20
20
  "percentages": "n/a",
21
- "computedValue": "the keyword none or one or more of size, inline-size, style",
21
+ "computedValue": "the keyword normal or one or more of size, inline-size",
22
22
  "canonicalOrder": "per grammar",
23
23
  "animationType": "not animatable",
24
24
  "styleDeclaration": [
package/css-content.json CHANGED
@@ -104,7 +104,6 @@
104
104
  "<leader()>": {
105
105
  "value": "leader( <leader-type> )"
106
106
  },
107
- "<image>": {},
108
107
  "<quote>": {
109
108
  "value": "open-quote | close-quote | no-open-quote | no-close-quote"
110
109
  },
package/css-easing.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "descriptors": {},
8
8
  "valuespaces": {
9
9
  "<easing-function>": {
10
- "value": "linear | <cubic-bezier-easing-function> | <step-easing-function>"
10
+ "value": "linear | <linear-easing-function> | <cubic-bezier-easing-function> | <step-easing-function>"
11
11
  },
12
12
  "<cubic-bezier-easing-function>": {
13
13
  "value": "ease | ease-in | ease-out | ease-in-out | cubic-bezier(<number [0,1]>, <number>, <number [0,1]>, <number>)"
@@ -23,6 +23,18 @@
23
23
  },
24
24
  "<steps()>": {
25
25
  "value": "steps(<integer>[, <step-position> ]?)"
26
+ },
27
+ "<linear-easing-function>": {
28
+ "value": "linear(<linear-stop-list>)"
29
+ },
30
+ "<linear-stop-list>": {
31
+ "value": "[ <linear-stop> ]#"
32
+ },
33
+ "<linear-stop>": {
34
+ "value": "<number> && <linear-stop-length>?"
35
+ },
36
+ "<linear-stop-length>": {
37
+ "value": "<percentage>{1,2}"
26
38
  }
27
39
  }
28
40
  }
package/css-images.json CHANGED
@@ -77,6 +77,9 @@
77
77
  "<repeating-radial-gradient()>": {
78
78
  "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."
79
79
  },
80
+ "<image>": {
81
+ "value": "<url> | <gradient>"
82
+ },
80
83
  "<gradient>": {
81
84
  "value": "<linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()>"
82
85
  },
package/css-speech.json CHANGED
@@ -269,6 +269,9 @@
269
269
  },
270
270
  "descriptors": {},
271
271
  "valuespaces": {
272
+ "<decibel>": {
273
+ "prose": "The <decibel> type denotes a dimension with a \"dB\" (decibel unit) unit identifier. Decibels represent the ratio of the squares of the new signal amplitude a1 and the current amplitude a0, as per the following logarithmic equation: volume(dB) = 20 × log10(a1 / a0)."
274
+ },
272
275
  "<generic-voice>": {
273
276
  "value": "[<age>? <gender> <integer>?]"
274
277
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
- "title": "CSS Custom Properties for Cascading Variables Module Level 1",
4
- "url": "https://drafts.csswg.org/css-variables/"
3
+ "title": "CSS Custom Properties for Cascading Variables Module Level 2",
4
+ "url": "https://drafts.csswg.org/css-variables-2/"
5
5
  },
6
6
  "properties": {},
7
7
  "descriptors": {},
@@ -364,7 +364,7 @@
364
364
  "value": "<mf-lt> | <mf-gt> | <mf-eq>"
365
365
  },
366
366
  "<general-enclosed>": {
367
- "value": "[ <function-token> <any-value> ) ] | ( <ident> <any-value> )"
367
+ "value": "[ <function-token> <any-value>? ) ] | [ ( <any-value>? ) ]"
368
368
  }
369
369
  }
370
370
  }
package/mediaqueries.json CHANGED
@@ -237,7 +237,7 @@
237
237
  "value": "<mf-lt> | <mf-gt> | <mf-eq>"
238
238
  },
239
239
  "<general-enclosed>": {
240
- "value": "[ <function-token> <any-value>? ) ] | ( <any-value>? )"
240
+ "value": "[ <function-token> <any-value>? ) ] | [ ( <any-value>? ) ]"
241
241
  }
242
242
  }
243
243
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webref/css",
3
3
  "description": "CSS definitions of the web platform",
4
- "version": "4.3.1",
4
+ "version": "4.3.4",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"