@webref/css 4.1.0 → 4.2.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/SVG.json CHANGED
@@ -161,6 +161,34 @@
161
161
  "textAnchor"
162
162
  ]
163
163
  },
164
+ "fill": {
165
+ "name": "fill",
166
+ "value": "<paint>",
167
+ "initial": "black",
168
+ "appliesTo": "shapes and text content elements",
169
+ "inherited": "yes",
170
+ "percentages": "N/A",
171
+ "media": "visual",
172
+ "computedValue": "as specified, but with <color> values computed and <url> values made absolute",
173
+ "animationType": "by computed value",
174
+ "styleDeclaration": [
175
+ "fill"
176
+ ]
177
+ },
178
+ "stroke": {
179
+ "name": "stroke",
180
+ "value": "<paint>",
181
+ "initial": "none",
182
+ "appliesTo": "shapes and text content elements",
183
+ "inherited": "yes",
184
+ "percentages": "N/A",
185
+ "media": "visual",
186
+ "computedValue": "as specified, but with <color> values computed and <url> values made absolute",
187
+ "animationType": "by computed value",
188
+ "styleDeclaration": [
189
+ "stroke"
190
+ ]
191
+ },
164
192
  "marker-start": {
165
193
  "name": "marker-start",
166
194
  "value": "none | <marker-ref>",
@@ -280,6 +308,21 @@
280
308
  "textRendering"
281
309
  ]
282
310
  },
