@webref/css 5.4.4 → 6.1.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 (108) hide show
  1. package/CHANGELOG.md +66 -0
  2. package/CSS.json +450 -21
  3. package/README.md +4 -4
  4. package/SVG.json +42 -35
  5. package/compat.json +111 -75
  6. package/compositing.json +101 -12
  7. package/css-align.json +300 -30
  8. package/css-anchor.json +177 -19
  9. package/css-animations-2.json +37 -15
  10. package/css-animations.json +155 -31
  11. package/css-backgrounds-4.json +107 -32
  12. package/css-backgrounds.json +426 -59
  13. package/css-box.json +243 -20
  14. package/css-break.json +292 -11
  15. package/css-cascade-6.json +22 -13
  16. package/css-cascade.json +50 -15
  17. package/css-color-5.json +320 -35
  18. package/css-color-adjust.json +75 -8
  19. package/css-color.json +1100 -61
  20. package/css-conditional-4.json +11 -6
  21. package/css-conditional-5.json +38 -19
  22. package/css-conditional.json +28 -15
  23. package/css-contain-3.json +101 -26
  24. package/css-contain.json +71 -6
  25. package/css-content.json +291 -30
  26. package/css-counter-styles.json +455 -18
  27. package/css-display.json +250 -19
  28. package/css-easing.json +137 -25
  29. package/css-env.json +61 -6
  30. package/css-exclusions.json +65 -6
  31. package/css-extensions.json +20 -12
  32. package/css-flexbox.json +132 -11
  33. package/css-fonts-5.json +255 -13
  34. package/css-fonts.json +886 -74
  35. package/css-gcpm-4.json +30 -5
  36. package/css-gcpm.json +76 -15
  37. package/css-grid-3.json +10 -9
  38. package/css-grid.json +442 -42
  39. package/css-highlight-api.json +13 -5
  40. package/css-images-4.json +221 -68
  41. package/css-images-5.json +40 -0
  42. package/css-images.json +278 -33
  43. package/css-inline.json +525 -16
  44. package/css-layout-api.json +20 -0
  45. package/css-line-grid.json +80 -7
  46. package/css-lists.json +176 -21
  47. package/css-logical.json +125 -50
  48. package/css-masking.json +330 -47
  49. package/css-multicol-2.json +32 -5
  50. package/css-multicol.json +84 -13
  51. package/css-namespaces.json +15 -10
  52. package/css-nav.json +63 -7
  53. package/css-nesting.json +15 -0
  54. package/css-overflow-4.json +83 -10
  55. package/css-overflow.json +239 -18
  56. package/css-overscroll.json +110 -9
  57. package/css-page-floats.json +188 -16
  58. package/css-page.json +262 -67
  59. package/css-paint-api.json +8 -5
  60. package/css-position.json +269 -16
  61. package/css-properties-values-api.json +9 -7
  62. package/css-pseudo.json +67 -0
  63. package/css-regions.json +8 -7
  64. package/css-rhythm.json +69 -10
  65. package/css-round-display.json +47 -10
  66. package/css-ruby.json +137 -8
  67. package/css-scoping.json +27 -0
  68. package/css-scroll-anchoring.json +20 -5
  69. package/css-scroll-snap-2.json +272 -10
  70. package/css-scroll-snap.json +218 -29
  71. package/css-scrollbars.json +41 -6
  72. package/css-shadow-parts.json +8 -5
  73. package/css-shapes-2.json +190 -43
  74. package/css-shapes.json +130 -36
  75. package/css-size-adjust.json +26 -5
  76. package/css-sizing-4.json +404 -23
  77. package/css-sizing.json +231 -12
  78. package/css-speech.json +619 -35
  79. package/css-syntax.json +193 -92
  80. package/css-tables.json +10 -9
  81. package/css-text-4.json +800 -40
  82. package/css-text-decor-4.json +394 -23
  83. package/css-text-decor.json +159 -14
  84. package/css-text.json +371 -20
  85. package/css-transforms-2.json +177 -40
  86. package/css-transforms.json +137 -45
  87. package/css-transitions.json +33 -14
  88. package/css-ui.json +437 -42
  89. package/css-values-5.json +99 -14
  90. package/css-values.json +654 -146
  91. package/css-variables.json +12 -7
  92. package/css-view-transitions.json +45 -7
  93. package/css-will-change.json +36 -7
  94. package/css-writing-modes.json +141 -10
  95. package/fill-stroke.json +290 -35
  96. package/filter-effects-2.json +6 -5
  97. package/filter-effects.json +109 -45
  98. package/fullscreen.json +15 -0
  99. package/mathml-core.json +10 -9
  100. package/mediaqueries-5.json +505 -52
  101. package/mediaqueries.json +307 -40
  102. package/motion.json +99 -16
  103. package/package.json +1 -1
  104. package/scroll-animations.json +225 -24
  105. package/selectors.json +368 -30
  106. package/svg-strokes.json +8 -7
  107. package/upgrade-insecure-requests.json +26 -0
  108. package/html.json +0 -19
