@webref/css 6.23.19 → 6.23.22

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-fonts.json CHANGED
@@ -162,7 +162,7 @@
162
162
  "percentages": "n/a",
163
163
  "computedValue": "the keyword specified, plus angle in degrees if specified",
164
164
  "canonicalOrder": "per grammar",
165
- "animationType": "by computed value type;normal animates as oblique 0deg",
165
+ "animationType": "by computed value type; normal animates as oblique 0deg",
166
166
  "values": [
167
167
  {
168
168
  "name": "normal",
@@ -977,14 +977,14 @@
977
977
  "values": [
978
978
  {
979
979
  "name": "normal",
980
- "prose": "The value normal resets all subproperties of font-variant to their initial value. The none value sets font-variant-ligatures to none and resets all other font feature properties to their initial value. Like other shorthands, using font-variant resets unspecified font-variant subproperties to their initial values.",
980
+ "prose": "The value normal resets all subproperties of font-variant to their initial value. The none value sets font-variant-ligatures to 'font-variant-ligatures/none' and resets all other font feature properties to their initial value. Like other shorthands, using font-variant resets unspecified font-variant subproperties to their initial values.",
981
981
  "href": "https://drafts.csswg.org/css-fonts-4/#font-variant-normal-value",
982
982
  "type": "value",
983
983
  "value": "normal"
984
984
  },
985
985
  {
986
986
  "name": "none",
987
- "prose": "The value normal resets all subproperties of font-variant to their initial value. The none value sets font-variant-ligatures to none and resets all other font feature properties to their initial value. Like other shorthands, using font-variant resets unspecified font-variant subproperties to their initial values.",
987
+ "prose": "The value normal resets all subproperties of font-variant to their initial value. The none value sets font-variant-ligatures to 'font-variant-ligatures/none' and resets all other font feature properties to their initial value. Like other shorthands, using font-variant resets unspecified font-variant subproperties to their initial values.",
988
988
  "href": "https://drafts.csswg.org/css-fonts-4/#font-variant-none-value",
989
989
  "type": "value",
990
990
  "value": "none"
@@ -1017,7 +1017,7 @@
1017
1017
  {
1018
1018
  "name": "<feature-tag-value>",
1019
1019
  "href": "https://drafts.csswg.org/css-fonts-4/#feature-tag-value",
1020
- "type": "value",
1020
+ "type": "type",
1021
1021
  "value": "<opentype-tag> [ <integer [0,∞]> | on | off ]?"
1022
1022
  }
1023
1023
  ],
@@ -1136,7 +1136,8 @@
1136
1136
  "name": "<palette-identifier>",
1137
1137
  "prose": "This value identifies an CSS-defined palette to use. Users can define a palette by using the @font-palette-values rule. If no applicable @font-palette-values rule is present, this value behaves as normal. <palette-identifier> is parsed as a <dashed-ident>.",
1138
1138
  "href": "https://drafts.csswg.org/css-fonts-4/#typedef-font-palette-palette-identifier",
1139
- "type": "type"
1139
+ "type": "type",
1140
+ "value": "<dashed-ident>"
1140
1141
  },
1141
1142
  {
1142
1143
  "name": "<palette-mix()>",
@@ -1164,28 +1165,28 @@
1164
1165
  "values": [
1165
1166
  {
1166
1167
  "name": "normal",
1167
- "prose": "User agents can choose to draw a Presentation Participating Code Point in either emoji style or text style. User agents typically follow platform conventions when performing this decision.",
1168
+ "prose": "User agents can choose to draw a Emoji Presentation Participating Code Point in either emoji style or text style. User agents typically follow platform conventions when performing this decision.",
1168
1169
  "href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-emoji-normal",
1169
1170
  "type": "value",
1170
1171
  "value": "normal"
1171
1172
  },
1172
1173
  {
1173
1174
  "name": "text",
1174
- "prose": "Code points are rendered as if U+FE0E VARIATION SELECTOR-15 was appended to every Presentation Participating Code Point.",
1175
+ "prose": "Code points are rendered as if U+FE0E VARIATION SELECTOR-15 was appended to every Emoji Presentation Participating Code Point.",
1175
1176
  "href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-emoji-text",
1176
1177
  "type": "value",
1177
1178
  "value": "text"
1178
1179
  },
1179
1180
  {
1180
1181
  "name": "emoji",
1181
- "prose": "Code points are rendered as if U+FE0F VARIATION SELECTOR-16 was appended to every Presentation Participating Code Point.",
1182
+ "prose": "Code points are rendered as if U+FE0F VARIATION SELECTOR-16 was appended to every Emoji Presentation Participating Code Point.",
1182
1183
  "href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-emoji-emoji",
1183
1184
  "type": "value",
1184
1185
  "value": "emoji"
1185
1186
  },
1186
1187
  {
1187
1188
  "name": "unicode",
1188
- "prose": "Code points are rendered in accordance with [UTS51] as either emoji-default, text-default, or text-only, depending on the values of the Emoji and Emoji_Presentation properties for each Presentation Participating Code Point. If present, FE0E VARIATION SELECTOR-15 and U+FE0F VARIATION SELECTOR-16 will override the default presentation of individual Presentation Participating Code Points.",
1189
+ "prose": "Code points are rendered in accordance with [UTS51] as either emoji-default, text-default, or text-only, depending on the values of the Emoji and Emoji_Presentation properties for each Emoji Presentation Participating Code Point. If present, FE0E VARIATION SELECTOR-15 and U+FE0F VARIATION SELECTOR-16 will override the default presentation of individual Emoji Presentation Participating Code Points.",
1189
1190
  "href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-variant-emoji-unicode",
1190
1191
  "type": "value",
1191
1192
  "value": "unicode"
@@ -1203,7 +1204,8 @@
1203
1204
  "styleDeclaration": [
1204
1205
  "font-stretch",
1205
1206
  "fontStretch"
1206
- ]
1207
+ ],
1208
+ "value": "normal | <percentage [0,∞]> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded"
1207
1209
  }
1208
1210
  ],
1209
1211
  "atrules": [
@@ -1223,7 +1225,27 @@
1223
1225
  "href": "https://drafts.csswg.org/css-fonts-4/#descdef-font-face-src",
1224
1226
  "for": "@font-face",
1225
1227
  "value": "<font-src-list>",
1226
- "initial": "N/A"
1228
+ "initial": "N/A",
1229
+ "values": [
1230
+ {
1231
+ "name": "format()",
1232
+ "value": "format()",
1233
+ "href": "https://drafts.csswg.org/css-fonts-4/#format()",
1234
+ "type": "value"
1235
+ },
1236
+ {
1237
+ "name": "tech()",
1238
+ "value": "tech()",
1239
+ "href": "https://drafts.csswg.org/css-fonts-4/#tech()",
1240
+ "type": "value"
1241
+ },
1242
+ {
1243
+ "name": "local()",
1244
+ "value": "local()",
1245
+ "href": "https://drafts.csswg.org/css-fonts-4/#local()",
1246
+ "type": "value"
1247
+ }
1248
+ ]
1227
1249
  },
1228
1250
  {
1229
1251
  "name": "font-style",
@@ -1410,7 +1432,14 @@
1410
1432
  "value": "@annotation { <declaration-list> }"
1411
1433
  }
1412
1434
  ],
1413
- "value": "@font-feature-values <family-name># { <declaration-rule-list> }"
1435
+ "value": "@font-feature-values <family-name># { <declaration-rule-list> }",
1436
+ "values": [
1437
+ {
1438
+ "name": "<font-feature-value-type>",
1439
+ "href": "https://drafts.csswg.org/css-fonts-4/#typedef-font-feature-values-font-feature-value-type",
1440
+ "type": "type"
1441
+ }
1442
+ ]
1414
1443
  },
