@webref/css 6.25.3 → 6.25.5

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.json CHANGED
@@ -552,6 +552,50 @@
552
552
  "value": "auto"
553
553
  }
554
554
  ]
555
+ },
556
+ {
557
+ "name": "<family-name>",
558
+ "prose": "The name of a font family of choice. In the last example, \"Gill\" and \"Helvetica\" are font families.",
559
+ "href": "https://drafts.csswg.org/css2/#value-def-family-name",
560
+ "type": "type"
561
+ },
562
+ {
563
+ "name": "<generic-family>",
564
+ "prose": "In the example above, the last value is a generic family name. The following generic families are defined: serif (e.g., Times) sans-serif (e.g., Helvetica) cursive (e.g., Zapf-Chancery) fantasy (e.g., Western) monospace (e.g., Courier) Style sheet designers are encouraged to offer a generic font family as a last alternative. Generic font family names are keywords and must NOT be quoted.",
565
+ "href": "https://drafts.csswg.org/css2/#value-def-generic-family",
566
+ "type": "type",
567
+ "values": [
568
+ {
569
+ "name": "serif",
570
+ "href": "https://drafts.csswg.org/css2/#valdef-generic-family-serif",
571
+ "type": "value",
572
+ "value": "serif"
573
+ },
574
+ {
575
+ "name": "sans-serif",
576
+ "href": "https://drafts.csswg.org/css2/#valdef-generic-family-sans-serif",
577
+ "type": "value",
578
+ "value": "sans-serif"
579
+ },
580
+ {
581
+ "name": "cursive",
582
+ "href": "https://drafts.csswg.org/css2/#valdef-generic-family-cursive",
583
+ "type": "value",
584
+ "value": "cursive"
585
+ },
586
+ {
587
+ "name": "fantasy",
588
+ "href": "https://drafts.csswg.org/css2/#valdef-generic-family-fantasy",
589
+ "type": "value",
590
+ "value": "fantasy"
591
+ },
592
+ {
593
+ "name": "monospace",
594
+ "href": "https://drafts.csswg.org/css2/#valdef-generic-family-monospace",
595
+ "type": "value",
596
+ "value": "monospace"
597
+ }
598
+ ]
555
599
  }
556
600
  ]
557
601
  }
package/SVG.json CHANGED
@@ -141,19 +141,19 @@
141
141
  ]
142
142
  },
143
143
  {
144
- "name": "shape-subtract",
145
- "href": "https://w3c.github.io/svgwg/svg2-draft/text.html#ShapesubtractProperty",
146
- "value": "none | [ <basic-shape> | <uri> ]+",
144
+ "name": "path-length",
145
+ "href": "https://w3c.github.io/svgwg/svg2-draft/paths.html#PathLengthCSSProperty",
146
+ "value": "none | @@ unknown symbol \"number [0,∞]\"",
147
147
  "initial": "none",
148
- "appliesTo": "‘text’ elements",
148
+ "appliesTo": "‘path’, ‘circle’, ‘ellipse’, ‘line’, ‘polygon’, ‘polyline’, ‘rect’",
149
149
  "inherited": "no",
150
- "percentages": "Relative to the ‘viewBox’",
150
+ "percentages": "N/A",
151
151
  "media": "visual",
152
- "computedValue": "computed lengths for any <basic-shape>, the absolute URI for <uri>, otherwise as specified",
153
- "animationType": "See Interpolation of Basic Shapes",
152
+ "computedValue": "the keyword none, or the specified number",
153
+ "animationType": "by computed value",
154
154
  "styleDeclaration": [
155
- "shape-subtract",
156
- "shapeSubtract"
155
+ "path-length",
156
+ "pathLength"
157
157
  ]
158
158
  },
159
159
  {
package/compat.json CHANGED
@@ -538,7 +538,7 @@
538
538
  "WebkitMaskBoxImageOutset",
539
539
  "webkitMaskBoxImageOutset"
540
540
  ],
541
- "value": "[ <length> | <number> ]{1,4}"
541
+ "value": "<'border-image-outset'>"
542
542
  },
543
543
  {
544
544
  "name": "-webkit-mask-box-image-repeat",
@@ -549,7 +549,7 @@
549
549
  "WebkitMaskBoxImageRepeat",
550
550
  "webkitMaskBoxImageRepeat"
551
551
  ],
