@webref/css 6.8.0 → 6.8.2

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-5.json CHANGED
@@ -63,7 +63,7 @@
63
63
  "name": "<color>",
64
64
  "prose": "Colors in CSS are represented by the <color> type:",
65
65
  "type": "type",
66
- "value": "<absolute-color-base> | currentcolor | <system-color> | <device-cmyk()>"
66
+ "value": "<absolute-color-base> | currentcolor | <system-color> | <device-cmyk()> | <light-dark()>"
67
67
  },
68
68
  {
69
69
  "name": "<absolute-color-base>",
@@ -344,6 +344,11 @@
344
344
  "type": "type",
345
345
  "value": "<number> | <percentage>"
346
346
  },
347
+ {
348
+ "name": "light-dark()",
349
+ "type": "function",
350
+ "value": "light-dark( <color>, <color> )"
351
+ },
347
352
  {
348
353
  "name": "<color-space>",
349
354
  "type": "type",
package/css-fonts-5.json CHANGED
@@ -84,7 +84,7 @@
84
84
  "name": "font-size",
85
85
  "for": "@font-face",
86
86
  "value": "auto | [<number>]{1,2}",
87
- "initial": "normal",
87
+ "initial": "auto",
88
88
  "values": [
89
89
  {
90
90
  "name": "auto",
package/css-fonts.json CHANGED
@@ -239,7 +239,7 @@
239
239
  },
240
240
  {
241
241
  "name": "font",
242
- "value": "[ [ <'font-style'> || <font-variant-css2> || <'font-weight'> || <font-stretch-css3> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar",
242
+ "value": "[ [ <'font-style'> || <font-variant-css2> || <'font-weight'> || <font-stretch-css3> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | <system-family-name>",
243
243
  "initial": "see individual properties",
244
244
  "appliesTo": "all elements and text",
245
245
  "inherited": "yes",
@@ -995,7 +995,7 @@
995
995
  },
996
996
  {
997
997
  "name": "<palette-mix()>",
998
- "prose": "This value defines a position in the interpolation between two palette values, identified by <palette-identifier>, by the palette keywords normal, light, dark, or by another <palette-mix()> value. The glyphs of the font must be rendered with a palette that is created by interpolating for each palette color index between the matching color indices of the first and second palette specified as arguments, recursively resolving <palette-mix()> functions if needed. For each palette color, the interpolation follows the rules of the <color-mix()> function. When not specified otherwise the <color-interpolation-method> is in oklab as recommended by CSS Color 5 § 7.1 Color Space for Interpolation. Percentages are normalized according to CSS Color 5 § 3.1 Percentage Normalization.",
998
+ "prose": "This value defines a position in the interpolation between two palette values, identified by <palette-identifier>, by the palette keywords normal, light, dark, or by another <palette-mix()> value. The glyphs of the font must be rendered with a palette that is created by interpolating for each palette color index between the matching color indices of the first and second palette specified as arguments, recursively resolving <palette-mix()> functions if needed. For each palette color, the interpolation follows the rules of the <color-mix()> function. When not specified otherwise the <color-interpolation-method> is in oklab as recommended by CSS Color 5 § 8.1 Color Space for Interpolation. Percentages are normalized according to CSS Color 5 § 3.1 Percentage Normalization.",
999
999
  "type": "type",
1000
1000
  "value": "palette-mix(<color-interpolation-method> , [ [normal | light | dark | <palette-identifier> | <palette-mix()> ] && <percentage [0,100]>? ]#{2})"
1001
1001
  }
@@ -1279,7 +1279,7 @@
1279
1279
  },
1280
1280
  {
1281
1281
  "name": "<generic-family>",
1282
- "prose": "Each <generic-family> keyword represents a generic font choice, and behaves as a potential alias for one or more locally-installed fonts belonging to the specified generic font category. A <generic-family> can thus be used as a fallback for when an author’s more specific font choices are not available. There are three types of generic family: Generics which apply to all Unicode characters and will always match a locally installed font. For example, monospaced. Generics which apply to all Unicode characters but may not match to a locally installed font on some systems. For example, ui-rounded. Generics which are writing-system specific, only apply to a subset of Unicode characters, and may not match to a locally installed font on some systems. For example, fangsong. Authors are encouraged to append a generic font family as a last alternative for improved robustness, and to use a more specific generic font family, if applicable, to prefer a specific style even if the individual named font family is not available. Note that <generic-family> keywords cannot be quoted (otherwise they are interpreted as a <family-name>). The set of generic family keywords is defined in § 2.1.4 Generic font families.",
1282
+ "prose": "Each <generic-family> keyword represents a generic font choice, and behaves as a potential alias for one or more locally-installed fonts belonging to the specified generic font category. A <generic-family> can thus be used as a fallback for when an author’s more specific font choices are not available. There are three types of generic family: Generics which apply to all Unicode characters and will always match a locally installed font. For example, monospaced. Generics which apply to all Unicode characters but may not match to a locally installed font on some systems. For example, ui-rounded. Generics which are writing-system specific, only apply to a subset of Unicode characters, and may not match to a locally installed font on some systems. For example, generic(fangsong). Authors are encouraged to append a generic font family as a last alternative for improved robustness, and to use a more specific generic font family, if applicable, to prefer a specific style even if the individual named font family is not available. Note that <generic-family> keywords cannot be quoted (otherwise they are interpreted as a <family-name>). The set of generic family keywords is defined in § 2.1.5 Generic font families.",
1283
1283
  "type": "type",
1284
1284
  "value": "generic( <custom-ident>+ ) | <string> | <custom-ident>+",
1285
1285
  "values": [
@@ -1332,10 +1332,9 @@
1332
1332
  "value": "math"
1333
1333
  },
1334
1334
  {
1335
- "name": "fangsong",
1336
- "prose": "This font family is used for Fang Song (仿宋) typefaces in Chinese. Fang Song is a relaxed, intermediate form between Song (serif) and Kai (cursive). Typically, the horizontal lines are tilted, the endpoint flourishes are smaller, and there is less variation in stroke width, compared to a Song style. Fang Song is often used for official Chinese Government documents.",
1337
- "type": "value",
1338
- "value": "fangsong"
1335
+ "name": "generic()",
1336
+ "value": "generic()",
1337
+ "type": "value"
1339
1338
  },
1340
1339
  {
1341
1340
  "name": "ui-serif",
@@ -1363,6 +1362,12 @@
1363
1362
  }
1364
1363
  ]
1365
1364
  },
