@webref/css 6.10.4 → 6.11.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 (114) hide show
  1. package/CSS.json +83 -8
  2. package/README.md +1 -0
  3. package/SVG.json +27 -0
  4. package/compat.json +75 -0
  5. package/compositing.json +22 -0
  6. package/css-align.json +59 -0
  7. package/css-anchor-position.json +80 -1
  8. package/css-animations-2.json +13 -0
  9. package/css-animations.json +34 -0
  10. package/css-backgrounds-4.json +12 -0
  11. package/css-backgrounds.json +78 -0
  12. package/css-borders.json +91 -0
  13. package/css-box.json +48 -0
  14. package/css-break.json +50 -0
  15. package/css-cascade-6.json +3 -0
  16. package/css-cascade.json +10 -0
  17. package/css-color-5.json +74 -0
  18. package/css-color-6.json +6 -0
  19. package/css-color-adjust.json +14 -0
  20. package/css-color.json +272 -0
  21. package/css-conditional-4.json +2 -0
  22. package/css-conditional-5.json +7 -0
  23. package/css-conditional.json +6 -0
  24. package/css-contain-3.json +27 -0
  25. package/css-contain.json +12 -0
  26. package/css-content.json +53 -0
  27. package/css-counter-styles.json +85 -0
  28. package/css-display.json +48 -0
  29. package/css-easing.json +24 -0
  30. package/css-env.json +11 -0
  31. package/css-exclusions.json +11 -0
  32. package/css-extensions.json +4 -0
  33. package/css-flexbox.json +24 -0
  34. package/css-fonts-5.json +46 -0
  35. package/css-fonts.json +205 -0
  36. package/css-gcpm-4.json +10 -4
  37. package/css-gcpm.json +13 -1
  38. package/css-grid-3.json +1 -0
  39. package/css-grid.json +88 -0
  40. package/css-highlight-api.json +3 -1
  41. package/css-images-4.json +49 -0
  42. package/css-images-5.json +3 -0
  43. package/css-images.json +46 -0
  44. package/css-inline.json +93 -0
  45. package/css-layout-api.json +1 -0
  46. package/css-line-grid.json +14 -0
  47. package/css-link-params.json +2 -0
  48. package/css-lists.json +34 -0
  49. package/css-logical.json +27 -0
  50. package/css-masking.json +69 -0
  51. package/css-multicol-2.json +5 -0
  52. package/css-multicol.json +19 -0
  53. package/css-namespaces.json +2 -0
  54. package/css-nav.json +10 -0
  55. package/css-nesting.json +2 -1
  56. package/css-overflow-4.json +37 -1
  57. package/css-overflow.json +38 -0
  58. package/css-overscroll.json +20 -0
  59. package/css-page-floats.json +34 -0
  60. package/css-page.json +52 -0
  61. package/css-paint-api.json +1 -0
  62. package/css-position-4.json +5 -1
  63. package/css-position.json +50 -0
  64. package/css-properties-values-api.json +4 -0
  65. package/css-pseudo.json +23 -10
  66. package/css-regions.json +3 -0
  67. package/css-rhythm.json +15 -0
  68. package/css-round-display.json +8 -0
  69. package/css-ruby.json +22 -0
  70. package/css-scoping.json +8 -4
  71. package/css-scroll-anchoring.json +3 -0
  72. package/css-scroll-snap-2.json +55 -5
  73. package/css-scroll-snap.json +53 -0
  74. package/css-scrollbars.json +7 -0
  75. package/css-shadow-parts.json +1 -0
  76. package/css-shapes-2.json +34 -0
  77. package/css-shapes.json +22 -0
  78. package/css-size-adjust.json +4 -0
  79. package/css-sizing-4.json +59 -0
  80. package/css-sizing.json +42 -0
  81. package/css-speech.json +115 -0
  82. package/css-syntax.json +43 -0
  83. package/css-tables.json +5 -0
  84. package/css-text-4.json +161 -0
  85. package/css-text-decor-4.json +75 -0
  86. package/css-text-decor.json +32 -0
  87. package/css-text.json +70 -0
  88. package/css-transforms-2.json +37 -0
  89. package/css-transforms.json +26 -0
  90. package/css-transitions-2.json +4 -0
  91. package/css-transitions.json +9 -0
  92. package/css-ui.json +92 -0
  93. package/css-values-5.json +59 -0
  94. package/css-values.json +115 -0
  95. package/css-variables.json +2 -0
  96. package/css-view-transitions-2.json +8 -1
  97. package/css-view-transitions.json +15 -5
  98. package/css-viewport.json +43 -0
  99. package/css-will-change.json +6 -0
  100. package/css-writing-modes.json +26 -0
  101. package/fill-stroke.json +66 -0
  102. package/filter-effects-2.json +1 -0
  103. package/filter-effects.json +24 -0
  104. package/html.json +3 -0
  105. package/mathml-core.json +3 -0
  106. package/mediaqueries-5.json +121 -0
  107. package/mediaqueries.json +77 -0
  108. package/motion.json +32 -0
  109. package/package.json +1 -1
  110. package/scroll-animations.json +54 -0
  111. package/selectors.json +173 -72
  112. package/svg-strokes.json +3 -0
  113. package/upgrade-insecure-requests.json +2 -0
  114. package/webvtt.json +8 -4