552
- "value": "[ stretch | repeat | round | space ]{1,2}"
552
+ "value": "<'border-image-repeat'>"
553
553
  },
554
554
  {
555
555
  "name": "-webkit-mask-box-image-slice",
@@ -560,7 +560,7 @@
560
560
  "WebkitMaskBoxImageSlice",
561
561
  "webkitMaskBoxImageSlice"
562
562
  ],
563
- "value": "[ <number> | <percentage> ]{1,4} fill?"
563
+ "value": "<'border-image-slice'>"
564
564
  },
565
565
  {
566
566
  "name": "-webkit-mask-box-image-source",
@@ -571,7 +571,7 @@
571
571
  "WebkitMaskBoxImageSource",
572
572
  "webkitMaskBoxImageSource"
573
573
  ],
574
- "value": "none | <image>"
574
+ "value": "<'border-image-source'>"
575
575
  },
576
576
  {
577
577
  "name": "-webkit-mask-box-image-width",
@@ -582,7 +582,7 @@
582
582
  "WebkitMaskBoxImageWidth",
583
583
  "webkitMaskBoxImageWidth"
584
584
  ],
585
- "value": "[ <length-percentage> | <number> | auto ]{1,4}"
585
+ "value": "<'border-image-width'>"
586
586
  },
587
587
  {
588
588
  "name": "-webkit-mask-clip",
package/css-align.json CHANGED
@@ -274,118 +274,6 @@
274
274
  "align-items",
275
275
  "justify-items"
276
276
  ]
277
- },
278
- {
279
- "name": "row-gap",
280
- "href": "https://drafts.csswg.org/css-align-3/#propdef-row-gap",
281
- "value": "normal | <length-percentage [0,∞]> | <line-width>",
282
- "initial": "normal",
283
- "appliesTo": "multi-column containers, flex containers, grid containers",
284
- "inherited": "no",
285
- "percentages": "see § 8.3 Percentages In gap Properties",
286
- "computedValue": "specified keyword, else a computed <length-percentage> value",
287
- "canonicalOrder": "per grammar",
288
- "animationType": "by computed value type",
289
- "values": [
290
- {
291
- "name": "normal",
292
- "prose": "The value normal represents a used value of 1em on multi-column containers, and a used value of 0px in all other contexts.",
293
- "href": "https://drafts.csswg.org/css-align-3/#valdef-row-gap-normal",
294
- "type": "value",
295
- "value": "normal"
296
- }
297
- ],
298
- "styleDeclaration": [
299
- "row-gap",
300
- "rowGap"
301
- ]
302
- },
303
- {
304
- "name": "column-gap",
305
- "href": "https://drafts.csswg.org/css-align-3/#propdef-column-gap",
306
- "value": "normal | <length-percentage [0,∞]> | <line-width>",
307
- "initial": "normal",
308
- "appliesTo": "multi-column containers, flex containers, grid containers",
309
- "inherited": "no",
310
- "percentages": "see § 8.3 Percentages In gap Properties",
311
- "computedValue": "specified keyword, else a computed <length-percentage> value",
312
- "canonicalOrder": "per grammar",
313
- "animationType": "by computed value type",
314
- "values": [
315
- {
316
- "name": "normal",
317
- "prose": "The value normal represents a used value of 1em on multi-column containers, and a used value of 0px in all other contexts.",
318
- "href": "https://drafts.csswg.org/css-align-3/#valdef-row-gap-normal",
319
- "type": "value",
320
- "value": "normal"
321
- }
322
- ],
323
- "styleDeclaration": [
324
- "column-gap",
325
- "columnGap"
326
- ]
327
- },
328
- {
329
- "name": "gap",
330
- "href": "https://drafts.csswg.org/css-align-3/#propdef-gap",
331
- "value": "<'row-gap'> <'column-gap'>?",
332
- "initial": "see individual properties",
333
- "appliesTo": "multi-column containers, flex containers, grid containers",
334
- "inherited": "no",
335
- "percentages": "refer to corresponding dimension of the content area",
336
- "computedValue": "see individual properties",
337
- "canonicalOrder": "per grammar",
338
- "animationType": "by computed value type",
339
- "values": [
340
- {
341
- "name": "normal",
342
- "prose": "The value normal represents a used value of 1em on multi-column containers, and a used value of 0px in all other contexts.",
343
- "href": "https://drafts.csswg.org/css-align-3/#valdef-row-gap-normal",
344
- "type": "value",
345
- "value": "normal"
346
- }
347
- ],
348
- "styleDeclaration": [
349
- "gap"
350
- ],
351
- "longhands": [
352
- "row-gap",
353
- "column-gap"
354
- ]
355
- },
356
- {
357
- "name": "grid-row-gap",
358
- "href": "https://drafts.csswg.org/css-align-3/#propdef-grid-row-gap",
359
- "legacyAliasOf": "row-gap",
360
- "styleDeclaration": [
361
- "grid-row-gap",
362
- "gridRowGap"
363
- ],
364
- "value": "normal | <length-percentage [0,∞]> | <line-width>"
365
- },
366
- {
367
- "name": "grid-column-gap",
368
- "href": "https://drafts.csswg.org/css-align-3/#propdef-grid-column-gap",
369
- "legacyAliasOf": "column-gap",
370
- "styleDeclaration": [
371
- "grid-column-gap",
372
- "gridColumnGap"
373
- ],
374
- "value": "normal | <length-percentage [0,∞]> | <line-width>"
375
- },
376
- {
377
- "name": "grid-gap",
378
- "href": "https://drafts.csswg.org/css-align-3/#propdef-grid-gap",
379
- "legacyAliasOf": "gap",
380
- "styleDeclaration": [
381
- "grid-gap",
382
- "gridGap"
383
- ],
384
- "value": "<'row-gap'> <'column-gap'>?",
385
- "longhands": [
386
- "row-gap",
387
- "column-gap"
388
- ]
389
277
  }