1415
1444
  {
1416
1445
  "name": "@font-palette-values",
@@ -1446,10 +1475,11 @@
1446
1475
  "value": "dark"
1447
1476
  },
1448
1477
  {
1449
- "name": "<integer>",
1478
+ "name": "<integer [0,∞]>",
1450
1479
  "prose": "Identifies a (zero-based) numerical palette index within the font.",
1451
- "href": "https://drafts.csswg.org/css-fonts-4/#typedef-base-palette-integer",
1452
- "type": "type"
1480
+ "href": "https://drafts.csswg.org/css-fonts-4/#valdef-base-palette-integer-0",
1481
+ "type": "value",
1482
+ "value": "<integer [0,∞]>"
1453
1483
  }
1454
1484
  ]
1455
1485
  },
@@ -1611,7 +1641,7 @@
1611
1641
  "name": "<font-weight-absolute>",
1612
1642
  "href": "https://drafts.csswg.org/css-fonts-4/#font-weight-absolute-values",
1613
1643
  "type": "type",
1614
- "value": "[normal | bold | <number [1,1000]>]"
1644
+ "value": "[ normal | bold | <number [1,1000]> ]"
1615
1645
  },
1616
1646
  {
1617
1647
  "name": "<font-variant-css2>",
@@ -1635,31 +1665,31 @@
1635
1665
  "name": "<font-src>",
1636
1666
  "href": "https://drafts.csswg.org/css-fonts-4/#typedef-font-src",
1637
1667
  "type": "type",
1638
- "value": "<url> [ format(<font-format>)]? [ tech( <font-tech>#)]? | local(<family-name>)"
1668
+ "value": "<url> [ format( <font-format> ) ]? [ tech( <font-tech># ) ]? | local( <family-name> )"
1639
1669
  },