package/css-multicol.json CHANGED
@@ -3,8 +3,8 @@
3
3
  "title": "CSS Multi-column Layout Module Level 1",
4
4
  "url": "https://drafts.csswg.org/css-multicol-1/"
5
5
  },
6
- "properties": {
7
- "column-width": {
6
+ "properties": [
7
+ {
8
8
  "name": "column-width",
9
9
  "value": "auto | <length [0,∞]>",
10
10
  "initial": "auto",
@@ -14,12 +14,26 @@
14
14
  "computedValue": "the keyword auto or an absolute length",
15
15
  "canonicalOrder": "per grammar",
16
16
  "animationType": "by computed value type",
17
+ "values": [
18
+ {
19
+ "name": "auto",
20
+ "prose": "means that the column width will be determined by other properties (e.g., column-count, if it has a non-auto value).",
21
+ "type": "value",
22
+ "value": "auto"
23
+ },
24
+ {
25
+ "name": "<length [0,∞]>",
26
+ "prose": "describes the optimal column width. The actual column width may be wider (to fill the available space), or narrower (only if the available space is smaller than the specified column width). Negative values are not allowed. Used values will be clamped to a minimum of 1px.",
27
+ "type": "value",
28
+ "value": "<length [0,∞]>"
29
+ }
30
+ ],
17
31
  "styleDeclaration": [
18
32
  "column-width",
19
33
  "columnWidth"
20
34
  ]
21
35
  },
22
- "column-count": {
36
+ {
23
37
  "name": "column-count",
24
38
  "value": "auto | <integer [1,∞]>",
25
39
  "initial": "auto",
@@ -29,12 +43,26 @@
29
43
  "computedValue": "specified value",
30
44
  "canonicalOrder": "per grammar",
31
45
  "animatable": "by computed value",
46
+ "values": [
47
+ {
48
+ "name": "auto",
49
+ "prose": "means that the number of columns will be determined by other properties (e.g., column-width, if it has a non-auto value).",
50
+ "type": "value",
51
+ "value": "auto"
52
+ },
53
+ {
54
+ "name": "<integer [1,∞]>",
55
+ "prose": "describes the optimal number of columns into which the content of the element will be flowed. Values must be greater than 0. If both column-width and column-count have non-auto values, the integer value describes the maximum number of columns.",
56
+ "type": "value",
57
+ "value": "<integer [1,∞]>"
58
+ }
59
+ ],
32
60
  "styleDeclaration": [
33
61
  "column-count",
34
62
  "columnCount"
35
63
  ]
36
64
  },
37
- "columns": {
65
+ {
38
66
  "name": "columns",
39
67
  "value": "<'column-width'> || <'column-count'>",
40
68
  "initial": "see individual properties",
@@ -48,7 +76,7 @@
48
76
  "columns"
49
77
  ]
50
78
  },
51
- "column-rule-color": {
79
+ {
52
80
  "name": "column-rule-color",
53
81
  "value": "<color>",
54
82
  "initial": "currentcolor",
@@ -58,12 +86,20 @@
58
86
  "computedValue": "computed color",
59
87
  "canonicalOrder": "per grammar",
60
88
  "animationType": "by computed value type",
89
+ "values": [
90
+ {
91
+ "name": "<color>",
92
+ "prose": "Specifies the color of the column rule.",
93
+ "type": "value",
94
+ "value": "<color>"
95
+ }
96
+ ],
61
97
  "styleDeclaration": [
62
98
  "column-rule-color",
63
99
  "columnRuleColor"
64
100
  ]
65
101
  },
66
- "column-rule-style": {
102
+ {
67
103
  "name": "column-rule-style",
68
104
  "value": "<line-style>",
69
105
  "initial": "none",
@@ -78,7 +114,7 @@
78
114
  "columnRuleStyle"
79
115
  ]
80
116
  },
81
- "column-rule-width": {
117
+ {
82
118
  "name": "column-rule-width",
83
119
  "value": "<line-width>",
84
120
  "initial": "medium",
@@ -93,7 +129,7 @@
93
129
  "columnRuleWidth"
94
130
  ]
95
131
  },
96
- "column-rule": {
132
+ {
97
133
  "name": "column-rule",
98
134
  "value": "<'column-rule-width'> || <'column-rule-style'> || <'column-rule-color'>",
99
135
  "initial": "see individual properties",
@@ -108,7 +144,7 @@
108
144
  "columnRule"
109
145
  ]
110
146
  },
111
- "column-span": {
147
+ {
112
148
  "name": "column-span",
113
149
  "value": "none | all",
114
150
  "initial": "none",
@@ -118,12 +154,26 @@
118
154
  "computedValue": "specified keyword",
119
155
  "canonicalOrder": "per grammar",
120
156
  "animationType": "discrete",
157
+ "values": [
158
+ {
159
+ "name": "none",
160
+ "prose": "The element does not span multiple columns.",
161
+ "type": "value",
162
+ "value": "none"
163
+ },
164
+ {
165
+ "name": "all",
166
+ "prose": "The element forces a column break and is taken out of flow to span across all columns of the nearest multicol ancestor in the same block formatting context. Content in the normal flow that appears before the element is automatically balanced across all columns in the immediately preceding multi-column line before the element appears, and any subsequent content flows into a new multi-column line after the element. The element establishes an independent formatting context.",
167
+ "type": "value",
168
+ "value": "all"
169
+ }
170
+ ],
121
171
  "styleDeclaration": [
122
172
  "column-span",
123
173
  "columnSpan"
124
174
  ]
125
175
  },
126
- "column-fill": {
176
+ {
127
177
  "name": "column-fill",
128
178
  "value": "auto | balance | balance-all",
129
179
  "initial": "balance",
@@ -133,12 +183,33 @@
133
183
  "computedValue": "specified keyword",
134
184
  "canonicalOrder": "per grammar",
135
185
  "animationType": "discrete",
186
+ "values": [
187
+ {
188
+ "name": "balance",
189
+ "prose": "Balance content equally between columns, as far as possible. In fragmented contexts, only the last fragment is balanced.",
190
+ "type": "value",
191
+ "value": "balance"
192
+ },
193
+ {
194
+ "name": "balance-all",
195
+ "prose": "Balance content equally between columns, as far as possible. In fragmented contexts, all fragments are balanced.",
196
+ "type": "value",
197
+ "value": "balance-all"
198
+ },
199
+ {
200
+ "name": "auto",
201
+ "prose": "fill columns sequentially",
202
+ "type": "value",
203
+ "value": "auto"
204
+ }
205
+ ],
136
206
  "styleDeclaration": [
137
207
  "column-fill",
138
208
  "columnFill"
139
209
  ]
140
210
  }
141
- },
142
- "atrules": {},
143
- "valuespaces": {}
211
+ ],
212
+ "atrules": [],
213
+ "selectors": [],
214
+ "values": []
144
215
  }
@@ -3,16 +3,21 @@
3
3
  "title": "CSS Namespaces Module Level 3",
4
4
  "url": "https://drafts.csswg.org/css-namespaces-3/"
5
5
  },
6
- "properties": {},
7
- "atrules": {
8
- "@namespace": {
9
- "value": "@namespace <namespace-prefix>? [ <string> | <url> ] ;",
10
- "descriptors": []
11
- }
12
- },
13
- "valuespaces": {
14
- "<namespace-prefix>": {
6
+ "properties": [],
7
+ "atrules": [],
8
+ "selectors": [],
9
+ "values": [
10
+ {
11
+ "name": "<namespace-prefix>",
12
+ "type": "type",
15
13
  "value": "<ident>"
16
14
  }
17
- }
15
+ ],
16
+ "warnings": [
17
+ {
18
+ "msg": "Missing definition",
19
+ "name": "@namespace",
20
+ "value": "@namespace <namespace-prefix>? [ <string> | <url> ] ;"
21
+ }
22
+ ]
18
23
  }
package/css-nav.json CHANGED
@@ -3,8 +3,8 @@
3
3
  "title": "CSS Spatial Navigation Level 1",
4
4
  "url": "https://drafts.csswg.org/css-nav-1/"
5
5
  },
6
- "properties": {
7
- "spatial-navigation-contain": {
6
+ "properties": [
7
+ {
8
8
  "name": "spatial-navigation-contain",
9
9
  "value": "auto | contain",
10
10
  "initial": "auto",
@@ -13,12 +13,26 @@
13
13
  "percentages": "n/a",
14
14
  "computedValue": "as specified",
15
15
  "canonicalOrder": "per grammar",
16
+ "values": [
17
+ {
18
+ "name": "auto",
19
+ "prose": "If the element is a scroll container then it establishes a spatial navigation container, otherwise it does not.",
20
+ "type": "value",
21
+ "value": "auto"
22
+ },
23
+ {
24
+ "name": "contain",
25
+ "prose": "The element establishes a spatial navigation container",
26
+ "type": "value",
27
+ "value": "contain"
28
+ }
29
+ ],
16
30
  "styleDeclaration": [
17
31
  "spatial-navigation-contain",
18
32
  "spatialNavigationContain"
19
33
  ]
20
34
  },
21
- "spatial-navigation-action": {
35
+ {
22
36
  "name": "spatial-navigation-action",
23
37
  "value": "auto | focus | scroll",
24
38
  "initial": "auto",
@@ -27,12 +41,32 @@
27
41
  "percentages": "n/a",
28
42
  "computedValue": "as specified",
29
43
  "canonicalOrder": "per grammar",
44
+ "values": [
45
+ {
46
+ "name": "auto",
47
+ "prose": "If there are visible focusable elements within the scroll container in the direction requested, the closest one becomes focused. Otherwise, the scroll container is scrolled in the direction requested.",
48
+ "type": "value",
49
+ "value": "auto"
50
+ },
51
+ {
52
+ "name": "focus",
53
+ "prose": "The focus is moved to the nearest focusable element within the scroll container, regardless of whether it is visible. If there are none, the scroll container is not scrolled, and the search continues up the ancestry chain instead.",
54
+ "type": "value",
55
+ "value": "focus"
56
+ },
57
+ {
58
+ "name": "scroll",
59
+ "prose": "If the currently focused element is not itself a scroll container, this value on an ancestor scroll container has the same effect as auto. If the currently focused element is a scroll container, it is scrolled in the direction requested without changing which element is in focus, regardless of the presence of focusable descendants.",
60
+ "type": "value",
61
+ "value": "scroll"
62
+ }
63
+ ],
30
64
  "styleDeclaration": [
31
65
  "spatial-navigation-action",
32
66
  "spatialNavigationAction"
33
67
  ]
34
68
  },
35
- "spatial-navigation-function": {
69
+ {
36
70
  "name": "spatial-navigation-function",
37
71
  "value": "normal | grid",
38
72
  "initial": "normal",
@@ -41,12 +75,34 @@
41
75
  "percentages": "n/a",
42
76
  "computedValue": "as specified",
43
77
  "canonicalOrder": "per grammar",
78
+ "values": [
79
+ {
80
+ "name": "normal",
81
+ "prose": "Moves the focus with the default focus navigation algorithm defined by UA. In general, the focus moves to the element with the closest distance calculated by finding the shortest distance.",
82
+ "type": "value",
83
+ "value": "normal"
84
+ },
85
+ {
86
+ "name": "grid",
87
+ "prose": "Moves the focus to the element which is aligned most in the navigation direction. If there are more than one aligned candidates in the navigation direction, select the element with the closest distance along the axis which corresponds to the navigation direction. In case of multiple elements with the same distance, select the element with the minimum amount of alignment. Else if there isn’t any aligned candidate in a given direction, select the element with the closest distance along the axis which corresponds to the navigation direction. In case of multiple elements with the same distance, select the element with the minimum distance along the axis which is orthogonal to the navigation direction.",
88
+ "type": "value",
89
+ "value": "grid"
90
+ }
91
+ ],
44
92
  "styleDeclaration": [
45
93
  "spatial-navigation-function",
46
94
  "spatialNavigationFunction"
47
95
  ]
48
96
  }
49
- },
50
- "atrules": {},
51
- "valuespaces": {}
97
+ ],
98
+ "atrules": [],
99
+ "selectors": [],
100
+ "values": [],
101
+ "warnings": [
102
+ {
103
+ "msg": "Missing definition",
104
+ "name": "distance",
105
+ "value": "euclidean + displacement - alignment - sqrt(Overlap)"
106
+ }
107
+ ]
52
108
  }
@@ -0,0 +1,15 @@
1
+ {
2
+ "spec": {
3
+ "title": "CSS Nesting Module",
4
+ "url": "https://drafts.csswg.org/css-nesting-1/"
5
+ },
6
+ "properties": [],
7
+ "atrules": [],
8
+ "selectors": [
9
+ {
10
+ "name": "&",
11
+ "prose": "When using a nested style rule, one must be able to refer to the elements matched by the parent rule; that is, after all, the entire point of nesting. To accomplish that, this specification defines a new selector, the nesting selector, written as & (U+0026 AMPERSAND)."
12
+ }
13
+ ],
14
+ "values": []
15
+ }
@@ -3,8 +3,8 @@
3
3
  "title": "CSS Overflow Module Level 4",
4
4
  "url": "https://drafts.csswg.org/css-overflow-4/"
5
5
  },
6
- "properties": {
7
- "text-overflow": {
6
+ "properties": [
7
+ {
8
8
  "name": "text-overflow",
9
9
  "value": "[ clip | ellipsis | <string> | fade | <fade()> ]{1,2}",
10
10
  "initial": "clip",
@@ -14,12 +14,37 @@
14
14
  "computedValue": "as specified, with lengths made absolute",
15
15
  "canonicalOrder": "per grammar",
16
16
  "animationType": "by computed value type",
17
+ "values": [
18
+ {
19
+ "name": "clip",
20
+ "prose": "Clip inline content that overflows its block container element. Characters may be only partially rendered.",
21
+ "type": "value",
22
+ "value": "clip"
23
+ },
24
+ {
25
+ "name": "ellipsis",
26
+ "prose": "Render an ellipsis character (U+2026) to represent clipped inline content. Implementations may substitute a more language, script, or writing-mode appropriate ellipsis character, or three dots \"...\" if the ellipsis character is unavailable.",
27
+ "type": "value",
28
+ "value": "ellipsis"
29
+ },
30
+ {
31
+ "name": "fade()",
32
+ "value": "fade( [ <length> | <percentage> ] )",
33
+ "type": "function"
34
+ },
35
+ {
36
+ "name": "fade",
37
+ "prose": "Same as fade(), but the distance over which the fading effect is applied is determined by the UA. 1em is suggested as a reasonable value.",
38
+ "type": "value",
39
+ "value": "fade"
40
+ }
41
+ ],
17
42
  "styleDeclaration": [
18
43
  "text-overflow",
19
44
  "textOverflow"
20
45
  ]
21
46
  },
22
- "continue": {
47
+ {
23
48
  "name": "continue",
24
49
  "value": "auto | overflow | paginate | fragments | discard",
25
50
  "initial": "auto",
@@ -29,11 +54,43 @@
29
54
  "computedValue": "see below",
30
55
  "canonicalOrder": "per grammar",
31
56
  "animationType": "discrete",
57
+ "values": [
58
+ {
59
+ "name": "auto",
60
+ "prose": "auto may only occur as a computed value if the element is a CSS Region other than the last one in a region chain. Content that doesn’t fit is pushed to the next region of the chain. In all other cases, auto computes to one of the other values.",
61
+ "type": "value",
62
+ "value": "auto"
63
+ },
64
+ {
65
+ "name": "overflow",
66
+ "prose": "Content that doesn’t fit overflows, according to the overflow property",
67
+ "type": "value",
68
+ "value": "overflow"
69
+ },
70
+ {
71
+ "name": "discard",
72
+ "prose": "Content that doesn’t fit is discarded at a fragmentation break When the element isn’t a fragmentation container already, should this work by turning it directly into one, or by creating a fragment box inside it like fragments does?",
73
+ "type": "value",
74
+ "value": "discard"
75
+ },
76
+ {
77
+ "name": "paginate",
78
+ "prose": "Content that doesn’t fit paginates. This creates a paginated view inside the element similar to the way that 'overflow: scroll' creates a scrollable view. See paginated overflow",
79
+ "type": "value",
80
+ "value": "paginate"
81
+ },
82
+ {
83
+ "name": "fragments",
84
+ "prose": "content that doesn’t fit causes the element to copy itself and continue laying out. See fragment overflow.",
85
+ "type": "value",
86
+ "value": "fragments"
87
+ }
88
+ ],
32
89
  "styleDeclaration": [
33
90
  "continue"
34
91
  ]
35
92
  },
36
- "max-lines": {
93
+ {
37
94
  "name": "max-lines",
38
95
  "value": "none | <integer>",
39
96
  "initial": "none",
@@ -43,16 +100,32 @@
43
100
  "computedValue": "the keyword none or an integer",
44
101
  "canonicalOrder": "per grammar",
45
102
  "animationType": "by computed value type",
103
+ "values": [
104
+ {
105
+ "name": "none",
106
+ "prose": "Breaks occur only as specified elsewhere.",
107
+ "type": "value",
108
+ "value": "none"
109
+ },
110
+ {
111
+ "name": "<integer>",
112
+ "prose": "In addition to any breaks specified elsewhere, a break is forced before any line that would exceed the given number of lines being placed inside the element (excluding lines that are in a different block formatting context from the block formatting context to which an unstyled child of the element would belong). If there are multiple boundaries between this line and the previous, where exactly (in terms of element boundaries) is the break forced? Only positive integers are accepted. Zero or negative integers are a parse error.",
113
+ "type": "value",
114
+ "value": "<integer>"
115
+ }
116
+ ],
46
117
  "styleDeclaration": [
47
118
  "max-lines",
48
119
  "maxLines"
49
120
  ]
50
121
  }
51
- },
52
- "atrules": {},
53
- "valuespaces": {
54
- "<fade()>": {
55
- "value": "fade( [ <length> | <percentage> ] )"
122
+ ],
123
+ "atrules": [],
124
+ "selectors": [
125
+ {
126
+ "name": "::nth-fragment()",
127
+ "prose": "The ::nth-fragment() pseudo-element is a pseudo-element that describes some of the fragment boxes generated by an element. The argument to the pseudo-element takes the same syntax as the argument to the :nth-child() pseudo-class defined in [SELECT], and has the same meaning except that the number is relative to fragment boxes generated by the element instead of siblings of the element."
56
128
  }
57
- }
129
+ ],
130
+ "values": []
58
131
  }