@webref/css 6.25.2 → 6.25.4
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 +44 -0
- package/SVG.json +36 -36
- package/compat.json +5 -5
- package/css-align.json +0 -112
- package/css-contain.json +1 -1
- package/css-fonts-5.json +1 -1
- package/css-fonts.json +36 -34
- package/css-gaps.json +231 -107
- package/css-image-animation.json +1 -1
- package/css-inline.json +4 -4
- package/css-masking.json +5 -5
- package/css-navigation.json +18 -30
- package/css-overflow-4.json +15 -15
- package/css-overflow.json +11 -11
- package/css-overscroll.json +40 -5
- package/css-ruby.json +57 -47
- package/css-scroll-snap-2.json +1 -1
- package/css-sizing-4.json +39 -2
- package/css-text-4.json +69 -2
- package/css-text-decor-4.json +3 -3
- package/css-ui.json +2 -2
- package/css-values-5.json +57 -52
- package/motion.json +1 -1
- package/package.json +1 -1
- package/scroll-animations.json +2 -2
- package/selectors-5.json +6 -0
- package/selectors.json +2 -2
- package/svg-strokes.json +3 -3
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
|
|
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
|
},
|