1640
1670
  {
1641
1671
  "name": "<font-format>",
1642
1672
  "href": "https://drafts.csswg.org/css-fonts-4/#font-format-values",
1643
1673
  "type": "type",
1644
- "value": "[<string> | collection | embedded-opentype | opentype | svg | truetype | woff | woff2 ]"
1674
+ "value": "[ <string> | collection | embedded-opentype | opentype | svg | truetype | woff | woff2 ]"
1645
1675
  },
1646
1676
  {
1647
1677
  "name": "<font-tech>",
1648
1678
  "href": "https://drafts.csswg.org/css-fonts-4/#font-tech-values",
1649
1679
  "type": "type",
1650
- "value": "[<font-features-tech> | <color-font-tech> | variations | palettes | incremental ]"
1680
+ "value": "[ <font-features-tech> | <color-font-tech> | variations | palettes | incremental ]"
1651
1681
  },
1652
1682
  {
1653
1683
  "name": "<font-features-tech>",
1654
1684
  "href": "https://drafts.csswg.org/css-fonts-4/#font-features-tech-values",
1655
1685
  "type": "type",
1656
- "value": "[features-opentype | features-aat | features-graphite]"
1686
+ "value": "[ features-opentype | features-aat | features-graphite ]"
1657
1687
  },
1658
1688
  {
1659
1689
  "name": "<color-font-tech>",
1660
1690
  "href": "https://drafts.csswg.org/css-fonts-4/#color-font-tech-values",
1661
1691
  "type": "type",
1662
- "value": "[color-COLRv0 | color-COLRv1 | color-SVG | color-sbix | color-CBDT ]"
1692
+ "value": "[ color-COLRv0 | color-COLRv1 | color-SVG | color-sbix | color-CBDT ]"
1663
1693
  },
1664
1694
  {
1665
1695
  "name": "<common-lig-values>",
@@ -1703,6 +1733,12 @@
1703
1733
  "type": "type",
1704
1734
  "value": "[ diagonal-fractions | stacked-fractions ]"
1705
1735
  },
1736
+ {
1737
+ "name": "<feature-index>",
1738
+ "href": "https://drafts.csswg.org/css-fonts-4/#feature-index-value",
1739
+ "type": "type",
1740
+ "value": "<integer [0,∞]>"
1741
+ },
1706
1742
  {
1707
1743
  "name": "<feature-value-name>",
1708
1744
  "href": "https://drafts.csswg.org/css-fonts-4/#feature-value-name-value",
@@ -1736,11 +1772,6 @@
1736
1772
  }
1737
1773
  ],
1738
1774
  "warnings": [
1739
- {
1740
- "msg": "Missing definition",
1741
- "name": "font-feature-value-type",
1742
- "value": "<@stylistic> | <@historical-forms> | <@styleset> | <@character-variant> | <@swash> | <@ornaments> | <@annotation>"
1743
- },
1744
1775
  {
1745
1776
  "msg": "Dangling value",
1746
1777
  "name": "normal",
package/css-forms.json CHANGED
@@ -10,7 +10,6 @@
10
10
  "values": [
11
11
  {
12
12
  "name": "base",
13
- "prose": "When applied on a form control, base puts that control in the basic appearance state.",
14
13
  "href": "https://drafts.csswg.org/css-forms-1/#valdef-appearance-base",
15
14
  "type": "value",
16
15
  "value": "base"