@webref/css 5.3.0 → 5.4.1

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/compat.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "percentages": "N/A",
14
14
  "computedValue": "an RGBA color",
15
15
  "canonicalOrder": "per grammar",
16
- "animationType": "as color",
16
+ "animationType": "by computed value type",
17
17
  "media": "visual",
18
18
  "styleDeclaration": [
19
19
  "-webkit-text-fill-color",
@@ -30,7 +30,7 @@
30
30
  "percentages": "N/A",
31
31
  "computedValue": "an RGBA color",
32
32
  "canonicalOrder": "per grammar",
33
- "animationType": "as color",
33
+ "animationType": "by computed value type",
34
34
  "media": "visual",
35
35
  "styleDeclaration": [
36
36
  "-webkit-text-stroke-color",
package/css-anchor.json CHANGED
@@ -4,11 +4,26 @@
4
4
  "url": "https://drafts.csswg.org/css-anchor-1/"
5
5
  },
6
6
  "properties": {
7
+ "anchor-scroll": {
8
+ "name": "anchor-scroll",
9
+ "value": "none | <dashed-ident>",
10
+ "initial": "none",
11
+ "appliesTo": "absolutely-positioned elements",
12
+ "inherited": "no",
13
+ "percentages": "n/a",
14
+ "computedValue": "as specified",
15
+ "canonicalOrder": "per grammar",
16
+ "animationType": "discrete",
17
+ "styleDeclaration": [
18
+ "anchor-scroll",
19
+ "anchorScroll"
20
+ ]
21
+ },
7
22
  "anchor-name": {
8
23
  "name": "anchor-name",
9
24
  "value": "none | <dashed-ident>",
10
25
  "initial": "none",
11
- "appliesTo": "all elements",
26
+ "appliesTo": "all elements that generate a principal box",
12
27
  "inherited": "no",
13
28
  "percentages": "n/a",
14
29
  "computedValue": "as specified",
package/css-cascade.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "descriptors": []
26
26
  },
27
27
  "@layer": {
28
- "value": "@layer <layer-name>? { <stylesheet> }",
28
+ "value": "@layer <layer-name>? { <stylesheet> } | @layer <layer-name>#;",
29
29
  "descriptors": []
30
30
  }
31
31
  },
package/css-color.json CHANGED
@@ -70,7 +70,7 @@
70
70
  "value": "<number> | <percentage>"
71
71
  },
72
72
  "<hue>": {
73
- "value": "<number> | <angle> | none"
73
+ "value": "<number> | <angle>"
74
74
  },
75
75
  "<rgb()>": {
76
76
  "value": "rgb( [<percentage> | none]{3} [ / [<alpha-value> | none] ]? ) | rgb( [<number> | none]{3} [ / [<alpha-value> | none] ]? )",
@@ -123,7 +123,7 @@
123
123
  "value": "hsl | hwb | lch | oklch"
124
124
  },
125
125
  "<hue-interpolation-method>": {
126
- "value": "[ shorter | longer | increasing | decreasing | specified ] hue"
126
+ "value": "[ shorter | longer | increasing | decreasing ] hue"
127
127
  },