390
278
  ],
391
279
  "atrules": [],
package/css-contain.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "appliesTo": "See below",
13
13
  "inherited": "no",
14
14
  "percentages": "n/a",
15
- "computedValue": "the keyword none or one or more of size, layout, paint",
15
+ "computedValue": "the keyword none or one or more of size, layout, style, paint",
16
16
  "canonicalOrder": "per grammar",
17
17
  "animationType": "not animatable",
18
18
  "values": [
package/css-fonts-5.json CHANGED
@@ -226,7 +226,7 @@
226
226
  "href": "https://drafts.csswg.org/css-fonts-5/#valdef-font-family-xxx",
227
227
  "type": "value",
228
228
  "value": "xxx",
229
- "for": "<generic-family>"
229
+ "for": "<generic-font-family>"
230
230
  },
231
231
  {
232
232
  "msg": "Dangling value",
package/css-fonts.json CHANGED
@@ -7,14 +7,23 @@
7
7
  {
8
8
  "name": "font-family",
9
9
  "href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-family",
10
- "value": "[ <family-name> | <generic-family> ]#",
10
+ "value": "[ <font-family-name> | <generic-font-family> ]#",
11
11
  "initial": "depends on user agent",
12
12
  "appliesTo": "all elements and text",
13
13
  "inherited": "yes",
14
14
  "percentages": "n/a",
15
- "computedValue": "list, each item a string and/or <generic-family> keywords",
15
+ "computedValue": "list, each item a string and/or <generic-font-family> keywords",
16
16
  "canonicalOrder": "per grammar",
17
17
  "animationType": "discrete",
18
+ "values": [
19
+ {
20
+ "name": "math",
21
+ "prose": "This font family is intended for use with mathematical expressions. Such fonts may include additional data (for example, the OpenType MATH table) to help with the hierarchical process of equation layout. In particular, they may contain stylistic and stretching glyph variants useful in setting mathematical equations.",
22
+ "href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-family-math",
23
+ "type": "value",
24
+ "value": "math"
25
+ }
26
+ ],
18
27
  "styleDeclaration": [
19
28
  "font-family",
20
29
  "fontFamily"
@@ -272,7 +281,7 @@
272
281
  {
273
282
  "name": "font",
274
283
  "href": "https://drafts.csswg.org/css-fonts-4/#propdef-font",
275
- "value": "[ [ <'font-style'> || <font-variant-css2> || <'font-weight'> || <font-width-css3> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'># ] | <system-family-name>",
284
+ "value": "[ [ <'font-style'> || <font-variant-css2> || <'font-weight'> || <font-width-css3> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'># ] | <system-font-family-name>",
276
285
  "initial": "see individual properties",
277
286
  "appliesTo": "all elements and text",
278
287
  "inherited": "yes",
@@ -820,7 +829,7 @@
820
829
  {
821
830
  "name": "font-variant-alternates",
822
831
  "href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-variant-alternates",
823
- "value": "normal | [ stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) ]",
832
+ "value": "normal | [ stylistic(<font-feature-value-name>) || historical-forms || styleset(<font-feature-value-name>#) || character-variant(<font-feature-value-name>#) || swash(<font-feature-value-name>) || ornaments(<font-feature-value-name>) || annotation(<font-feature-value-name>) ]",
824
833
  "initial": "normal",
825
834
  "appliesTo": "all elements and text",
826
835
  "inherited": "yes",
@@ -976,7 +985,7 @@
976
985
  {
977
986
  "name": "font-variant",
978
987
  "href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-variant",
979
- "value": "normal | none | [ [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ] || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || [ stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) ] || [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ] || [ <east-asian-variant-values> || <east-asian-width-values> || ruby ] || [ sub | super ] || [ text | emoji | unicode ] ]",
988
+ "value": "normal | none | [ [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ] || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || [ stylistic(<font-feature-value-name>) || historical-forms || styleset(<font-feature-value-name>#) || character-variant(<font-feature-value-name>#) || swash(<font-feature-value-name>) || ornaments(<font-feature-value-name>) || annotation(<font-feature-value-name>) ] || [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ] || [ <east-asian-variant-values> || <east-asian-width-values> || ruby ] || [ sub | super ] || [ text | emoji | unicode ] ]",
980
989
  "initial": "normal",
981
990
  "appliesTo": "all elements and text",
982
991
  "inherited": "yes",
@@ -1246,7 +1255,7 @@
1246
1255
  "name": "font-family",
1247
1256
  "href": "https://drafts.csswg.org/css-fonts-4/#descdef-font-face-font-family",
1248
1257
  "for": "@font-face",
1249
- "value": "<family-name>",
1258
+ "value": "<font-family-name>",
1250
1259
  "initial": "N/A"
1251
1260
  },
1252
1261
  {
@@ -1461,7 +1470,7 @@
1461
1470
  "value": "@annotation { <declaration-list> }"
1462
1471
  }
1463
1472
  ],
1464
- "value": "@font-feature-values <family-name># { <declaration-rule-list> }",
1473
+ "value": "@font-feature-values <font-family-name># { <declaration-rule-list> }",
1465
1474
  "values": [
1466
1475
  {
1467
1476
  "name": "<font-feature-value-type>",
@@ -1479,7 +1488,7 @@
1479
1488
  "name": "font-family",
1480
1489
  "href": "https://drafts.csswg.org/css-fonts-4/#descdef-font-palette-values-font-family",
1481
1490
  "for": "@font-palette-values",
1482
- "value": "<family-name>#",
1491
+ "value": "<font-family-name>#",
1483
1492
  "initial": "N/A"
1484
1493
  },
1485
1494
  {
@@ -1526,24 +1535,24 @@
1526
1535
  "selectors": [],
1527
1536
  "values": [
1528
1537
  {
1529
- "name": "<family-name>",
1538
+ "name": "<font-family-name>",
1530
1539
  "prose": "The name of a font family, such as Helvetica or Verdana in the previous example. This might be a locally-instaled font, or might be a web font.",
1531
- "href": "https://drafts.csswg.org/css-fonts-4/#family-name-value",
1540
+ "href": "https://drafts.csswg.org/css-fonts-4/#font-family-name-value",
1532
1541
  "type": "type",
1533
1542
  "value": "<string> | <custom-ident>+"
1534
1543
  },
1535
1544
  {
1536
- "name": "<system-family-name>",
1545
+ "name": "<system-font-family-name>",
1537
1546
  "prose": "A locally installed system font, whose use is subject to certain constraints. In particular, it may not be used with the font-family property, but can be used with the font shorthand. The following values refer to system fonts:",
1538
- "href": "https://drafts.csswg.org/css-fonts-4/#system-family-name-value",
1547
+ "href": "https://drafts.csswg.org/css-fonts-4/#system-font-family-name-value",
1539
1548
  "type": "type",
1540
1549
  "value": "caption | icon | menu | message-box | small-caption | status-bar"
1541
1550
  },
1542
1551
  {
1543
- "name": "<generic-family>",
1544
- "href": "https://drafts.csswg.org/css-fonts-4/#typedef-generic-family",
1552
+ "name": "<generic-font-family>",
1553
+ "href": "https://drafts.csswg.org/css-fonts-4/#typedef-generic-font-family",
1545
1554
  "type": "type",
1546
- "value": "<generic-script-specific>| <generic-complete> | <generic-incomplete>",
1555
+ "value": "<generic-font-script-specific>| <generic-font-complete> | <generic-font-incomplete>",
1547
1556
  "values": [
1548
1557
  {
1549
1558
  "name": "serif",
@@ -1587,13 +1596,6 @@
1587
1596
  "type": "value",
1588
1597
  "value": "system-ui"
1589
1598
  },
1590
- {
1591
- "name": "math",
1592
- "prose": "This font family is intended for use with mathematical expressions. Such fonts may include additional data (for example, the OpenType MATH table) to help with the hierarchical process of equation layout. In particular, they may contain stylistic and stretching glyph variants useful in setting mathematical equations.",
1593
- "href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-family-math",
1594
- "type": "value",
1595
- "value": "math"
1596
- },
1597
1599
  {
1598
1600
  "name": "generic()",
1599
1601
  "value": "generic()",
@@ -1649,20 +1651,20 @@
1649
1651
  ]
1650
1652
  },
1651
1653
  {
1652
- "name": "<generic-script-specific>",
1653
- "href": "https://drafts.csswg.org/css-fonts-4/#typedef-generic-script-specific",
1654
+ "name": "<generic-font-script-specific>",
1655
+ "href": "https://drafts.csswg.org/css-fonts-4/#typedef-generic-font-script-specific",
1654
1656
  "type": "type",
1655
1657
  "value": "generic(fangsong) | generic(kai) | generic(khmer-mul) | generic(nastaliq)"
1656
1658
  },
1657
1659
  {
1658
- "name": "<generic-complete>",
1659
- "href": "https://drafts.csswg.org/css-fonts-4/#typedef-generic-complete",
1660
+ "name": "<generic-font-complete>",
1661
+ "href": "https://drafts.csswg.org/css-fonts-4/#typedef-generic-font-complete",
1660
1662
  "type": "type",
1661
1663
  "value": "serif | sans-serif | system-ui | cursive | fantasy | math | monospace"
1662
1664
  },
1663
1665
  {
1664
- "name": "<generic-incomplete>",
1665
- "href": "https://drafts.csswg.org/css-fonts-4/#typedef-generic-incomplete",
1666
+ "name": "<generic-font-incomplete>",
1667
+ "href": "https://drafts.csswg.org/css-fonts-4/#typedef-generic-font-incomplete",
1666
1668
  "type": "type",
1667
1669
  "value": "ui-serif | ui-sans-serif | ui-monospace | ui-rounded"
1668
1670
  },
@@ -1706,7 +1708,7 @@
1706
1708
  "name": "<font-src>",
1707
1709
  "href": "https://drafts.csswg.org/css-fonts-4/#typedef-font-src",
1708
1710
  "type": "type",
1709
- "value": "<url> [ format( <font-format> ) ]? [ tech( <font-tech># ) ]? | local( <family-name> )"
1711
+ "value": "<url> [ format( <font-format> ) ]? [ tech( <font-tech># ) ]? | local( <font-family-name> )"
1710
1712
  },
1711
1713
  {
1712
1714
  "name": "<font-format>",
@@ -1858,14 +1860,14 @@
1858
1860
  "value": "[ diagonal-fractions | stacked-fractions ]"
1859
1861
  },
1860
1862
  {
1861
- "name": "<feature-index>",
1862
- "href": "https://drafts.csswg.org/css-fonts-4/#feature-index-value",
1863
+ "name": "<font-feature-index>",
1864
+ "href": "https://drafts.csswg.org/css-fonts-4/#font-feature-index-value",
1863
1865
  "type": "type",
1864
- "value": "<integer [0,∞]>"
1866
+ "value": "<integer>"
1865
1867
  },
1866
1868
  {
1867
- "name": "<feature-value-name>",
1868
- "href": "https://drafts.csswg.org/css-fonts-4/#feature-value-name-value",
1869
+ "name": "<font-feature-value-name>",
1870
+ "href": "https://drafts.csswg.org/css-fonts-4/#font-feature-value-name-value",
1869
1871
  "type": "type",
1870
1872
  "value": "<ident>"
1871
1873
  },