@webref/css 5.4.3 → 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-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-condition> ;",
24
+ "value": "@import [ <url> | <string> ] [ layer | layer(<layer-name>) ]? <import-conditions> ;",
25
25
  "descriptors": []
26
26
  },
27
27
  "@layer": {
package/css-images.json CHANGED
@@ -67,9 +67,13 @@
67
67
  },
68
68
  "atrules": {},
69
69
  "valuespaces": {
70
- "<size>": {
71
- "prose": "Both circle and ellipse gradients accept the following keywords as their <size>:",
72
- "value": "<extent-keyword> | <length [0,∞]> | <length-percentage [0,∞]>{2}"
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
- "<radial-gradient()>": {
93
- "value": "radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )"
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"
@@ -42,7 +42,6 @@
42
42
  "percentages": "N/A",
43
43
  "computedValue": "the keyword none or an integer",
44
44
  "canonicalOrder": "per grammar",
45
- "animatable": "as integer",
46
45
  "animationType": "by computed value type",
47
46
  "styleDeclaration": [
48
47
  "max-lines",
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": "5.4.3",
4
+ "version": "5.4.4",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
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
  }