128
128
  "<color-interpolation-method>": {
129
129
  "value": "in [ <rectangular-color-space> | <polar-color-space> <hue-interpolation-method>? ]"
package/css-contain.json CHANGED
@@ -22,7 +22,7 @@
22
22
  "name": "content-visibility",
23
23
  "value": "visible | auto | hidden",
24
24
  "initial": "visible",
25
- "appliesTo": "elements for which layout containment can apply",
25
+ "appliesTo": "elements for which size containment can apply",
26
26
  "inherited": "no",
27
27
  "percentages": "n/a",
28
28
  "computedValue": "as specified",
package/css-fonts.json CHANGED
@@ -73,7 +73,7 @@
73
73
  "percentages": "refer to parent element’s font size",
74
74
  "computedValue": "an absolute length",
75
75
  "canonicalOrder": "per grammar",
76
- "animationType": "by computed value type`",
76
+ "animationType": "by computed value type",
77
77
  "styleDeclaration": [
78
78
  "font-size",
79
79
  "fontSize"
package/css-images-4.json CHANGED
@@ -52,6 +52,10 @@
52
52
  },
53
53
  "atrules": {},
54
54
  "valuespaces": {
55
+ "<image-set()>": {
56
+ "prose": "Delivering the most appropriate image resolution for a user’s device can be a difficult task. Ideally, images should be in the same resolution as the device they’re being viewed in, which can vary between users. However, other factors can factor into the decision of which image to send; for example, if the user is on a slow mobile connection, they may prefer to receive lower-res images rather than waiting for a large proper-res image to load. The image-set() function allows an author to ignore most of these issues, simply providing multiple resolutions of an image and letting the UA decide which is most appropriate in a given situation.",
57
+ "value": "image-set( <image-set-option># )"
58
+ },
55
59
  "<type()>": {
56
60
  "value": "type( <string> )"
57
61
  },
@@ -70,9 +74,6 @@
70
74
  "<image>": {
71
75
  "value": "<url> | <image()> | <image-set()> | <cross-fade()> | <element()> | <gradient>"
72
76
  },
73
- "<image-set()>": {
74
- "value": "image-set( <image-set-option># )"
75
- },
76
77
  "<image-set-option>": {
77
78
  "value": "[ <image> | <string> ] [ <resolution> || type(<string>) ]"
78
79
  },
package/css-shapes-2.json CHANGED
@@ -63,7 +63,7 @@
63
63
  "value": "smooth <by-to> <coordinate-pair> [via <coordinate-pair>]?"
64
64
  },
65
65
  "<arc-command>": {
66
- "value": "arc <by-to> <coordinate-pair> of <length-percentage>{1,2} [ <arc-sweep> || <arc-size> || rotate <angle> ]"
66
+ "value": "arc <by-to> <coordinate-pair> of <length-percentage>{1,2} [ <arc-sweep> || <arc-size> || rotate <angle> ] | arc <by-to> <coordinate-pair> of <length-percentage>{1,2} [ <arc-sweep> || <arc-size> || rotate <angle> ]?"
67
67
  },
68
68
  "<arc-sweep>": {
69
69
  "prose": "<arc-sweep> can be cw or ccw, indicating that the arc that is traced around the ellipse clockwise or counter-clockwise from the center, respectively, must be chosen. If omitted, this defaults to ccw.",
package/css-values.json CHANGED
@@ -25,13 +25,13 @@
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
27
  "<url()>": {
28
- "prose": "Typically, a <url> is written with the url() or src() functional notations:"
28
+ "prose": "The <url> type, written with the url() and src() functions, represents a URL, which is a pointer to a resource."
29
29
  },
30
30
  "<src()>": {
31
- "prose": "Typically, a <url> is written with the url() or src() functional notations:"
31
+ "prose": "The <url> type, written with the url() and src() functions, represents a URL, which is a pointer to a resource."
32
32
  },
33
33
  "<url-modifier>": {
34
- "prose": "The url() function supports 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."
34
+ "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
35
  },
36
36
  "<zero>": {
37
37
  "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."
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
- "title": "CSS Shared Element Transitions Module Level 1",
4
- "url": "https://drafts.csswg.org/css-shared-element-transitions-1/"
3
+ "title": "CSS View Transitions Module Level 1",
4
+ "url": "https://drafts.csswg.org/css-view-transitions-1/"
5
5
  },
6
6
  "properties": {
7
7
  "page-transition-tag": {
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.3.0",
4
+ "version": "5.4.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/css-nesting.json DELETED
@@ -1,14 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "CSS Nesting Module",
4
- "url": "https://drafts.csswg.org/css-nesting-1/"
5
- },
6
- "properties": {},
7
- "atrules": {
8
- "@nest": {
9
- "value": "@nest <selector-list> { <style-block> }",
10
- "descriptors": []
11
- }
12
- },
13
- "valuespaces": {}
14
- }