@webref/css 4.2.1 → 4.3.0

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.
Files changed (47) hide show
  1. package/CSS.json +27 -0
  2. package/compat.json +8 -17
  3. package/css-animations-2.json +3 -3
  4. package/css-animations.json +3 -0
  5. package/css-cascade-6.json +6 -0
  6. package/css-color-5.json +21 -6
  7. package/css-color.json +23 -1
  8. package/css-conditional-5.json +2 -2
  9. package/css-contain-3.json +9 -0
  10. package/css-content.json +9 -8
  11. package/css-counter-styles.json +3 -0
  12. package/css-easing.json +19 -7
  13. package/css-extensions.json +3 -0
  14. package/css-fonts.json +12 -30
  15. package/css-grid.json +6 -3
  16. package/css-highlight-api.json +13 -0
  17. package/css-images-4.json +15 -15
  18. package/css-images.json +8 -8
  19. package/css-lists.json +3 -0
  20. package/css-masking.json +15 -6
  21. package/css-overflow.json +4 -4
  22. package/css-page-floats.json +2 -2
  23. package/css-page.json +3 -3
  24. package/css-position.json +1 -8
  25. package/css-shapes-2.json +14 -19
  26. package/css-shapes.json +9 -7
  27. package/css-size-adjust.json +1 -5
  28. package/css-sizing.json +1 -5
  29. package/css-syntax.json +95 -4
  30. package/css-text-4.json +2 -11
  31. package/css-text.json +1 -8
  32. package/css-transforms-2.json +3 -0
  33. package/css-transforms.json +5 -2
  34. package/css-ui.json +10 -4
  35. package/css-values-5.json +10 -0
  36. package/css-values.json +121 -25
  37. package/css-variables.json +3 -0
  38. package/fill-stroke.json +0 -3
  39. package/filter-effects.json +6 -6
  40. package/mediaqueries-5.json +6 -0
  41. package/mediaqueries.json +6 -0
  42. package/motion.json +0 -3
  43. package/package.json +1 -1
  44. package/scroll-animations.json +0 -3
  45. package/selectors.json +6 -0
  46. package/css-layout-api.json +0 -13
  47. package/svg-animations.json +0 -13
@@ -86,6 +86,12 @@
86
86
  },
87
87
  "descriptors": {},
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
+ "<number-optional-number>": {
93
+ "value": "<number> <number>?"
94
+ },
89
95
  "<filter-value-list>": {
90
96
  "value": "[ <filter-function> | <url> ]+"
91
97
  },
@@ -124,12 +130,6 @@
124
130
  },
125
131
  "<filter()>": {
126
132
  "value": "filter( [ <image> | <string> ], <filter-value-list> )"
127
- },
128
- "<number-optional-number>": {
129
- "value": "<number> <number>?"
130
- },
131
- "<url>": {
132
- "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."
133
133
  }
134
134
  }
135
135
  }
@@ -303,6 +303,12 @@
303
303
  ]
304
304
  },
305
305
  "valuespaces": {
306
+ "<media-query-list>": {
307
+ "prose": "To parse a <media-query-list> production, parse a comma-separated list of component values, then parse each entry in the returned list as a <media-query>. Its value is the list of <media-query>s so produced."
308
+ },
309
+ "<mq-boolean>": {
310
+ "prose": "The <mq-boolean> value type is an <integer> with the value 0 or 1. Any other integer value is invalid. Note that -0 is always equivalent to 0 in CSS, and so is also accepted as a valid <mq-boolean> value."
311
+ },
306
312
  "<media-query>": {
307
313
  "value": "<media-condition> | [ not | only ]? <media-type> [ and <media-condition-without-or> ]?"
308
314
  },
package/mediaqueries.json CHANGED
@@ -175,6 +175,12 @@
175
175
  ]
176
176
  },
177
177
  "valuespaces": {
178
+ "<media-query-list>": {
179
+ "prose": "To parse a <media-query-list> production, parse a comma-separated list of component values, then parse each entry in the returned list as a <media-query>. Its value is the list of <media-query>s so produced."
180
+ },
181
+ "<mq-boolean>": {
182
+ "prose": "The <mq-boolean> value type is an <integer> with the value 0 or 1. Any other integer value is invalid. Note that -0 is always equivalent to 0 in CSS, and so is also accepted as a valid <mq-boolean> value."
183
+ },
178
184
  "<media-query>": {
179
185
  "value": "<media-condition> | [ not | only ]? <media-type> [ and <media-condition-without-or> ]?"
180
186
  },
package/motion.json CHANGED
@@ -106,9 +106,6 @@
106
106
  },
107
107
  "<path()>": {
108
108
  "value": "path( <string> )"
109
- },
110
- "<size>": {
111
- "prose": "Decides the path length used when offset-distance is expressed as a percentage, using the distance to the containing box. For <size> values other than sides, the path length is independent of <angle>. It is defined as: <size> = [ closest-side | closest-corner | farthest-side | farthest-corner | sides ]"
112
109
  }
113
110
  }
114
111
  }
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.2.1",
4
+ "version": "4.3.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -39,9 +39,6 @@
39
39
  },
40
40
  "<element-offset-edge>": {
41
41
  "value": "start | end"
42
- },
43
- "<selector()>": {
44
- "value": "selector()"
45
42
  }
46
43
  }
47
44
  }
package/selectors.json CHANGED
@@ -6,6 +6,12 @@
6
6
  "properties": {},
7
7
  "descriptors": {},
8
8
  "valuespaces": {
9
+ "<forgiving-selector-list>": {
10
+ "prose": "The <forgiving-selector-list> production instead parses each selector in the list individually, simply ignoring ones that fail to parse, so the remaining selectors can still be used."
11
+ },
12
+ "<forgiving-relative-selector-list>": {
13
+ "prose": "<forgiving-relative-selector-list> is identical to <forgiving-selector-list>, except it parses its components as <relative-selector> rather than <complex-selector>."
14
+ },
9
15
  "<selector-list>": {
10
16
  "value": "<complex-selector-list>"
11
17
  },
@@ -1,13 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "CSS Layout API Level 1",
4
- "url": "https://drafts.css-houdini.org/css-layout-api-1/"
5
- },
6
- "properties": {},
7
- "descriptors": {},
8
- "valuespaces": {
9
- "<layout()>": {
10
- "value": "layout()"
11
- }
12
- }
13
- }
@@ -1,13 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "SVG Animations",
4
- "url": "https://svgwg.org/specs/animations/"
5
- },
6
- "properties": {},
7
- "descriptors": {},
8
- "valuespaces": {
9
- "<control-point>": {
10
- "value": "<number> ,? <number> ,? <number> ,? <number>"
11
- }
12
- }
13
- }