@webref/css 3.0.7 → 3.0.8

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/css-color.json CHANGED
@@ -57,16 +57,16 @@
57
57
  "value": "hwb( [<hue> | none] [<percentage> | none] [<percentage> | none] [ / [<alpha-value> | none] ]? )"
58
58
  },
59
59
  "<lab()>": {
60
- "value": "lab( [<percentage> | none] [<number> | none] [<number> | none] [ / [<alpha-value> | none] ]? )"
60
+ "value": "lab( [<percentage> | <number> | none] [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ / [<alpha-value> | none] ]? )"
61
61
  },
62
62
  "<lch()>": {
63
- "value": "lch( [<percentage> | none] [<number> | none] [<hue> | none] [ / [<alpha-value> | none] ]? )"
63
+ "value": "lch( [<percentage> | <number> | none] [ <percentage> | <number> | none] [ <hue> | none] [ / [<alpha-value> | none] ]? )"
64
64
  },
65
65
  "<oklab()>": {
66
- "value": "oklab( [<percentage> | none] [<number> | none] [<number> | none] [ / [<alpha-value> | none] ]? )"
66
+ "value": "oklab( [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ / [<alpha-value> | none] ]? )"
67
67
  },
68
68
  "<oklch()>": {
69
- "value": "oklch( [<percentage> | none] [<number> | none] [<hue> | none] [ / [<alpha-value> | none] ]? )"
69
+ "value": "oklch( [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ <hue> | none] [ / [<alpha-value> | none] ]? )"
70
70
  },
71
71
  "<color()>": {
72
72
  "value": "color( <colorspace-params> [ / <alpha-value> ]? )"
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "container-name": {
30
30
  "name": "container-name",
31
- "value": "none | [ <custom-ident> | <string> ]+",
31
+ "value": "none | <custom-ident>+",
32
32
  "initial": "none",
33
33
  "appliesTo": "all elements",
34
34
  "inherited": "no",
package/css-text-4.json CHANGED
@@ -4,6 +4,21 @@
4
4
  "url": "https://drafts.csswg.org/css-text-4/"
5
5
  },
6
6
  "properties": {
7
+ "text-transform": {
8
+ "name": "text-transform",
9
+ "value": "none | [capitalize | uppercase | lowercase ] || full-width || full-size-kana",
10
+ "initial": "none",
11
+ "appliesTo": "text",
12
+ "inherited": "yes",
13
+ "percentages": "n/a",
14
+ "computedValue": "specified keyword",
15
+ "canonicalOrder": "n/a",
16
+ "animationType": "discrete",
17
+ "styleDeclaration": [
18
+ "text-transform",
19
+ "textTransform"
20
+ ]
21
+ },
7
22
  "word-boundary-detection": {
8
23
  "name": "word-boundary-detection",
9
24
  "value": "normal | manual | auto(<lang>)",
@@ -34,6 +49,21 @@
34
49
  "wordBoundaryExpansion"
35
50
  ]
36
51
  },
52
+ "white-space": {
53
+ "name": "white-space",
54
+ "value": "normal | pre | nowrap | pre-wrap | break-spaces | pre-line",
55
+ "initial": "normal",
56
+ "appliesTo": "text",
57
+ "inherited": "yes",
58
+ "percentages": "n/a",
59
+ "computedValue": "specified keyword",
60
+ "canonicalOrder": "n/a",
61
+ "animationType": "discrete",
62
+ "styleDeclaration": [
63
+ "white-space",
64
+ "whiteSpace"
65
+ ]
66
+ },
37
67
  "text-space-collapse": {
38
68
  "name": "text-space-collapse",
39
69
  "value": "collapse | discard | preserve | preserve-breaks | preserve-spaces",
@@ -64,79 +94,63 @@
64
94
  "textSpaceTrim"
65
95
  ]
66
96
  },