1365
+ {
1366
+ "name": "<system-family-name>",
1367
+ "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:",
1368
+ "type": "type",
1369
+ "value": "caption | icon | menu | message-box | small-caption | status-bar"
1370
+ },
1366
1371
  {
1367
1372
  "name": "<font-weight-absolute>",
1368
1373
  "type": "type",
package/css-gcpm.json CHANGED
@@ -112,17 +112,15 @@
112
112
  }
113
113
  ],
114
114
  "values": [
115
+ {
116
+ "name": "<content-list>",
117
+ "type": "type",
118
+ "value": "[ <string> | <counter()> | <counters()> | <content()> | <attr()> ]+"
119
+ },
115
120
  {
116
121
  "name": "running()",
117
122
  "type": "function",
118
123
  "value": "running( <custom-ident> )"
119
124
  }
120
- ],
121
- "warnings": [
122
- {
123
- "msg": "Missing definition",
124
- "name": "content-list",
125
- "value": "[ <string> | <counter()> | <counters()> | <content()> | attr(<identifier>) ]+"
126
- }
127
125
  ]
128
126
  }
package/css-text-4.json CHANGED
@@ -1170,6 +1170,12 @@
1170
1170
  "type": "value",
1171
1171
  "value": "allow-end"
1172
1172
  },
1173
+ {
1174
+ "name": "trim-all",
1175
+ "prose": "Set fullwidth opening punctuation, fullwidth closing punctuation, and fullwidth middle dot punctuation with half-width glyphs, without regards for the position within the line nor for adjacent characters.",
1176
+ "type": "value",
1177
+ "value": "trim-all"
1178
+ },
1173
1179
  {
1174
1180
  "name": "auto",
1175
1181
  "prose": "The user agent chooses a set of typographically high quality spacing values. Different user agents running on different platforms may pick different values. Do we need auto? It would be weird for the author to choose platform-dependent behavior at the start of the first line, and it should otherwise use trim-auto.",
@@ -1329,7 +1335,7 @@
1329
1335
  {
1330
1336
  "name": "<spacing-trim>",
1331
1337
  "type": "type",
1332
- "value": "space-all | trim-auto | [ allow-end || space-first ]"
1338
+ "value": "space-all | trim-auto | [ allow-end || space-first ] | trim-all"
1333
1339
  }
1334
1340
  ]
1335
1341
  }
@@ -6,32 +6,43 @@
6
6
  "properties": [],
7
7
  "atrules": [
8
8
  {
9
- "name": "@auto-view-transition",
9
+ "name": "@view-transition",
10
10
  "descriptors": [
11
11
  {
12
- "name": "same-origin",
13
- "for": "@auto-view-transition",
14
- "value": "enabled | disabled",
15
- "initial": "disabled",
12
+ "name": "trigger",
13
+ "for": "@view-transition",
14
+ "value": "navigation | none",
15
+ "initial": "none",
16
16
  "values": [
17
17
  {
18
- "name": "disabled",
18
+ "name": "none",
19
19
  "prose": "There will be no transition.",
20
20
  "type": "value",
21
- "value": "disabled"
21
+ "value": "none"
22
22
  },
23
23
  {
24
- "name": "enabled",
24
+ "name": "navigation",
25
25
  "prose": "The transition will be enabled if the navigation is same-origin, without cross-origin redirects.",
26
26
  "type": "value",
27
- "value": "enabled"
27
+ "value": "navigation"
28
28
  }
29
29
  ]
30
30
  }
31
31
  ],
32
- "value": "@auto-view-transition { <declaration-rule-list> }"
32
+ "value": "@view-transition same-origin { <declaration-rule-list> }"
33
33
  }
34
34
  ],
35
- "selectors": [],
36
- "values": []
35
+ "selectors": [
36
+ {
37
+ "name": ":active-view-transition()",
38
+ "value": ":active-view-transition(<vt-type-selector>)"
39
+ }
40
+ ],
41
+ "values": [
42
+ {
43
+ "name": "<vt-type-selector>",
44
+ "type": "type",
45
+ "value": "'*' | <custom-ident>#"
46
+ }
47
+ ]
37
48
  }
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": "6.8.0",
4
+ "version": "6.8.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"