@webref/css 6.22.0 → 7.0.0-alpha

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 (121) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +37 -22
  3. package/css.json +17754 -0
  4. package/index.js +2 -9
  5. package/package.json +1 -1
  6. package/CSS.json +0 -559
  7. package/SVG.json +0 -387
  8. package/compat.json +0 -784
  9. package/compositing.json +0 -178
  10. package/css-align.json +0 -559
  11. package/css-anchor-position.json +0 -1042
  12. package/css-animations-2.json +0 -377
  13. package/css-animations.json +0 -337
  14. package/css-backgrounds-4.json +0 -402
  15. package/css-backgrounds.json +0 -732
  16. package/css-borders.json +0 -1636
  17. package/css-box.json +0 -484
  18. package/css-break.json +0 -444
  19. package/css-cascade-6.json +0 -31
  20. package/css-cascade.json +0 -91
  21. package/css-color-5.json +0 -527
  22. package/css-color-6.json +0 -60
  23. package/css-color-adjust.json +0 -151
  24. package/css-color-hdr.json +0 -183
  25. package/css-color.json +0 -1759
  26. package/css-conditional-4.json +0 -23
  27. package/css-conditional-5.json +0 -505
  28. package/css-conditional.json +0 -50
  29. package/css-contain.json +0 -123
  30. package/css-content.json +0 -466
  31. package/css-counter-styles.json +0 -613
  32. package/css-display.json +0 -444
  33. package/css-easing.json +0 -149
  34. package/css-env.json +0 -109
  35. package/css-exclusions.json +0 -108
  36. package/css-extensions.json +0 -36
  37. package/css-flexbox.json +0 -259
  38. package/css-fonts-5.json +0 -385
  39. package/css-fonts.json +0 -1754
  40. package/css-forms.json +0 -263
  41. package/css-gaps.json +0 -544
  42. package/css-gcpm-4.json +0 -55
  43. package/css-gcpm.json +0 -138
  44. package/css-grid-3.json +0 -335
  45. package/css-grid.json +0 -824
  46. package/css-images-4.json +0 -367
  47. package/css-images-5.json +0 -43
  48. package/css-images.json +0 -373
  49. package/css-inline.json +0 -903
  50. package/css-layout-api.json +0 -21
  51. package/css-line-grid.json +0 -142
  52. package/css-link-params.json +0 -34
  53. package/css-lists.json +0 -337
  54. package/css-logical.json +0 -396
  55. package/css-masking.json +0 -717
  56. package/css-mixins.json +0 -52
  57. package/css-multicol.json +0 -252
  58. package/css-namespaces.json +0 -25
  59. package/css-nav.json +0 -121
  60. package/css-nesting.json +0 -16
  61. package/css-overflow-4.json +0 -428
  62. package/css-overflow-5.json +0 -223
  63. package/css-overflow.json +0 -379
  64. package/css-overscroll.json +0 -215
  65. package/css-page-floats.json +0 -296
  66. package/css-page.json +0 -382
  67. package/css-paint-api.json +0 -17
  68. package/css-position-4.json +0 -48
  69. package/css-position.json +0 -495
  70. package/css-properties-values-api.json +0 -39
  71. package/css-pseudo.json +0 -85
  72. package/css-regions.json +0 -59
  73. package/css-rhythm.json +0 -181
  74. package/css-round-display.json +0 -85
  75. package/css-ruby.json +0 -221
  76. package/css-scoping.json +0 -36
  77. package/css-scroll-anchoring.json +0 -43
  78. package/css-scroll-snap-2.json +0 -69
  79. package/css-scroll-snap.json +0 -643
  80. package/css-scrollbars.json +0 -82
  81. package/css-shadow-parts.json +0 -17
  82. package/css-shapes-2.json +0 -273
  83. package/css-shapes.json +0 -200
  84. package/css-size-adjust.json +0 -50
  85. package/css-sizing-4.json +0 -601
  86. package/css-sizing.json +0 -427
  87. package/css-speech.json +0 -985
  88. package/css-syntax.json +0 -263
  89. package/css-tables.json +0 -91
  90. package/css-text-4.json +0 -1516
  91. package/css-text-decor-4.json +0 -741
  92. package/css-text-decor.json +0 -337
  93. package/css-text.json +0 -670
  94. package/css-transforms-2.json +0 -329
  95. package/css-transforms.json +0 -213
  96. package/css-transitions-2.json +0 -47
  97. package/css-transitions.json +0 -119
  98. package/css-ui.json +0 -818
  99. package/css-values-5.json +0 -651
  100. package/css-values.json +0 -790
  101. package/css-variables.json +0 -29
  102. package/css-view-transitions-2.json +0 -151
  103. package/css-view-transitions.json +0 -76
  104. package/css-viewport.json +0 -43
  105. package/css-will-change.json +0 -64
  106. package/css-writing-modes.json +0 -256
  107. package/fill-stroke.json +0 -755
  108. package/filter-effects-2.json +0 -28
  109. package/filter-effects.json +0 -220
  110. package/html.json +0 -29
  111. package/mathml-core.json +0 -69
  112. package/mediaqueries-5.json +0 -915
  113. package/mediaqueries.json +0 -549
  114. package/motion.json +0 -303
  115. package/scroll-animations.json +0 -519
  116. package/selectors-5.json +0 -21
  117. package/selectors.json +0 -546
  118. package/svg-strokes.json +0 -59
  119. package/upgrade-insecure-requests.json +0 -28
  120. package/webvtt.json +0 -31
  121. package/webxr-dom-overlays.json +0 -16