@@ -9,11 +9,13 @@
9
9
  "values": [
10
10
  {
11
11
  "name": "<supports-feature>",
12
+ "href": "https://drafts.csswg.org/css-conditional-4/#typedef-supports-feature",
12
13
  "type": "type",
13
14
  "value": "<supports-selector-fn> | <supports-decl>"
14
15
  },
15
16
  {
16
17
  "name": "<supports-selector-fn>",
18
+ "href": "https://drafts.csswg.org/css-conditional-4/#typedef-supports-selector-fn",
17
19
  "type": "type",
18
20
  "value": "selector( <complex-selector> )"
19
21
  }
@@ -8,12 +8,14 @@
8
8
  {
9
9
  "name": "@when",
10
10
  "prose": "The @when at-rule is a conditional group rule that generalizes the individual conditional group rules such as @media and @supports. It is defined as:",
11
+ "href": "https://drafts.csswg.org/css-conditional-5/#at-ruledef-when",
11
12
  "descriptors": [],
12
13
  "value": "@when <boolean-condition> { <rule-list> }"
13
14
  },
14
15
  {
15
16
  "name": "@else",
16
17
  "prose": "The @else rule is a conditional group rule used to form conditional rule chains, which associate multiple conditional rules and guarantee that only the first one that matches will evaluate its condition as true. It is defined as:",
18
+ "href": "https://drafts.csswg.org/css-conditional-5/#at-ruledef-else",
17
19
  "descriptors": [],
18
20
  "value": "@else <boolean-condition>? { <rule-list> }"
19
21
  }
@@ -22,26 +24,31 @@
22
24
  "values": [
23
25
  {
24
26
  "name": "<supports-feature>",
27
+ "href": "https://drafts.csswg.org/css-conditional-5/#typedef-supports-feature",
25
28
  "type": "type",
26
29
  "value": "<supports-selector-fn> | <supports-font-tech-fn> | <supports-font-format-fn> | <supports-decl>"
27
30
  },
28
31
  {
29
32
  "name": "<supports-font-tech-fn>",
33
+ "href": "https://drafts.csswg.org/css-conditional-5/#typedef-supports-font-tech-fn",
30
34
  "type": "type",
31
35
  "value": "font-tech( <font-tech> )"
32
36
  },
33
37
  {
34
38
  "name": "<supports-font-format-fn>",
39
+ "href": "https://drafts.csswg.org/css-conditional-5/#typedef-supports-font-format-fn",
35
40
  "type": "type",
36
41
  "value": "font-format( <font-format> )"
37
42
  },
38
43
  {
39
44
  "name": "media()",
45
+ "href": "https://drafts.csswg.org/css-conditional-5/#funcdef-media",
40
46
  "type": "function",
41
47
  "value": "media( [ <mf-plain> | <mf-boolean> | <mf-range> ] )"
42
48
  },
43
49
  {
44
50
  "name": "supports()",
51
+ "href": "https://drafts.csswg.org/css-conditional-5/#funcdef-supports",
45
52
  "type": "function",
46
53
  "value": "supports( <declaration> )"
47
54
  }
@@ -8,12 +8,14 @@
8
8
  {
9
9
  "name": "@media",
10
10
  "prose": "The @media rule is a conditional group rule whose condition is a media query. Its syntax is:",
11
+ "href": "https://drafts.csswg.org/css-conditional-3/#at-ruledef-media",
11
12
  "descriptors": [],
12
13
  "value": "@media <media-query-list> { <rule-list> }"
13
14
  },
14
15
  {
15
16
  "name": "@supports",
16
17
  "prose": "The @supports rule is a conditional group rule whose condition tests whether the user agent supports CSS property:value pairs. Authors can use it to write style sheets that use new features when available but degrade gracefully when those features are not supported. These queries are called CSS feature queries or (colloquially) supports queries.",
18
+ "href": "https://drafts.csswg.org/css-conditional-3/#at-ruledef-supports",
17
19
  "descriptors": [],
18
20
  "value": "@supports <supports-condition> { <rule-list> }"
19
21
  }
@@ -22,21 +24,25 @@
22
24
  "values": [
23
25
  {
24
26
  "name": "<supports-condition>",
27
+ "href": "https://drafts.csswg.org/css-conditional-3/#typedef-supports-condition",
25
28
  "type": "type",
26
29
  "value": "not <supports-in-parens> | <supports-in-parens> [ and <supports-in-parens> ]* | <supports-in-parens> [ or <supports-in-parens> ]*"
27
30
  },
28
31
  {
29
32
  "name": "<supports-in-parens>",
33
+ "href": "https://drafts.csswg.org/css-conditional-3/#typedef-supports-in-parens",
30
34
  "type": "type",
31
35
  "value": "( <supports-condition> ) | <supports-feature> | <general-enclosed>"
32
36
  },
33
37
  {
34
38
  "name": "<supports-feature>",
39
+ "href": "https://drafts.csswg.org/css-conditional-3/#typedef-supports-feature",
35
40
  "type": "type",
36
41
  "value": "<supports-decl>"
37
42
  },
38
43
  {
39
44
  "name": "<supports-decl>",
45
+ "href": "https://drafts.csswg.org/css-conditional-3/#typedef-supports-decl",
40
46
  "type": "type",
41
47
  "value": "( <declaration> )"
42
48
  }
@@ -11,6 +11,7 @@
11
11
  {
12
12
  "name": "inline-size",
13
13
  "prose": "This value turns on inline-size containment for the element. This prevents the inline-size of its principal box from directly depending on its contents.",
14
+ "href": "https://drafts.csswg.org/css-contain-3/#valdef-contain-inline-size",
14
15
  "type": "value",
15
16
  "value": "inline-size"
16
17
  }
@@ -21,6 +22,7 @@
21
22
  },
22
23
  {
23
24
  "name": "container-type",
25
+ "href": "https://drafts.csswg.org/css-contain-3/#propdef-container-type",
24
26
  "value": "normal | size | inline-size",
25
27
  "initial": "normal",
26
28
  "appliesTo": "all elements",
@@ -33,18 +35,21 @@
33
35
  {
34
36
  "name": "size",
35
37
  "prose": "Establishes a query container for container size queries on both the inline and block axis. Applies layout containment, style containment, and size containment to the principal box.",
38
+ "href": "https://drafts.csswg.org/css-contain-3/#valdef-container-type-size",
36
39
  "type": "value",
37
40
  "value": "size"
38
41
  },
39
42
  {
40
43
  "name": "inline-size",
41
44
  "prose": "Establishes a query container for container size queries on the container’s own inline axis. Applies layout containment, style containment, and inline-size containment to the principal box.",
45
+ "href": "https://drafts.csswg.org/css-contain-3/#valdef-container-type-inline-size",
42
46
  "type": "value",
43
47
  "value": "inline-size"
44
48
  },
45
49
  {
46
50
  "name": "normal",
47
51
  "prose": "The element is not a query container for any container size queries, but remains a query container for container style queries.",
52
+ "href": "https://drafts.csswg.org/css-contain-3/#valdef-container-type-normal",
48
53
  "type": "value",
49
54
  "value": "normal"
50
55
  }
@@ -56,6 +61,7 @@
56
61
  },
57
62
  {
58
63
  "name": "container-name",
64
+ "href": "https://drafts.csswg.org/css-contain-3/#propdef-container-name",
59
65
  "value": "none | <custom-ident>+",
60
66
  "initial": "none",
61
67
  "appliesTo": "all elements",
@@ -68,12 +74,14 @@
68
74
  {
69
75
  "name": "none",
70
76
  "prose": "The query container has no query container name.",
77
+ "href": "https://drafts.csswg.org/css-contain-3/#valdef-container-name-none",
71
78
  "type": "value",
72
79
  "value": "none"
73
80
  },
74
81
  {
75
82
  "name": "<custom-ident>",
76
83
  "prose": "Specifies a query container name as an identifier. The keywords none, and, not, and or are excluded from this <custom-ident>.",
84
+ "href": "https://drafts.csswg.org/css-contain-3/#valdef-container-name-custom-ident",
77
85
  "type": "value",
78
86
  "value": "<custom-ident>"
79
87
  }
@@ -85,6 +93,7 @@
85
93
  },
86
94
  {
87
95
  "name": "container",
96
+ "href": "https://drafts.csswg.org/css-contain-3/#propdef-container",
88
97
  "value": "<'container-name'> [ / <'container-type'> ]?",
89
98
  "initial": "see individual properties",
90
99
  "appliesTo": "see individual properties",
@@ -99,6 +108,7 @@
99
108
  },
100
109
  {
101
110
  "name": "content-visibility",
111
+ "href": "https://drafts.csswg.org/css-contain-3/#propdef-content-visibility",
102
112
  "value": "visible | auto | hidden",
103
113
  "initial": "visible",
104
114
  "appliesTo": "elements for which size containment can apply",
@@ -117,39 +127,46 @@
117
127
  {
118
128
  "name": "@container",
119
129
  "prose": "The @container rule is a conditional group rule whose condition contains a container query, which is a boolean combination of container size queries and/or container style queries. Style declarations within the <block-contents> block of an @container rule are filtered by its condition to only match when the container query is true for their element’s query container.",
130
+ "href": "https://drafts.csswg.org/css-contain-3/#at-ruledef-container",
120
131
  "descriptors": [
121
132
  {
122
133
  "name": "width",
134
+ "href": "https://drafts.csswg.org/css-contain-3/#descdef-container-width",
123
135
  "for": "@container",
124
136
  "value": "<length>",
125
137
  "type": "range"
126
138
  },
127
139
  {
128
140
  "name": "height",
141
+ "href": "https://drafts.csswg.org/css-contain-3/#descdef-container-height",
129
142
  "for": "@container",
130
143
  "value": "<length>",
131
144
  "type": "range"
132
145
  },
133
146
  {
134
147
  "name": "inline-size",
148
+ "href": "https://drafts.csswg.org/css-contain-3/#descdef-container-inline-size",
135
149
  "for": "@container",
136
150
  "value": "<length>",
137
151
  "type": "range"
138
152
  },
139
153
  {
140
154
  "name": "block-size",
155
+ "href": "https://drafts.csswg.org/css-contain-3/#descdef-container-block-size",
141
156
  "for": "@container",
142
157
  "value": "<length>",
143
158
  "type": "range"
144
159
  },
145
160
  {
146
161
  "name": "aspect-ratio",
162
+ "href": "https://drafts.csswg.org/css-contain-3/#descdef-container-aspect-ratio",
147
163
  "for": "@container",
148
164
  "value": "<ratio>",
149
165
  "type": "range"
150
166
  },
151
167
  {
152
168
  "name": "orientation",
169
+ "href": "https://drafts.csswg.org/css-contain-3/#descdef-container-orientation",
153
170
  "for": "@container",
154
171
  "value": "portrait | landscape",
155
172
  "type": "discrete",
@@ -157,12 +174,14 @@
157
174
  {
158
175
  "name": "portrait",
159
176
  "prose": "The orientation container feature is portrait when the value of the height container feature is greater than or equal to the value of the width container feature.",
177
+ "href": "https://drafts.csswg.org/css-contain-3/#valdef-container-orientation-portrait",
160
178
  "type": "value",
161
179
  "value": "portrait"
162
180
  },
163
181
  {
164
182
  "name": "landscape",
165
183
  "prose": "Otherwise orientation is landscape.",
184
+ "href": "https://drafts.csswg.org/css-contain-3/#valdef-container-orientation-landscape",
166
185
  "type": "value",
167
186
  "value": "landscape"
168
187
  }
@@ -176,42 +195,50 @@
176
195
  "values": [
177
196
  {
178
197
  "name": "<container-condition>",
198
+ "href": "https://drafts.csswg.org/css-contain-3/#typedef-container-condition",
179
199
  "type": "type",
180
200
  "value": "[ <container-name> ]? <container-query>"
181
201
  },
182
202
  {
183
203
  "name": "<container-name>",
204
+ "href": "https://drafts.csswg.org/css-contain-3/#typedef-container-name",
184
205
  "type": "type",
185
206
  "value": "<custom-ident>"
186
207
  },
187
208
  {
188
209
  "name": "<container-query>",
210
+ "href": "https://drafts.csswg.org/css-contain-3/#typedef-container-query",
189
211
  "type": "type",
190
212
  "value": "not <query-in-parens> | <query-in-parens> [ [ and <query-in-parens> ]* | [ or <query-in-parens> ]* ]"
191
213
  },
192
214
  {
193
215
  "name": "<query-in-parens>",
216
+ "href": "https://drafts.csswg.org/css-contain-3/#typedef-query-in-parens",
194
217
  "type": "type",
195
218
  "value": "( <container-query> ) | ( <size-feature> ) | style( <style-query> ) | <general-enclosed>"
196
219
  },
197
220
  {
198
221
  "name": "<style-query>",
222
+ "href": "https://drafts.csswg.org/css-contain-3/#typedef-style-query",
199
223
  "type": "type",
200
224
  "value": "not <style-in-parens> | <style-in-parens> [ [ and <style-in-parens> ]* | [ or <style-in-parens> ]* ] | <style-feature>"
201
225
  },
202
226
  {
203
227
  "name": "<style-in-parens>",
228
+ "href": "https://drafts.csswg.org/css-contain-3/#typedef-style-in-parens",
204
229
  "type": "type",
205
230
  "value": "( <style-query> ) | ( <style-feature> ) | <general-enclosed>"
206
231
  },
207
232
  {
208
233
  "name": "<size-feature>",
209
234
  "prose": "A container size query allows querying the size of the query container’s principal box. It is a boolean combination of individual size features (<size-feature>) that each query a single, specific dimensional feature of the query container. The syntax of a <size-feature> is the same as for a media feature: a feature name, a comparator, and a value. [mediaqueries-5] The boolean syntax and logic combining size features into a size query is the same as for CSS feature queries. (See @supports. [CSS-CONDITIONAL-3])",
235
+ "href": "https://drafts.csswg.org/css-contain-3/#typedef-size-feature",
210
236
  "type": "type"
211
237
  },
212
238
  {
213
239
  "name": "<style-feature>",
214
240
  "prose": "A container style query allows querying the computed values of the query container. It is a boolean combination of individual style features (<style-feature>) that each query a single, specific property of the query container. The syntax of a <style-feature> is either the same as for a valid declaration [CSS-SYNTAX-3], a supported CSS property, or a <custom-property-name>.",
241
+ "href": "https://drafts.csswg.org/css-contain-3/#typedef-style-feature",
215
242
  "type": "type"
216
243
  }
217
244
  ]
package/css-contain.json CHANGED
@@ -6,6 +6,7 @@
6
6
  "properties": [
7
7
  {
8
8
  "name": "contain",
9
+ "href": "https://drafts.csswg.org/css-contain-2/#propdef-contain",
9
10
  "value": "none | strict | content | [ size || layout || style || paint ]",
10
11
  "initial": "none",
11
12
  "appliesTo": "See below",
@@ -18,42 +19,49 @@
18
19
  {
19
20
  "name": "none",
20
21
  "prose": "This value indicates that the property has no effect. The element renders as normal, with no containment effects applied.",
22
+ "href": "https://drafts.csswg.org/css-contain-2/#valdef-contain-none",
21
23
  "type": "value",
22
24
  "value": "none"
23
25
  },
24
26
  {
25
27
  "name": "strict",
26
28
  "prose": "This value computes to size layout paint style, and thus turns on all forms of containment for the element.",
29
+ "href": "https://drafts.csswg.org/css-contain-2/#valdef-contain-strict",
27
30
  "type": "value",
28
31
  "value": "strict"
29
32
  },
30
33
  {
31
34
  "name": "content",
32
35
  "prose": "This value computes to layout paint style, and thus turns on all forms of containment except size containment for the element.",
36
+ "href": "https://drafts.csswg.org/css-contain-2/#valdef-contain-content",
33
37
  "type": "value",
34
38
  "value": "content"
35
39
  },
36
40
  {
37
41
  "name": "size",
38
42
  "prose": "The value turns on size containment for the element. This ensures that the containment box can be laid out without needing to examine its descendants.",
43
+ "href": "https://drafts.csswg.org/css-contain-2/#valdef-contain-size",
39
44
  "type": "value",
40
45
  "value": "size"
41
46
  },
42
47
  {
43
48
  "name": "layout",
44
49
  "prose": "This value turns on layout containment for the element. This ensures that the containment box is totally opaque for layout purposes; nothing outside can affect its internal layout, and vice versa.",
50
+ "href": "https://drafts.csswg.org/css-contain-2/#valdef-contain-layout",
45
51
  "type": "value",
46
52
  "value": "layout"
47
53
  },
48
54
  {
49
55
  "name": "style",
50
56
  "prose": "This value turns on style containment for the element. This ensures that, for properties which can have effects on more than just an element and its descendants, those effects don’t escape the element.",
57
+ "href": "https://drafts.csswg.org/css-contain-2/#valdef-contain-style",
51
58
  "type": "value",
52
59
  "value": "style"
53
60
  },
54
61
  {
55
62
  "name": "paint",
56
63
  "prose": "This value turns on paint containment for the element. This ensures that the descendants of the containment box don’t display outside its bounds, so if an element is off-screen or otherwise not visible, its descendants are also guaranteed to be not visible.",
64
+ "href": "https://drafts.csswg.org/css-contain-2/#valdef-contain-paint",
57
65
  "type": "value",
58
66
  "value": "paint"
59
67
  }
@@ -64,6 +72,7 @@
64
72
  },
65
73
  {
66
74
  "name": "content-visibility",
75
+ "href": "https://drafts.csswg.org/css-contain-2/#propdef-content-visibility",
67
76
  "value": "visible | auto | hidden",
68
77
  "initial": "visible",
69
78
  "appliesTo": "elements for which size containment can apply",
@@ -76,18 +85,21 @@
76
85
  {
77
86
  "name": "visible",
78
87
  "prose": "No effect. The element’s contents are laid out and rendered as normal.",
88
+ "href": "https://drafts.csswg.org/css-contain-2/#valdef-content-visibility-visible",
79
89
  "type": "value",
80
90
  "value": "visible"
81
91
  },
82
92
  {
83
93
  "name": "hidden",
84
94
  "prose": "The element skips its contents. The skipped contents must not be accessible to user-agent features, such as find-in-page, tab-order navigation, etc., nor be selectable or focusable.",
95
+ "href": "https://drafts.csswg.org/css-contain-2/#valdef-content-visibility-hidden",
85
96
  "type": "value",
86
97
  "value": "hidden"
87
98
  },
88
99
  {
89
100
  "name": "auto",
90
101
  "prose": "Changes the used value of the contain property so as to turn on layout containment, style containment, and paint containment for the element. If the element is not relevant to the user, it also skips its contents. Unlike hidden, the skipped contents must still be available as normal to user-agent features such as find-in-page, tab order navigation, etc., and must be focusable and selectable as normal.",
102
+ "href": "https://drafts.csswg.org/css-contain-2/#valdef-content-visibility-auto",
91
103
  "type": "value",
92
104
  "value": "auto"
93
105
  }