@webref/css 4.3.2 → 4.3.3

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-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>? )"
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>)"
@@ -16,13 +16,25 @@
16
16
  "value": "cubic-bezier(<number [0,1]>, <number>, <number [0,1]>, <number>)"
17
17
  },
18
18
  "<step-easing-function>": {
19
- "value": "step-start | step-end | steps(<integer>[, <step-position>]?) <step-position>"
19
+ "value": "step-start | step-end | steps(<integer>[, <step-position>]?)"
20
20
  },
21
21
  "<step-position>": {
22
22
  "value": "jump-start | jump-end | jump-none | jump-both | start | end"
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
  }
@@ -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.2",
4
+ "version": "4.3.3",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"