311
+ "pointer-events": {
312
+ "name": "pointer-events",
313
+ "value": "auto | bounding-box | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | none",
314
+ "initial": "auto",
315
+ "appliesTo": "container elements, graphics elements and ‘use’",
316
+ "inherited": "yes",
317
+ "percentages": "N/A",
318
+ "media": "visual",
319
+ "computedValue": "as specified",
320
+ "animationType": "discrete",
321
+ "styleDeclaration": [
322
+ "pointer-events",
323
+ "pointerEvents"
324
+ ]
325
+ },
283
326
  "stop-color": {
284
327
  "name": "stop-color",
285
328
  "styleDeclaration": [
@@ -33,7 +33,7 @@
33
33
  "appliesTo": "all elements",
34
34
  "inherited": "no",
35
35
  "percentages": "n/a",
36
- "computedValue": "a set of unique identifiers",
36
+ "computedValue": "the keyword none, or an ordered list of identifiers",
37
37
  "canonicalOrder": "per grammar",
38
38
  "animationType": "not animatable",
39
39
  "styleDeclaration": [
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "container": {
45
45
  "name": "container",
46
- "value": "<'container-name'>? [ / <'container-type'> ]?",
46
+ "value": "<'container-name'> [ / <'container-type'> ]?",
47
47
  "initial": "see individual properties",
48
48
  "appliesTo": "see individual properties",
49
49
  "inherited": "see individual properties",
package/css-flexbox.json CHANGED
@@ -4,13 +4,6 @@
4
4
  "url": "https://drafts.csswg.org/css-flexbox-1/"
5
5
  },
6
6
  "properties": {
7
- "display": {
8
- "name": "display",
9
- "newValues": "flex | inline-flex",
10
- "styleDeclaration": [
11
- "display"
12
- ]
13
- },
14
7
  "flex-direction": {
15
8
  "name": "flex-direction",
16
9
  "value": "row | row-reverse | column | column-reverse",
package/css-grid.json CHANGED
@@ -4,13 +4,6 @@
4
4
  "url": "https://drafts.csswg.org/css-grid-2/"
5
5
  },
6
6
  "properties": {
7
- "display": {
8
- "name": "display",
9
- "newValues": "grid | inline-grid",
10
- "styleDeclaration": [
11
- "display"
12
- ]
13
- },
14
7
  "grid-template-columns": {
15
8
  "name": "grid-template-columns",
16
9
  "value": "none | <track-list> | <auto-track-list> | subgrid <line-name-list>?",
package/css-logical.json CHANGED
@@ -4,40 +4,6 @@
4
4
  "url": "https://drafts.csswg.org/css-logical-1/"
5
5
  },
6
6
  "properties": {
7
- "caption-side": {
8
- "name": "caption-side",
9
- "newValues": "inline-start | inline-end",
10
- "computedValue": "specified keyword",
11
- "styleDeclaration": [
12
- "caption-side",
13
- "captionSide"
14
- ]
15
- },
16
- "float": {
17
- "name": "float",
18
- "newValues": "inline-start | inline-end",
19
- "computedValue": "specified keyword",
20
- "styleDeclaration": [
21
- "float"
22
- ]
23
- },
24
- "clear": {
25
- "name": "clear",
26
- "newValues": "inline-start | inline-end",
27
- "computedValue": "specified keyword",
28
- "styleDeclaration": [
29
- "clear"
30
- ]
31
- },
32
- "text-align": {
33
- "name": "text-align",
34
- "newValues": "start | end",
35
- "computedValue": "specified keyword",
36
- "styleDeclaration": [
37
- "text-align",
38
- "textAlign"
39
- ]
40
- },
41
7
  "block-size": {
42
8
  "name": "block-size",
43
9
  "value": "<'width'>",
package/css-ruby.json CHANGED
@@ -4,13 +4,6 @@
4
4
  "url": "https://drafts.csswg.org/css-ruby-1/"
5
5
  },
6
6
  "properties": {
7
- "display": {
8
- "name": "display",
9
- "newValues": "ruby | ruby-base | ruby-text | ruby-base-container | ruby-text-container",
10
- "styleDeclaration": [
11
- "display"
12
- ]
13
- },
14
7
  "ruby-position": {
15
8
  "name": "ruby-position",
16
9
  "value": "[ alternate || [ over | under ] ] | inter-character",
package/css-ui.json CHANGED
@@ -225,21 +225,6 @@
225
225
  "userSelect"
226
226
  ]
227
227
  },
228
- "pointer-events": {
229
- "name": "pointer-events",
230
- "value": "auto | none",
231
- "initial": "auto",
232
- "appliesTo": "all elements",
233
- "inherited": "yes",
234
- "percentages": "N/A",
235
- "computedValue": "specified keyword",
236
- "canonicalOrder": "per grammar",
237
- "animationType": "by computed value type",
238
- "styleDeclaration": [
239
- "pointer-events",
240
- "pointerEvents"
241
- ]
242
- },
243
228
  "accent-color": {
244
229
  "name": "accent-color",
245
230
  "value": "auto | <color>",
package/fill-stroke.json CHANGED
@@ -132,21 +132,6 @@
132
132
  "fillRepeat"
133
133
  ]
134
134
  },
135
- "fill": {
136
- "name": "fill",
137
- "value": "<'background'> with modifications",
138
- "initial": "See individual properties",
139
- "appliesTo": "See individual properties",
140
- "inherited": "See individual properties",
141
- "percentages": "N/A",
142
- "computedValue": "See individual properties",
143
- "canonicalOrder": "per grammar",
144
- "media": "visual",
145
- "animatable": "See individual properties",
146
- "styleDeclaration": [
147
- "fill"
148
- ]
149
- },
150
135
  "fill-opacity": {
151
136
  "name": "fill-opacity",
152
137
  "value": "<'opacity'>",
@@ -165,7 +150,7 @@
165
150
  },
166
151
  "stroke-width": {
167
152
  "name": "stroke-width",
168
- "value": "<length-percentage>#",
153
+ "value": "[<length-percentage> | <number>]#",
169
154
  "initial": "1px",
170
155
  "appliesTo": "text and SVG shapes",
171
156
  "inherited": "yes",
@@ -261,7 +246,7 @@
261
246
  },
262
247
  "stroke-dasharray": {
263
248
  "name": "stroke-dasharray",
264
- "value": "none | <length-percentage>+#",
249
+ "value": "none | [<length-percentage> | <number>]+#",
265
250
  "initial": "none",
266
251
  "appliesTo": "text and SVG shapes",
267
252
  "inherited": "yes",
@@ -277,7 +262,7 @@
277
262
  },
278
263
  "stroke-dashoffset": {
279
264
  "name": "stroke-dashoffset",
280
- "value": "<length-percentage>",
265
+ "value": "<length-percentage> | <number>",
281
266
  "initial": "0",
282
267
  "appliesTo": "text and SVG shapes",
283
268
  "inherited": "yes",
@@ -419,21 +404,6 @@
419
404
  "strokeRepeat"
420
405
  ]
421
406
  },
422
- "stroke": {
423
- "name": "stroke",
424
- "value": "<'background'> with modifications",
425
- "initial": "See individual properties",
426
- "appliesTo": "See individual properties",
427
- "inherited": "See individual properties",
428
- "percentages": "N/A",
429
- "computedValue": "See individual properties",
430
- "canonicalOrder": "per grammar",
431
- "media": "visual",
432
- "animatable": "See individual properties",
433
- "styleDeclaration": [
434
- "stroke"
435
- ]
436
- },
437
407
  "stroke-opacity": {
438
408
  "name": "stroke-opacity",
439
409
  "value": "<'opacity'>",
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.1.0",
4
+ "version": "4.2.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -1,22 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "Non-element Selectors Module Level 1",
4
- "url": "https://drafts.csswg.org/selectors-nonelement/"
5
- },
6
- "properties": {},
7
- "descriptors": {},
8
- "valuespaces": {
9
- "<::attr()>": {
10
- "value": "::attr( <namespace-attr>? )"
11
- },
12
- "<namespace-attr>": {
13
- "value": "[ <na-prefix>? '|' ]? <na-name>"
14
- },
15
- "<na-prefix>": {
16
- "value": "<ident> | '*'"
17
- },
18
- "<na-name>": {
19
- "value": "<ident> | '*'"
20
- }
21
- }
22
- }