@@ -1,21 +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
- "atrules": [],
8
- "selectors": [],
9
- "values": [],
10
- "warnings": [
11
- {
12
- "msg": "Dangling value",
13
- "name": "layout()",
14
- "prose": "This value causes an element to generate a layout API container box.",
15
- "href": "https://drafts.css-houdini.org/css-layout-api-1/#valdef-display-layout",
16
- "type": "value",
17
- "value": "layout()",
18
- "for": "display"
19
- }
20
- ]
21
- }
@@ -1,142 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "CSS Line Grid Module Level 1",
4
- "url": "https://drafts.csswg.org/css-line-grid-1/"
5
- },
6
- "properties": [
7
- {
8
- "name": "line-grid",
9
- "href": "https://drafts.csswg.org/css-line-grid-1/#propdef-line-grid",
10
- "value": "match-parent | create",
11
- "initial": "match-parent",
12
- "appliesTo": "block, flex and grid containers",
13
- "inherited": "no",
14
- "percentages": "N/A",
15
- "computedValue": "specified keyword",
16
- "canonicalOrder": "per grammar",
17
- "animationType": "discrete",
18
- "values": [
19
- {
20
- "name": "match-parent",
21
- "prose": "Box assumes the line grid of its parent if its writing mode is the same as its parent. If the box has a writing mode that is different than its parent, then the box creates a new line grid as create below.",
22
- "href": "https://drafts.csswg.org/css-line-grid-1/#valdef-line-grid-match-parent",
23
- "type": "value",
24
- "value": "match-parent"
25
- },
26
- {
27
- "name": "create",
28
- "prose": "Box creates a new line grid using its own font and line layout settings, including any adjustment to the line height caused by the line-height-step property. The line grid consists of a series of horizontal lines corresponding to all the baselines (alphabetic, text-top, text-bottom, mathematic, central, hanging, etc.) and to the line-over and line-under edges, positioned where they would fall if the contents of this element consisted entirely of line boxes filled with text (no sub-elements) using the first available font. If the box is paginated, the line grid is restarted on each page; since line boxes cannot be fragmented, no page begins with the bottom part of a line’s grid.",
29
- "href": "https://drafts.csswg.org/css-line-grid-1/#valdef-line-grid-create",
30
- "type": "value",
31
- "value": "create"
32
- }
33
- ],
34
- "styleDeclaration": [
35
- "line-grid",
36
- "lineGrid"
37
- ]
38
- },
39
- {
40
- "name": "line-snap",
41
- "href": "https://drafts.csswg.org/css-line-grid-1/#propdef-line-snap",
42
- "value": "none | baseline | contain",
43
- "initial": "none",
44
- "appliesTo": "block container elements",
45
- "inherited": "yes",
46
- "percentages": "N/A",
47
- "computedValue": "specified keyword",
48
- "canonicalOrder": "per grammar",
49
- "animationType": "discrete",
50
- "values": [
51
- {
52
- "name": "none",
53
- "prose": "Line boxes do not snap to the grid; they stack normally.",
54
- "href": "https://drafts.csswg.org/css-line-grid-1/#valdef-line-snap-none",
55
- "type": "value",
56
- "value": "none"
57
- },
58
- {
59
- "name": "baseline",
60
- "prose": "The dominant baseline snaps with the matching baseline on the line grid applying to the element.",
61
- "href": "https://drafts.csswg.org/css-line-grid-1/#valdef-line-snap-baseline",
62
- "type": "value",
63
- "value": "baseline"
64
- },
65
- {
66
- "name": "contain",
67
- "prose": "Two baselines are used to align the line box: the line box is snapped so that its central baseline is centered between one of the line grid’s text-over-edge baselines and a subsequent (but not necessarily consecutive) text-under-edge baseline.",
68
- "href": "https://drafts.csswg.org/css-line-grid-1/#valdef-line-snap-contain",
69
- "type": "value",
70
- "value": "contain"
71
- }
72
- ],
73
- "styleDeclaration": [
74
- "line-snap",
75
- "lineSnap"
76
- ]
77
- },
78
- {
79
- "name": "box-snap",
80
- "href": "https://drafts.csswg.org/css-line-grid-1/#propdef-box-snap",
81
- "value": "none | block-start | block-end | center | baseline | last-baseline",
82
- "initial": "none",
83
- "appliesTo": "block-level boxes and internal table elements except table cells",
84
- "inherited": "yes",
85
- "percentages": "N/A",
86
- "computedValue": "as specified",
87
- "canonicalOrder": "per grammar",
88
- "animationType": "discrete",
89
- "values": [
90
- {
91
- "name": "none",
92
- "prose": "The block is not snapped to any grid.",
93
- "href": "https://drafts.csswg.org/css-line-grid-1/#valdef-box-snap-none",
94
- "type": "value",
95
- "value": "none"
96
- },
97
- {
98
- "name": "block-start",
99
- "prose": "The block-start edge is snapped to the nearest grid line.",
100
- "href": "https://drafts.csswg.org/css-line-grid-1/#valdef-box-snap-block-start",
101
- "type": "value",
102
- "value": "block-start"
103
- },
104
- {
105
- "name": "block-end",
106
- "prose": "The block-end edge is snapped to the nearest grid line.",
107
- "href": "https://drafts.csswg.org/css-line-grid-1/#valdef-box-snap-block-end",
108
- "type": "value",
109
- "value": "block-end"
110
- },
111
- {
112
- "name": "center",
113
- "prose": "The block is centered between one of the baseline grid’s text-over baselines and a subsequent (but not necessarily consecutive) text-under baseline.",
114
- "href": "https://drafts.csswg.org/css-line-grid-1/#valdef-box-snap-center",
115
- "type": "value",
116
- "value": "center"
117
- },
118
- {
119
- "name": "baseline",
120
- "prose": "The first line box’s dominant baseline is snapped to the nearest grid line.",
121
- "href": "https://drafts.csswg.org/css-line-grid-1/#valdef-box-snap-baseline",
122
- "type": "value",
123
- "value": "baseline"
124
- },
125
- {
126
- "name": "last-baseline",
127
- "prose": "The last line box’s dominant baseline is snapped to the nearest grid line.",
128
- "href": "https://drafts.csswg.org/css-line-grid-1/#valdef-box-snap-last-baseline",
129
- "type": "value",
130
- "value": "last-baseline"
131
- }
132
- ],
133
- "styleDeclaration": [
134
- "box-snap",
135
- "boxSnap"
136
- ]
137
- }
138
- ],
139
- "atrules": [],
140
- "selectors": [],
141
- "values": []
142
- }
@@ -1,34 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "CSS Linked Parameters",
4
- "url": "https://drafts.csswg.org/css-link-params-1/"
5
- },
6
- "properties": [
7
- {
8
- "name": "link-parameters",
9
- "href": "https://drafts.csswg.org/css-link-params-1/#propdef-link-parameters",
10
- "value": "none | <link-param>+",
11
- "initial": "none",
12
- "appliesTo": "all elements and pseudo-elements",
13
- "inherited": "no",
14
- "percentages": "n/a",
15
- "computedValue": "as specified",
16
- "canonicalOrder": "per grammar",
17
- "animationType": "discrete",
18
- "styleDeclaration": [
19
- "link-parameters",
20
- "linkParameters"
21
- ]
22
- }
23
- ],
24
- "atrules": [],
25
- "selectors": [],
26
- "values": [
27
- {
28
- "name": "<link-param>",
29
- "href": "https://drafts.csswg.org/css-link-params-1/#typedef-link-param",
30
- "type": "type",
31
- "value": "param( <custom-property-name> <declaration-value>? )"
32
- }
33
- ]
34
- }
package/css-lists.json DELETED
@@ -1,337 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "CSS Lists and Counters Module Level 3",
4
- "url": "https://drafts.csswg.org/css-lists-3/"
5
- },
6
- "properties": [
7
- {
8
- "name": "list-style-image",
9
- "href": "https://drafts.csswg.org/css-lists-3/#propdef-list-style-image",
10
- "value": "<image> | none",
11
- "initial": "none",
12
- "appliesTo": "list items",
13
- "inherited": "yes",
14
- "percentages": "n/a",
15
- "computedValue": "the keyword noneor the computed <image>",
16
- "canonicalOrder": "per grammar",
17
- "animationType": "discrete",
18
- "values": [
19
- {
20
- "name": "<image>",
21
- "prose": "If the <image> represents a valid image, specifies the element’s marker image as the <image>. Otherwise, the element has no marker image.",
22
- "href": "https://drafts.csswg.org/css-lists-3/#valdef-list-style-image-image",
23
- "type": "value",
24
- "value": "<image>"
25
- },
26
- {
27
- "name": "none",
28
- "prose": "The element has no marker image.",
29
- "href": "https://drafts.csswg.org/css-lists-3/#valdef-list-style-image-none",
30
- "type": "value",
31
- "value": "none"
32
- }
33
- ],
34
- "styleDeclaration": [
35
- "list-style-image",
36
- "listStyleImage"
37
- ]
38
- },
39
- {
40
- "name": "list-style-type",
41
- "href": "https://drafts.csswg.org/css-lists-3/#propdef-list-style-type",
42
- "value": "<counter-style> | <string> | none",
43
- "initial": "disc",
44
- "appliesTo": "list items",
45
- "inherited": "yes",
46
- "percentages": "n/a",
47
- "computedValue": "specified value",
48
- "canonicalOrder": "per grammar",
49
- "animationType": "discrete",
50
- "values": [
51
- {
52
- "name": "<counter-style>",
53
- "prose": "Specifies the element’s marker string as the value of the list-item counter represented using the specified <counter-style>. Specifically, the marker string is the result of generating a counter representation of the list-item counter value using the specified <counter-style>, prefixed by the prefix of the <counter-style>, and followed by the suffix of the <counter-style>. If the specified <counter-style> does not exist, decimal is assumed.",
54
- "href": "https://drafts.csswg.org/css-lists-3/#valdef-list-style-type-counter-style",
55
- "type": "value",
56
- "value": "<counter-style>"
57
- },
58
- {
59
- "name": "<string>",
60
- "prose": "The element’s marker string is the specified <string>.",
61
- "href": "https://drafts.csswg.org/css-lists-3/#valdef-list-style-type-string",
62
- "type": "value",
63
- "value": "<string>"
64
- },
65
- {
66
- "name": "none",
67
- "prose": "The element has no marker string.",
68
- "href": "https://drafts.csswg.org/css-lists-3/#valdef-list-style-type-none",
69
- "type": "value",
70
- "value": "none"
71
- }
72
- ],
73
- "styleDeclaration": [
74
- "list-style-type",
75
- "listStyleType"
76
- ]
77
- },
78
- {
79
- "name": "list-style-position",
80
- "href": "https://drafts.csswg.org/css-lists-3/#propdef-list-style-position",
81
- "value": "inside | outside",
82
- "initial": "outside",
83
- "appliesTo": "list items",
84
- "inherited": "yes",
85
- "percentages": "n/a",
86
- "computedValue": "keyword, but see prose",
87
- "canonicalOrder": "per grammar",
88
- "animationType": "discrete",
89
- "values": [
90
- {
91
- "name": "inside",
92
- "prose": "No special effect. (The ::marker is an inline element at the start of the list item’s contents.)",
93
- "href": "https://drafts.csswg.org/css-lists-3/#valdef-list-style-position-inside",
94
- "type": "value",
95
- "value": "inside"
96
- },
97
- {
98
- "name": "outside",
99
- "prose": "If the list item is a block container: the marker box is a block container and is placed outside the principal block box; however, the position of the list-item marker adjacent to floats is undefined. CSS does not specify the precise location of the marker box or its position in the painting order, but does require that it be placed on the inline-start side of the box, using the writing mode of the box indicated by marker-side. The marker box is fixed with respect to the principal block box’s border and does not scroll with the principal box’s content. A UA may hide the marker if the element’s overflow is other than visible. (This allowance may change in the future.) The size or contents of the marker box may affect the height of the principal block box and/or the height of its first line box, and in some cases may cause the creation of a new line box; this interaction is also not defined. This is handwavey nonsense from CSS2, and needs a real definition. If the list item is an inline box: this value is equivalent to inside. Alternatively, outside could lay out the marker as a previous sibling of the principal inline box.",
100
- "href": "https://drafts.csswg.org/css-lists-3/#list-style-position-outside",
101
- "type": "value",
102
- "value": "outside"
103
- }
104
- ],
105
- "styleDeclaration": [
106
- "list-style-position",
107
- "listStylePosition"
108
- ]
109
- },
110
- {
111
- "name": "list-style",
112
- "href": "https://drafts.csswg.org/css-lists-3/#propdef-list-style",
113
- "value": "<'list-style-position'> || <'list-style-image'> || <'list-style-type'>",
114
- "initial": "see individual properties",
115
- "appliesTo": "list items",
116
- "inherited": "see individual properties",
117
- "percentages": "see individual properties",
118
- "computedValue": "see individual properties",
119
- "animationType": "see individual properties",
120
- "canonicalOrder": "per grammar",
121
- "styleDeclaration": [
122
- "list-style",
123
- "listStyle"
124
- ]
125
- },
126
- {
127
- "name": "marker-side",
128
- "href": "https://drafts.csswg.org/css-lists-3/#propdef-marker-side",
129
- "value": "match-self | match-parent",
130
- "initial": "match-self",
131
- "appliesTo": "list items",
132
- "inherited": "yes",
133
- "percentages": "n/a",
134
- "computedValue": "specified keyword",
135
- "canonicalOrder": "per grammar",
136
- "animationType": "discrete",
137
- "values": [
138
- {
139
- "name": "match-self",
140
- "prose": "The marker box is positioned using the directionality of the ::marker’s originating element.",
141
- "href": "https://drafts.csswg.org/css-lists-3/#valdef-marker-side-match-self",
142
- "type": "value",
143
- "value": "match-self"
144
- },
145
- {
146
- "name": "match-parent",
147
- "prose": "The marker box is positioned using the directionality of the ::marker’s originating element’s parent element.",
148
- "href": "https://drafts.csswg.org/css-lists-3/#valdef-marker-side-match-parent",
149
- "type": "value",
150
- "value": "match-parent"
151
- }
152
- ],
153
- "styleDeclaration": [
154
- "marker-side",
155
- "markerSide"
156
- ]
157
- },
158
- {
159
- "name": "counter-reset",
160
- "href": "https://drafts.csswg.org/css-lists-3/#propdef-counter-reset",
161
- "value": "[ <counter-name> <integer>? | <reversed-counter-name> <integer>? ]+ | none",
162
- "initial": "none",
163
- "appliesTo": "all elements",
164
- "inherited": "no",
165
- "percentages": "n/a",
166
- "computedValue": "the keyword none or a list, each item an identifier or a reversed() function paired with an integer",
167
- "canonicalOrder": "per grammar",
168
- "animationType": "by computed value type",
169
- "values": [
170
- {
171
- "name": "none",
172
- "prose": "This element does not create any new counters.",
173
- "href": "https://drafts.csswg.org/css-lists-3/#valdef-counter-reset-none",
174
- "type": "value",
175
- "value": "none"
176
- },
177
- {
178
- "name": "<counter-name> <integer>?",
179
- "prose": "Instantiates a counter of the given <counter-name> with a starting value of the given <integer>, defaulting to 0.",
180
- "href": "https://drafts.csswg.org/css-lists-3/#valdef-counter-reset-counter-name-integer",
181
- "type": "value",
182
- "value": "<counter-name> <integer>?"
183
- },
184
- {
185
- "name": "<reversed-counter-name> <integer>?",
186
- "prose": "Instantiates a reversed counter of the given <counter-name> with a starting value of the given <integer>, or no starting value if not given.",
187
- "href": "https://drafts.csswg.org/css-lists-3/#valdef-counter-reset-reversed-counter-name-integer",
188
- "type": "value",
189
- "value": "<reversed-counter-name> <integer>?"
190
- },
191
- {
192
- "name": "list-item",
193
- "prose": "In addition to any explicitly defined counters that authors write in their styles, list items automatically increment a special list-item counter, which is used when generating the default marker string on list items (see list-style-type).",
194
- "href": "https://drafts.csswg.org/css-lists-3/#valdef-counter-increment-list-item",
195
- "type": "value",
196
- "value": "list-item"
197
- }
198
- ],
199
- "styleDeclaration": [
200
- "counter-reset",
201
- "counterReset"
202
- ]
203
- },
204
- {
205
- "name": "counter-increment",
206
- "href": "https://drafts.csswg.org/css-lists-3/#propdef-counter-increment",
207
- "value": "[ <counter-name> <integer>? ]+ | none",
208
- "initial": "none",
209
- "appliesTo": "all elements",
210
- "inherited": "no",
211
- "percentages": "n/a",
212
- "computedValue": "the keyword none or a list, each item an identifier paired with an integer",
213
- "canonicalOrder": "per grammar",
214
- "animationType": "by computed value type",
215
- "values": [
216
- {
217
- "name": "none",
218
- "prose": "This element does not alter the value of any counters.",
219
- "href": "https://drafts.csswg.org/css-lists-3/#valdef-counter-set-none",
220
- "type": "value",
221
- "value": "none"
222
- },
223
- {
224
- "name": "<counter-name> <integer>?",
225
- "prose": "Sets (for counter-set) or increments (for counter-increment) the value of the named counter on the element to/by the specified <integer>. If the <integer> is omitted, it defaults to 1 (for counter-increment) or 0 (for counter-set). If there is not currently a counter of the given name on the element, the element instantiates a new counter of the given name with a starting value of 0 before setting or incrementing its value.",
226
- "href": "https://drafts.csswg.org/css-lists-3/#valdef-counter-set-counter-name-integer",
227
- "type": "value",
228
- "value": "<counter-name> <integer>?"
229
- },
230
- {
231
- "name": "list-item",
232
- "prose": "In addition to any explicitly defined counters that authors write in their styles, list items automatically increment a special list-item counter, which is used when generating the default marker string on list items (see list-style-type).",
233
- "href": "https://drafts.csswg.org/css-lists-3/#valdef-counter-increment-list-item",
234
- "type": "value",
235
- "value": "list-item"
236
- }
237
- ],
238
- "styleDeclaration": [
239
- "counter-increment",
240
- "counterIncrement"
241
- ]
242
- },
243
- {
244
- "name": "counter-set",
245
- "href": "https://drafts.csswg.org/css-lists-3/#propdef-counter-set",
246
- "value": "[ <counter-name> <integer>? ]+ | none",
247
- "initial": "none",
248
- "appliesTo": "all elements",
249
- "inherited": "no",
250
- "percentages": "n/a",
251
- "computedValue": "the keyword none or a list, each item an identifier paired with an integer",
252
- "canonicalOrder": "per grammar",
253
- "animationType": "by computed value type",
254
- "values": [
255
- {
256
- "name": "none",
257
- "prose": "This element does not alter the value of any counters.",
258
- "href": "https://drafts.csswg.org/css-lists-3/#valdef-counter-set-none",
259
- "type": "value",
260
- "value": "none"
261
- },
262
- {
263
- "name": "<counter-name> <integer>?",
264
- "prose": "Sets (for counter-set) or increments (for counter-increment) the value of the named counter on the element to/by the specified <integer>. If the <integer> is omitted, it defaults to 1 (for counter-increment) or 0 (for counter-set). If there is not currently a counter of the given name on the element, the element instantiates a new counter of the given name with a starting value of 0 before setting or incrementing its value.",
265
- "href": "https://drafts.csswg.org/css-lists-3/#valdef-counter-set-counter-name-integer",
266
- "type": "value",
267
- "value": "<counter-name> <integer>?"
268
- },
269
- {
270
- "name": "list-item",
271
- "prose": "In addition to any explicitly defined counters that authors write in their styles, list items automatically increment a special list-item counter, which is used when generating the default marker string on list items (see list-style-type).",
272
- "href": "https://drafts.csswg.org/css-lists-3/#valdef-counter-increment-list-item",
273
- "type": "value",
274
- "value": "list-item"
275
- }
276
- ],
277
- "styleDeclaration": [
278
- "counter-set",
279
- "counterSet"
280
- ]
281
- }
282
- ],
283
- "atrules": [],
284
- "selectors": [],
285
- "values": [
286
- {
287
- "name": "<counter-name>",
288
- "prose": "Counters are referred to in CSS syntax using the <counter-name> type, which represents their name as a <custom-ident>. A <counter-name> name cannot match the keyword none; such an identifier is invalid as a <counter-name>.",
289
- "href": "https://drafts.csswg.org/css-lists-3/#typedef-counter-name",
290
- "type": "type"
291
- },
292
- {
293
- "name": "<reversed-counter-name>",
294
- "href": "https://drafts.csswg.org/css-lists-3/#typedef-reversed-counter-name",
295
- "type": "type",
296
- "value": "reversed( <counter-name> )"
297
- },
298
- {
299
- "name": "counter()",
300
- "prose": "Counters have no visible effect by themselves, but their values can be used with the counter() and counters() functions, whose used values represent counter values as strings or images. They are defined as follows:",
301
- "href": "https://drafts.csswg.org/css-lists-3/#funcdef-counter",
302
- "type": "function",
303
- "value": "counter( <counter-name>, <counter-style>? )",
304
- "values": [
305
- {
306
- "name": "list-item",
307
- "prose": "In addition to any explicitly defined counters that authors write in their styles, list items automatically increment a special list-item counter, which is used when generating the default marker string on list items (see list-style-type).",
308
- "href": "https://drafts.csswg.org/css-lists-3/#valdef-counter-increment-list-item",
309
- "type": "value",
310
- "value": "list-item"
311
- }
312
- ]
313
- },
314
- {
315
- "name": "counters()",
316
- "prose": "Counters have no visible effect by themselves, but their values can be used with the counter() and counters() functions, whose used values represent counter values as strings or images. They are defined as follows:",
317
- "href": "https://drafts.csswg.org/css-lists-3/#funcdef-counters",
318
- "type": "function",
319
- "value": "counters( <counter-name>, <string>, <counter-style>? )",
320
- "values": [
321
- {
322
- "name": "list-item",
323
- "prose": "In addition to any explicitly defined counters that authors write in their styles, list items automatically increment a special list-item counter, which is used when generating the default marker string on list items (see list-style-type).",
324
- "href": "https://drafts.csswg.org/css-lists-3/#valdef-counter-increment-list-item",
325
- "type": "value",
326
- "value": "list-item"
327
- }
328
- ]
329
- },
330
- {
331
- "name": "<counter>",
332
- "href": "https://drafts.csswg.org/css-lists-3/#typedef-counter",
333
- "type": "type",
334
- "value": "<counter()> | <counters()>"
335
- }
336
- ]
337
- }