67
- "text-wrap": {
68
- "name": "text-wrap",
69
- "value": "wrap | nowrap | balance | stable | pretty",
70
- "initial": "wrap",
71
- "appliesTo": "text and block containers",
97
+ "tab-size": {
98
+ "name": "tab-size",
99
+ "value": "<number> | <length>",
100
+ "initial": "8",
101
+ "appliesTo": "text",
72
102
  "inherited": "yes",
73
103
  "percentages": "n/a",
74
- "computedValue": "specified keyword",
75
- "canonicalOrder": "per grammar",
76
- "animationType": "discrete",
77
- "styleDeclaration": [
78
- "text-wrap",
79
- "textWrap"
80
- ]
81
- },
82
- "wrap-before": {
83
- "name": "wrap-before",
84
- "value": "auto | avoid | avoid-line | avoid-flex | line | flex",
85
- "initial": "auto",
86
- "appliesTo": "inline-level boxes and flex items",
87
- "inherited": "no",
88
- "percentages": "n/a",
89
- "computedValue": "specified keyword",
90
- "canonicalOrder": "per grammar",
91
- "animationType": "discrete",
104
+ "computedValue": "the specified number or absolute length",
105
+ "canonicalOrder": "n/a",
106
+ "animationType": "by computed value type",
92
107
  "styleDeclaration": [
93
- "wrap-before",
94
- "wrapBefore"
108
+ "tab-size",
109
+ "tabSize"
95
110
  ]
96
111
  },
97
- "wrap-after": {
98
- "name": "wrap-after",
99
- "value": "auto | avoid | avoid-line | avoid-flex | line | flex",
100
- "initial": "auto",
101
- "appliesTo": "inline-level boxes and flex items",
102
- "inherited": "no",
112
+ "word-break": {
113
+ "name": "word-break",
114
+ "value": "normal | keep-all | break-all | break-word",
115
+ "initial": "normal",
116
+ "appliesTo": "text",
117
+ "inherited": "yes",
103
118
  "percentages": "n/a",
104
119
  "computedValue": "specified keyword",
105
- "canonicalOrder": "per grammar",
120
+ "canonicalOrder": "n/a",
106
121
  "animationType": "discrete",
107
122
  "styleDeclaration": [
108
- "wrap-after",
109
- "wrapAfter"
123
+ "word-break",
124
+ "wordBreak"
110
125
  ]
111
126
  },
112
- "wrap-inside": {
113
- "name": "wrap-inside",
114
- "value": "auto | avoid",
127
+ "line-break": {
128
+ "name": "line-break",
129
+ "value": "auto | loose | normal | strict | anywhere",
115
130
  "initial": "auto",
116
- "appliesTo": "inline boxes",
117
- "inherited": "no",
131
+ "appliesTo": "text",
132
+ "inherited": "yes",
118
133
  "percentages": "n/a",
119
134
  "computedValue": "specified keyword",
120
- "canonicalOrder": "per grammar",
135
+ "canonicalOrder": "n/a",
121
136
  "animationType": "discrete",
122
137
  "styleDeclaration": [
123
- "wrap-inside",
124
- "wrapInside"
138
+ "line-break",
139
+ "lineBreak"
125
140
  ]
126
141
  },
127
- "white-space": {
128
- "name": "white-space",
129
- "value": "normal | pre | nowrap | pre-wrap | pre-line",
130
- "initial": "auto",
131
- "appliesTo": "See individual properties",
142
+ "hyphens": {
143
+ "name": "hyphens",
144
+ "value": "none | manual | auto",
145
+ "initial": "manual",
146
+ "appliesTo": "text",
132
147
  "inherited": "yes",
133
148
  "percentages": "n/a",
134
- "computedValue": "see individual properties",
149
+ "computedValue": "specified keyword",
150
+ "canonicalOrder": "n/a",
135
151
  "animationType": "discrete",
136
- "canonicalOrder": "per grammar",
137
152
  "styleDeclaration": [
138
- "white-space",
139
- "whiteSpace"
153
+ "hyphens"
140
154
  ]
141
155
  },
142
156
  "hyphenate-character": {
@@ -214,6 +228,156 @@
214
228
  "hyphenateLimitLast"
215
229
  ]
216
230
  },
231
+ "overflow-wrap": {
232
+ "name": "overflow-wrap",
233
+ "value": "normal | break-word | anywhere",
234
+ "initial": "normal",
235
+ "appliesTo": "text",
236
+ "inherited": "yes",
237
+ "percentages": "n/a",
238
+ "computedValue": "specified keyword",
239
+ "canonicalOrder": "n/a",
240
+ "animationType": "discrete",
241
+ "styleDeclaration": [
242
+ "overflow-wrap",
243
+ "overflowWrap"
244
+ ]
245
+ },
246
+ "word-wrap": {
247
+ "name": "word-wrap",
248
+ "value": "normal | break-word | anywhere",
249
+ "initial": "normal",
250
+ "appliesTo": "text",
251
+ "inherited": "yes",
252
+ "percentages": "n/a",
253
+ "computedValue": "specified keyword",
254
+ "canonicalOrder": "n/a",
255
+ "animationType": "discrete",
256
+ "styleDeclaration": [
257
+ "word-wrap",
258
+ "wordWrap"
259
+ ]
260
+ },
261
+ "text-wrap": {
262
+ "name": "text-wrap",
263
+ "value": "wrap | nowrap | balance | stable | pretty",
264
+ "initial": "wrap",
265
+ "appliesTo": "text and block containers",
266
+ "inherited": "yes",
267
+ "percentages": "n/a",
268
+ "computedValue": "specified keyword",
269
+ "canonicalOrder": "per grammar",
270
+ "animationType": "discrete",
271
+ "styleDeclaration": [
272
+ "text-wrap",
273
+ "textWrap"
274
+ ]
275
+ },
276
+ "wrap-before": {
277
+ "name": "wrap-before",
278
+ "value": "auto | avoid | avoid-line | avoid-flex | line | flex",
279
+ "initial": "auto",
280
+ "appliesTo": "inline-level boxes and flex items",
281
+ "inherited": "no",
282
+ "percentages": "n/a",
283
+ "computedValue": "specified keyword",
284
+ "canonicalOrder": "per grammar",
285
+ "animationType": "discrete",
286
+ "styleDeclaration": [
287
+ "wrap-before",
288
+ "wrapBefore"
289
+ ]
290
+ },
291
+ "wrap-after": {
292
+ "name": "wrap-after",
293
+ "value": "auto | avoid | avoid-line | avoid-flex | line | flex",
294
+ "initial": "auto",
295
+ "appliesTo": "inline-level boxes and flex items",
296
+ "inherited": "no",
297
+ "percentages": "n/a",
298
+ "computedValue": "specified keyword",
299
+ "canonicalOrder": "per grammar",
300
+ "animationType": "discrete",
301
+ "styleDeclaration": [
302
+ "wrap-after",
303
+ "wrapAfter"
304
+ ]
305
+ },
306
+ "wrap-inside": {
307
+ "name": "wrap-inside",
308
+ "value": "auto | avoid",
309
+ "initial": "auto",
310
+ "appliesTo": "inline boxes",
311
+ "inherited": "no",
312
+ "percentages": "n/a",
313
+ "computedValue": "specified keyword",
314
+ "canonicalOrder": "per grammar",
315
+ "animationType": "discrete",
316
+ "styleDeclaration": [
317
+ "wrap-inside",
318
+ "wrapInside"
319
+ ]
320
+ },
321
+ "text-align": {
322
+ "name": "text-align",
323
+ "value": "start | end | left | right | center | <string> | justify | match-parent | justify-all",
324
+ "initial": "start",
325
+ "appliesTo": "block containers",
326
+ "inherited": "yes",
327
+ "percentages": "see individual properties",
328
+ "computedValue": "see individual properties",
329
+ "animationType": "discrete",
330
+ "canonicalOrder": "n/a",
331
+ "styleDeclaration": [
332
+ "text-align",
333
+ "textAlign"
334
+ ]
335
+ },
336
+ "text-align-all": {
337
+ "name": "text-align-all",
338
+ "value": "start | end | left | right | center | justify | match-parent",
339
+ "initial": "start",
340
+ "appliesTo": "block containers",
341
+ "inherited": "yes",
342
+ "percentages": "n/a",
343
+ "computedValue": "keyword as specified, except for match-parent which computes as defined above",
344
+ "canonicalOrder": "n/a",
345
+ "animationType": "discrete",
346
+ "styleDeclaration": [
347
+ "text-align-all",
348
+ "textAlignAll"
349
+ ]
350
+ },
351
+ "text-align-last": {
352
+ "name": "text-align-last",
353
+ "value": "auto | start | end | left | right | center | justify | match-parent",
354
+ "initial": "auto",
355
+ "appliesTo": "block containers",
356
+ "inherited": "yes",
357
+ "percentages": "n/a",
358
+ "computedValue": "specified keyword",
359
+ "canonicalOrder": "n/a",
360
+ "animationType": "discrete",
361
+ "styleDeclaration": [
362
+ "text-align-last",
363
+ "textAlignLast"
364
+ ]
365
+ },
366
+ "text-justify": {
367
+ "name": "text-justify",
368
+ "value": "auto | none | inter-word | inter-character",
369
+ "initial": "auto",
370
+ "appliesTo": "text",
371
+ "inherited": "yes",
372
+ "percentages": "n/a",
373
+ "computedValue": "specified keyword (except for the distribute legacy value)",
374
+ "canonicalOrder": "n/a",
375
+ "animationType": "discrete",
376
+ "styleDeclaration": [
377
+ "text-justify",
378
+ "textJustify"
379
+ ]
380
+ },
217
381
  "text-group-align": {
218
382
  "name": "text-group-align",
219
383
  "value": "none | start | end | left | right | center",
@@ -229,6 +393,36 @@
229
393
  "textGroupAlign"
230
394
  ]
231
395
  },
396
+ "word-spacing": {
397
+ "name": "word-spacing",
398
+ "value": "normal | <length>",
399
+ "initial": "normal",
400
+ "appliesTo": "text",
401
+ "inherited": "yes",
402
+ "percentages": "N/A",
403
+ "computedValue": "an absolute length",
404
+ "canonicalOrder": "n/a",
405
+ "animationType": "by computed value type",
406
+ "styleDeclaration": [
407
+ "word-spacing",
408
+ "wordSpacing"
409
+ ]
410
+ },
411
+ "letter-spacing": {
412
+ "name": "letter-spacing",
413
+ "value": "normal | <length>",
414
+ "initial": "normal",
415
+ "appliesTo": "inline boxes and text",
416
+ "inherited": "yes",
417
+ "percentages": "n/a",
418
+ "computedValue": "an absolute length",
419
+ "canonicalOrder": "n/a",
420
+ "animationType": "by computed value type",
421
+ "styleDeclaration": [
422
+ "letter-spacing",
423
+ "letterSpacing"
424
+ ]
425
+ },
232
426
  "line-padding": {
233
427
  "name": "line-padding",
234
428
  "value": "<length>",
@@ -258,12 +452,48 @@
258
452
  "text-spacing",
259
453
  "textSpacing"
260
454
  ]
455
+ },
456
+ "text-indent": {
457
+ "name": "text-indent",
458
+ "value": "[ <length-percentage> ] && hanging? && each-line?",
459
+ "initial": "0",
460
+ "appliesTo": "block containers",
461
+ "inherited": "yes",
462
+ "percentages": "refers to block container’s own inline-axis inner size",
463
+ "computedValue": "computed <length-percentage> value, plus any specified keywords",
464
+ "canonicalOrder": "per grammar",
465
+ "animationType": "by computed value type",
466
+ "styleDeclaration": [
467
+ "text-indent",
468
+ "textIndent"
469
+ ]
470
+ },
471
+ "hanging-punctuation": {
472
+ "name": "hanging-punctuation",
473
+ "value": "none | [ first || [ force-end | allow-end ] || last ]",
474
+ "initial": "none",
475
+ "appliesTo": "text",
476
+ "inherited": "yes",
477
+ "percentages": "n/a",
478
+ "computedValue": "specified keyword(s)",
479
+ "canonicalOrder": "per grammar",
480
+ "animationType": "discrete",
481
+ "styleDeclaration": [
482
+ "hanging-punctuation",
483
+ "hangingPunctuation"
484
+ ]
261
485
  }
262
486
  },
263
487
  "descriptors": {},
264
488
  "valuespaces": {
265
489
  "<auto()>": {
266
490
  "value": "auto(<lang>)"
491
+ },
492
+ "<length>": {
493
+ "prose": "Specifies extra spacing in addition to the intrinsic inter-word spacing defined by the font."
494
+ },
495
+ "<percentage>": {
496
+ "prose": "Gives the amount of the indent as a percentage of the block container’s own logical width. Percentages must be treated as 0 for the purpose of calculating intrinsic size contributions, but are always resolved normally when performing layout."
267
497
  }
268
498
  }
269
499
  }
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": "3.0.7",
4
+ "version": "3.0.8",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -12,6 +12,6 @@
12
12
  "license": "MIT",
13
13
  "main": "index.js",
14
14
  "peerDependencies": {
15
- "css-tree": "^2.0.4"
15
+ "css-tree": "^2.1.0"
16
16
  }
17
- }
17
+ }