@webref/css 6.25.18 → 6.25.20

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-sizing-4.json CHANGED
@@ -442,6 +442,38 @@
442
442
  "column-width",
443
443
  "columnWidth"
444
444
  ]
445
+ },
446
+ {
447
+ "name": "interpolate-size",
448
+ "href": "https://drafts.csswg.org/css-sizing-4/#propdef-interpolate-size",
449
+ "value": "numeric-only | allow-keywords",
450
+ "initial": "numeric-only",
451
+ "appliesTo": "all elements",
452
+ "inherited": "yes",
453
+ "percentages": "n/a",
454
+ "computedValue": "as specified",
455
+ "canonicalOrder": "per grammar",
456
+ "animationType": "not animatable",
457
+ "values": [
458
+ {
459
+ "name": "numeric-only",
460
+ "prose": "A <size-keyword> can only be combined with a compatible <calc-size()>.",
461
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-interpolate-size-numeric-only",
462
+ "type": "value",
463
+ "value": "numeric-only"
464
+ },
465
+ {
466
+ "name": "allow-keywords",
467
+ "prose": "Sizing values can also be combined if one of them is an <size-keyword> and the other is a <length-percentage>. This is done by treating the <size-keyword> keyword as though it is calc-size(keyword, size) and applying the rules in § 7.2 Interpolating calc-size(). In other cases, a <size-keyword> still cannot be interpolated.",
468
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-interpolate-size-allow-keywords",
469
+ "type": "value",
470
+ "value": "allow-keywords"
471
+ }
472
+ ],
473
+ "styleDeclaration": [
474
+ "interpolate-size",
475
+ "interpolateSize"
476
+ ]
445
477
  }
446
478
  ],
447
479
  "atrules": [],
@@ -452,6 +484,55 @@
452
484
  "href": "https://drafts.csswg.org/css-sizing-4/#typedef-box-size",
453
485
  "type": "type",
454
486
  "value": "<length-percentage [0,∞]> | stretch | contain | min-content | max-content | fit-content | stretch(<length-percentage [0,∞]>) | fit-content(<length-percentage [0,∞]>) | <calc-size()>"
487
+ },
488
+ {
489
+ "name": "calc-size()",
490
+ "prose": "The calc-size() function allows math and transition/animation to be performed on these sizes in a safe, well-defined way. Its syntax is as follows:",
491
+ "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-calc-size",
492
+ "type": "function",
493
+ "value": "calc-size( <calc-size-basis>, <calc-sum> )",
494
+ "values": [
495
+ {
496
+ "name": "<size-keyword>",
497
+ "prose": "Indicates that the calc-size() is basing its size off of the specified keyword. Represents any sizing keywords allowed in the context where the function is used. For example, in width, it matches auto, min-content, stretch, etc. Also allows any related sizing functions, like the fit-content() function in width/etc., which is a variation of the fit-content keyword. For all purposes other than actually resolving the size, the calc-size() acts like this keyword. The calc-size calculation will use the corresponding size as the value of its size keyword.",
498
+ "href": "https://drafts.csswg.org/css-sizing-4/#typedef-calc-size-size-keyword",
499
+ "type": "type"
500
+ },
501
+ {
502
+ "name": "<calc-sum>",
503
+ "prose": "Indicates that the calc-size() is basing its size off of the specified calculation. For all purposes other than actually resolving the size, the calc-size() acts like this calculation wrapped in a calc() (including, for example, whether it represents a definite or indefinite size). The calc-size calculation will use the corresponding size as the value of its size keyword.",
504
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-calc-size-calc-sum",
505
+ "type": "value",
506
+ "value": "<calc-sum>"
507
+ },
508
+ {
509
+ "name": "<calc-size()>",
510
+ "prose": "Indicates that the outer calc-size() is basing its size off of this inner calc-size(), and will share the same behavior as it. The calc-size calculation will use the size of the inner calc-size() as its size keyword. The size keyword is allowed, in this case, even if the inner calc-size() uses any. For example, in calc-size(calc-size(min-content, size / 2), size + 10%), the outer calc-size() acts as if its calc-size basis was min-content, and will calculate its own size using the result of the inner calc-size(), equivalent to calc-size(min-content, size / 2 + 10%).",
511
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-calc-size-calc-size",
512
+ "type": "value",
513
+ "value": "<calc-size()>"
514
+ },
515
+ {
516
+ "name": "any",
517
+ "prose": "Indicates that the calc-size() does not depend on any additional information, and thus can be interpolated with any other size. The calc-size() function represents a definite size. The calc-size calculation cannot use the size keyword; it is a syntax error for size to appear in the calc-size calculation.",
518
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-calc-size-any",
519
+ "type": "value",
520
+ "value": "any"
521
+ },
522
+ {
523
+ "name": "size",
524
+ "prose": "Within the calc-size calculation, the size is a <calc-keyword> which is a <length>, and resolves at used value time to the size specified above.",
525
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-calc-size-size",
526
+ "type": "value",
527
+ "value": "size"
528
+ }
529
+ ]
530
+ },
531
+ {
532
+ "name": "<calc-size-basis>",
533
+ "href": "https://drafts.csswg.org/css-sizing-4/#typedef-calc-size-basis",
534
+ "type": "type",
535
+ "value": "[ <size-keyword> | <calc-sum> | <calc-size()> | any ]"
455
536
  }
456
537
  ],
457
538
  "warnings": [
@@ -619,45 +700,12 @@
619
700
  },
620
701
  {
621
702
  "msg": "Dangling value",
622
- "name": "calc-size()",
623
- "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-calc-size",
624
- "type": "function",
625
- "for": "width"
626
- },
627
- {
628
- "msg": "Dangling value",
629
- "name": "calc-size()",
630
- "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-calc-size",
631
- "type": "function",
632
- "for": "height"
633
- },
634
- {
635
- "msg": "Dangling value",
636
- "name": "calc-size()",
637
- "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-calc-size",
638
- "type": "function",
639
- "for": "min-width"
640
- },
641
- {
642
- "msg": "Dangling value",
643
- "name": "calc-size()",
644
- "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-calc-size",
645
- "type": "function",
646
- "for": "min-height"
647
- },
648
- {
649
- "msg": "Dangling value",
650
- "name": "calc-size()",
651
- "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-calc-size",
652
- "type": "function",
653
- "for": "max-width"
654
- },
655
- {
656
- "msg": "Dangling value",
657
- "name": "calc-size()",
658
- "href": "https://drafts.csswg.org/css-sizing-4/#funcdef-width-calc-size",
659
- "type": "function",
660
- "for": "max-height"
703
+ "name": "size",
704
+ "prose": "Within the calc-size calculation, the size is a <calc-keyword> which is a <length>, and resolves at used value time to the size specified above.",
705
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-calc-size-size",
706
+ "type": "value",
707
+ "value": "size",
708
+ "for": "calc()"
661
709
  }
662
710
  ]
663
711
  }
package/css-text-4.json CHANGED
@@ -1220,7 +1220,7 @@
1220
1220
  "values": [
1221
1221
  {
1222
1222
  "name": "normal",
1223
- "prose": "Same behavior as ideograph-alpha ideograph-numeric.",
1223
+ "prose": "Same behavior as ideograph-alpha ideograph-numeric. This is the default behavior as well as the initial value: if insert or replace are specified on their own, normal is assumed.",
1224
1224
  "href": "https://drafts.csswg.org/css-text-4/#valdef-text-autospace-normal",
1225
1225
  "type": "value",
1226
1226
  "value": "normal"
@@ -1288,44 +1288,79 @@
1288
1288
  "appliesTo": "text",
1289
1289
  "inherited": "yes",
1290
1290
  "percentages": "N/A",
1291
- "computedValue": "specified keyword(s)",
1291
+ "computedValue": "the keyword auto, the keyword trim-all, or three keywords, one per controlled position (start, adjacent, end)",
1292
1292
  "canonicalOrder": "per grammar",
1293
1293
  "animationType": "discrete",
1294
1294
  "values": [
1295
1295
  {
1296
1296
  "name": "space-all",
1297
- "prose": "All fullwidth punctuation characters are set with full-width glyphs (spaced).",
1297
+ "prose": "All fullwidth punctuation characters are set with full-width glyphs (spaced). Equivalent to space-start space-adjacent space-end.",
1298
1298
  "href": "https://drafts.csswg.org/css-text-4/#valdef-text-spacing-trim-space-all",
1299
1299
  "type": "value",
1300
1300
  "value": "space-all"
1301
1301
  },
1302
+ {
1303
+ "name": "trim-both",
1304
+ "prose": "All fullwidth punctuation characters are trimmed at the start and end of the line (flush), and adjacent pairs are collapsed (contextually kerned). Equivalent to trim-start trim-adjacent trim-end.",
1305
+ "href": "https://drafts.csswg.org/css-text-4/#valdef-text-spacing-trim-trim-both",
1306
+ "type": "value",
1307
+ "value": "trim-both"
1308
+ },
1302
1309
  {
1303
1310
  "name": "normal",
1304
- "prose": "Set fullwidth opening punctuation with full-width glyphs (spaced) at the start of each line; set fullwidth closing punctuation with half-width glyphs (flush) at the end of each line if it does not otherwise fit prior to justification, else set the punctuation with full-width glyphs; and collapse spacing between punctuation glyphs as described below.",
1311
+ "prose": "Equivalent to space-start trim-adjacent allow-end.",
1305
1312
  "href": "https://drafts.csswg.org/css-text-4/#valdef-text-spacing-trim-normal",
1306
1313
  "type": "value",
1307
1314
  "value": "normal"
1308
1315
  },
1309
1316
  {
1310
- "name": "trim-both",
1311
- "prose": "Set fullwidth opening punctuation with half-width glyphs (flush) at the start of each line; set fullwidth closing punctuation with half-width glyphs (flush) at the end of each line; and collapse spacing between punctuation glyphs as described below.",
1312
- "href": "https://drafts.csswg.org/css-text-4/#valdef-text-spacing-trim-trim-both",
1317
+ "name": "trim-start",
1318
+ "prose": "Set fullwidth opening punctuation with half-width glyphs (flush) at the start of each line.",
1319
+ "href": "https://drafts.csswg.org/css-text-4/#valdef-text-spacing-trim-trim-start",
1313
1320
  "type": "value",
1314
- "value": "trim-both"
1321
+ "value": "trim-start"
1322
+ },
1323
+ {
1324
+ "name": "space-start",
1325
+ "prose": "Set fullwidth opening punctuation with full-width glyphs (spaced) at the start of each line.",
1326
+ "href": "https://drafts.csswg.org/css-text-4/#valdef-text-spacing-trim-space-start",
1327
+ "type": "value",
1328
+ "value": "space-start"
1315
1329
  },
1316
1330
  {
1317
1331
  "name": "space-first",
1318
- "prose": "Set fullwidth opening punctuation with full-width glyphs (spaced) on the first line of the block container and each line after a forced line break. Otherwise as normal.",
1332
+ "prose": "Set fullwidth opening punctuation with full-width glyphs (spaced) on the first line of the block container and each line after a forced line break. Otherwise as space-start.",
1319
1333
  "href": "https://drafts.csswg.org/css-text-4/#valdef-text-spacing-trim-space-first",
1320
1334
  "type": "value",
1321
1335
  "value": "space-first"
1322
1336
  },
1323
1337
  {
1324
- "name": "trim-start",
1325
- "prose": "Set fullwidth opening punctuation with half-width glyphs (flush) at the start of each line. Otherwise as normal.",
1326
- "href": "https://drafts.csswg.org/css-text-4/#valdef-text-spacing-trim-trim-start",
1338
+ "name": "trim-adjacent",
1339
+ "prose": "Collapse spacing between punctuation glyphs as described below.",
1340
+ "href": "https://drafts.csswg.org/css-text-4/#valdef-text-spacing-trim-trim-adjacent",
1327
1341
  "type": "value",
1328
- "value": "trim-start"
1342
+ "value": "trim-adjacent"
1343
+ },
1344
+ {
1345
+ "name": "space-adjacent",
1346
+ "prose": "Set fullwidth punctuation with full-width glyphs (spaced) when not at the start or end of a line.",
1347
+ "href": "https://drafts.csswg.org/css-text-4/#valdef-text-spacing-trim-space-adjacent",
1348
+ "type": "value",
1349
+ "value": "space-adjacent"
1350
+ },
1351
+ {
1352
+ "name": "trim-end",
1353
+ "prose": "Set fullwidth closing punctuation with half-width glyphs (flush) at the end of each line.",
1354
+ "href": "https://drafts.csswg.org/css-text-4/#valdef-text-spacing-trim-trim-end",
1355
+ "type": "value",
1356
+ "value": "trim-end"
1357
+ },
1358
+ {
1359
+ "name": "allow-end",
1360
+ "prose": "Set fullwidth closing punctuation with half-width glyphs (flush) at the end of each line if it does not otherwise fit prior to justification, else set the punctuation with full-width glyphs.",
1361
+ "href": "https://drafts.csswg.org/css-text-4/#valdef-text-spacing-trim-allow-end",
1362
+ "type": "value",
1363
+ "value": "allow-end"
1329
1364
  },
1330
1365
  {
1331
1366
  "name": "trim-all",
@@ -1520,7 +1555,7 @@
1520
1555
  "name": "<spacing-trim>",
1521
1556
  "href": "https://drafts.csswg.org/css-text-4/#typedef-spacing-trim",
1522
1557
  "type": "type",
1523
- "value": "space-all | normal | space-first | trim-start | trim-both | trim-all"
1558
+ "value": "[ trim-start | space-start | space-first ] || [ trim-adjacent | space-adjacent ] || [ trim-end | space-end | allow-end ] | trim-both | space-all | trim-all"
1524
1559
  }
1525
1560
  ]
1526
1561
  }
package/css-ui.json CHANGED
@@ -84,14 +84,23 @@
84
84
  {
85
85
  "name": "outline-offset",
86
86
  "href": "https://drafts.csswg.org/css-ui-4/#propdef-outline-offset",
87
- "value": "<length>",
87
+ "value": "<length> | inset",
88
88
  "initial": "0",
89
89
  "appliesTo": "all elements",
90
90
  "inherited": "no",
91
91
  "percentages": "N/A",
92
- "computedValue": "absolute length",
92
+ "computedValue": "absolute length or inset.",
93
93
  "canonicalOrder": "per grammar",
94
94
  "animationType": "by computed value",
95
+ "values": [
96
+ {
97
+ "name": "inset",
98
+ "prose": "Changes the used value of outline-offset to be the negative of the used outline thickness. To protect the user from fingerprinting of the user agent’s default outline style thickness, this value must compute to itself, rather than to an absolute length.",
99
+ "href": "https://drafts.csswg.org/css-ui-4/#valdef-outline-offset-inset",
100
+ "type": "value",
101
+ "value": "inset"
102
+ }
103
+ ],
95
104
  "styleDeclaration": [
96
105
  "outline-offset",
97
106
  "outlineOffset"
@@ -108,6 +117,50 @@
108
117
  "computedValue": "specified keyword",
109
118
  "canonicalOrder": "per grammar",
110
119
  "animationType": "discrete",
120
+ "values": [
121
+ {
122
+ "name": "none",
123
+ "prose": "The UA does not present a resizing mechanism on the element, and the user is given no direct manipulation mechanism to resize the element.",
124
+ "href": "https://drafts.csswg.org/css-ui-4/#valdef-resize-none",
125
+ "type": "value",
126
+ "value": "none"
127
+ },
128
+ {
129
+ "name": "both",
130
+ "prose": "The UA presents a bidirectional resizing mechanism to allow the user to adjust both the height and the width of the element.",
131
+ "href": "https://drafts.csswg.org/css-ui-4/#valdef-resize-both",
132
+ "type": "value",
133
+ "value": "both"
134
+ },
135
+ {
136
+ "name": "horizontal",
137
+ "prose": "The UA presents a unidirectional horizontal resizing mechanism to allow the user to adjust only the width of the element.",
138
+ "href": "https://drafts.csswg.org/css-ui-4/#valdef-resize-horizontal",
139
+ "type": "value",
140
+ "value": "horizontal"
141
+ },
142
+ {
143
+ "name": "vertical",
144
+ "prose": "The UA presents a unidirectional vertical resizing mechanism to allow the user to adjust only the height of the element.",
145
+ "href": "https://drafts.csswg.org/css-ui-4/#valdef-resize-vertical",
146
+ "type": "value",
147
+ "value": "vertical"
148
+ },
149
+ {
150
+ "name": "block",
151
+ "prose": "The UA presents a unidirectional block-axis resizing mechanism to allow the user to adjust only the block size of the element.",
152
+ "href": "https://drafts.csswg.org/css-ui-4/#valdef-resize-block",
153
+ "type": "value",
154
+ "value": "block"
155
+ },
156
+ {
157
+ "name": "inline",
158
+ "prose": "The UA presents a unidirectional inline-axis resizing mechanism to allow the user to adjust only the inline size of the element.",
159
+ "href": "https://drafts.csswg.org/css-ui-4/#valdef-resize-inline",
160
+ "type": "value",
161
+ "value": "inline"
162
+ }
163
+ ],
111
164
  "styleDeclaration": [
112
165
  "resize"
113
166
  ]
@@ -126,9 +179,9 @@
126
179
  "values": [
127
180
  {
128
181
  "name": "<cursor-image>",
129
- "value": "[ <url> | <url-set> ] <number>{2}?",
130
182
  "href": "https://drafts.csswg.org/css-ui-4/#valdef-cursor-cursor-image",
131
- "type": "value"
183
+ "type": "value",
184
+ "value": "[ <url> | <url-set> ] <number>{2}?"
132
185
  },
133
186
  {
134
187
  "name": "<cursor-image>",
package/css-values-5.json CHANGED
@@ -3,40 +3,7 @@
3
3
  "title": "CSS Values and Units Module Level 5",
4
4
  "url": "https://drafts.csswg.org/css-values-5/"
5
5
  },
6
- "properties": [
7
- {
8
- "name": "interpolate-size",
9
- "href": "https://drafts.csswg.org/css-values-5/#propdef-interpolate-size",
10
- "value": "numeric-only | allow-keywords",
11
- "initial": "numeric-only",
12
- "appliesTo": "all elements",
13
- "inherited": "yes",
14
- "percentages": "n/a",
15
- "computedValue": "as specified",
16
- "canonicalOrder": "per grammar",
17
- "animationType": "not animatable",
18
- "values": [
19
- {
20
- "name": "numeric-only",
21
- "prose": "A <size-keyword> can only be combined with a compatible <calc-size()>.",
22
- "href": "https://drafts.csswg.org/css-values-5/#valdef-interpolate-size-numeric-only",
23
- "type": "value",
24
- "value": "numeric-only"
25
- },
26
- {
27
- "name": "allow-keywords",
28
- "prose": "Sizing values can also be combined if one of them is an <size-keyword> and the other is a <length-percentage>. This is done by treating the <size-keyword> keyword as though it is calc-size(keyword, size) and applying the rules in § 11.2 Interpolating calc-size(). In other cases, a <size-keyword> still cannot be interpolated.",
29
- "href": "https://drafts.csswg.org/css-values-5/#valdef-interpolate-size-allow-keywords",
30
- "type": "value",
31
- "value": "allow-keywords"
32
- }
33
- ],
34
- "styleDeclaration": [
35
- "interpolate-size",
36
- "interpolateSize"
37
- ]
38
- }
39
- ],
6
+ "properties": [],
40
7
  "atrules": [],
41
8
  "selectors": [],
42
9
  "values": [
@@ -793,55 +760,6 @@
793
760
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-sibling-index",
794
761
  "type": "function",
795
762
  "value": "sibling-index()"
796
- },
797
- {
798
- "name": "calc-size()",
799
- "prose": "The calc-size() function allows math and transition/animation to be performed on these sizes in a safe, well-defined way. Its syntax is as follows:",
800
- "href": "https://drafts.csswg.org/css-values-5/#funcdef-calc-size",
801
- "type": "function",
802
- "value": "calc-size( <calc-size-basis>, <calc-sum> )",
803
- "values": [
804
- {
805
- "name": "<size-keyword>",
806
- "prose": "Indicates that the calc-size() is basing its size off of the specified keyword. Represents any sizing keywords allowed in the context where the function is used. For example, in width, it matches auto, min-content, stretch, etc. Also allows any related sizing functions, like the fit-content() function in width/etc., which is a variation of the fit-content keyword. For all purposes other than actually resolving the size, the calc-size() acts like this keyword. The calc-size calculation will use the corresponding size as the value of its size keyword.",
807
- "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-size-size-keyword",
808
- "type": "type"
809
- },
810
- {
811
- "name": "<calc-sum>",
812
- "prose": "Indicates that the calc-size() is basing its size off of the specified calculation. For all purposes other than actually resolving the size, the calc-size() acts like this calculation wrapped in a calc() (including, for example, whether it represents a definite or indefinite size). The calc-size calculation will use the corresponding size as the value of its size keyword.",
813
- "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-size-calc-sum",
814
- "type": "value",
815
- "value": "<calc-sum>"
816
- },
817
- {
818
- "name": "<calc-size()>",
819
- "prose": "Indicates that the outer calc-size() is basing its size off of this inner calc-size(), and will share the same behavior as it. The calc-size calculation will use the size of the inner calc-size() as its size keyword. The size keyword is allowed, in this case, even if the inner calc-size() uses any. For example, in calc-size(calc-size(min-content, size / 2), size + 10%), the outer calc-size() acts as if its calc-size basis was min-content, and will calculate its own size using the result of the inner calc-size(), equivalent to calc-size(min-content, size / 2 + 10%).",
820
- "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-size-calc-size",
821
- "type": "value",
822
- "value": "<calc-size()>"
823
- },
824
- {
825
- "name": "any",
826
- "prose": "Indicates that the calc-size() does not depend on any additional information, and thus can be interpolated with any other size. The calc-size() function represents a definite size. The calc-size calculation cannot use the size keyword; it is a syntax error for size to appear in the calc-size calculation.",
827
- "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-size-any",
828
- "type": "value",
829
- "value": "any"
830
- },
831
- {
832
- "name": "size",
833
- "prose": "Within the calc-size calculation, the size is a <calc-keyword> which is a <length>, and resolves at used value time to the size specified above.",
834
- "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-size-size",
835
- "type": "value",
836
- "value": "size"
837
- }
838
- ]
839
- },
840
- {
841
- "name": "<calc-size-basis>",
842
- "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-size-basis",
843
- "type": "type",
844
- "value": "[ <size-keyword> | <calc-sum> | <calc-size()> | any ]"
845
763
  }
846
764
  ],
847
765
  "warnings": [
@@ -864,15 +782,6 @@
864
782
  "msg": "Missing definition",
865
783
  "name": "interpolate-function()",
866
784
  "value": "interpolate-function( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? && <segment-options>? ] , <input-position>{1,2} : <output-value> , [ [ <easing-function> || <segment-options> ]? , <input-position>{1,2} : <output-value> ]#? )"
867
- },
868
- {
869
- "msg": "Dangling value",
870
- "name": "size",
871
- "prose": "Within the calc-size calculation, the size is a <calc-keyword> which is a <length>, and resolves at used value time to the size specified above.",
872
- "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-size-size",
873
- "type": "value",
874
- "value": "size",
875
- "for": "calc()"
876
785
  }
877
786
  ]
878
787
  }
package/css-values.json CHANGED
@@ -211,14 +211,14 @@
211
211
  },
212
212
  {
213
213
  "name": "ch",
214
- "prose": "Represents the typical advance measure of European alphanumeric characters, and measured as the used advance measure of the “0” (ZERO, U+0030) glyph in the font used to render it. (The advance measure of a glyph is its advance width or height, whichever is in the inline axis of the element.) In the cases where it is impossible or impractical to determine the measure of the “0” glyph, it must be assumed to be 0.5em wide by 1em tall. Thus, the ch unit falls back to 0.5em in the general case, and to 1em when it would be typeset upright (i.e. writing-mode is vertical-rl or vertical-lr and text-orientation is upright).",
214
+ "prose": "Represents the typical advance measure of European alphanumeric characters, and measured as the used advance measure of the “0” (ZERO, U+0030) glyph in the font used to render it. (The advance measure of a glyph is its advance width or height, whichever is in the inline axis of the element.) In the cases where it is impossible or impractical to determine the measure of the “0” glyph, it must be assumed to be 0.5em wide by 1em tall. Thus, the ch unit falls back to 0.5em in the general case, and to 1em when it would be typeset upright (i.e. writing-mode is vertical-rl or vertical-lr, and text-orientation is upright).",
215
215
  "href": "https://drafts.csswg.org/css-values-4/#ch",
216
216
  "type": "value",
217
217
  "value": "ch"
218
218
  },
219
219
  {
220
220
  "name": "ch unit",
221
- "prose": "Represents the typical advance measure of European alphanumeric characters, and measured as the used advance measure of the “0” (ZERO, U+0030) glyph in the font used to render it. (The advance measure of a glyph is its advance width or height, whichever is in the inline axis of the element.) In the cases where it is impossible or impractical to determine the measure of the “0” glyph, it must be assumed to be 0.5em wide by 1em tall. Thus, the ch unit falls back to 0.5em in the general case, and to 1em when it would be typeset upright (i.e. writing-mode is vertical-rl or vertical-lr and text-orientation is upright).",
221
+ "prose": "Represents the typical advance measure of European alphanumeric characters, and measured as the used advance measure of the “0” (ZERO, U+0030) glyph in the font used to render it. (The advance measure of a glyph is its advance width or height, whichever is in the inline axis of the element.) In the cases where it is impossible or impractical to determine the measure of the “0” glyph, it must be assumed to be 0.5em wide by 1em tall. Thus, the ch unit falls back to 0.5em in the general case, and to 1em when it would be typeset upright (i.e. writing-mode is vertical-rl or vertical-lr, and text-orientation is upright).",
222
222
  "href": "https://drafts.csswg.org/css-values-4/#ch",
223
223
  "type": "value",
224
224
  "value": "ch unit"
@@ -145,9 +145,16 @@
145
145
  "name": "display-mode",
146
146
  "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-display-mode",
147
147
  "for": "@media",
148
- "value": "fullscreen | standalone | minimal-ui | browser | picture-in-picture",
148
+ "value": "application | fullscreen | standalone | minimal-ui | browser | picture-in-picture",
149
149
  "type": "discrete",
150
150
  "values": [
151
+ {
152
+ "name": "application",
153
+ "prose": "The top-level browsing context is an application context.",
154
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-display-mode-application",
155
+ "type": "value",
156
+ "value": "application"
157
+ },
151
158
  {
152
159
  "name": "fullscreen",
153
160
  "prose": "The browsing context is displayed with browser UI elements hidden and takes up the entirety of the available display area. The fullscreen context may have been caused by the fullscreen display mode in the application manifest, by the requestFullscreen() method of the Fullscreen API, or through some other means (such as the user manually activating fullscreen mode using the user agent’s built-in controls). Corresponds to the fullscreen display mode.",
@@ -171,7 +178,7 @@
171
178
  },
172
179
  {
173
180
  "name": "browser",
174
- "prose": "The browsing context is displayed using the platform-specific convention for opening hyperlinks in the user agent (e.g., in a browser tab or web browser window with controls such as an address bar). This should be used for non-application contexts where no other display mode is appropriate. Corresponds to the browser display mode.",
181
+ "prose": "The browsing context is displayed using the platform-specific convention for opening hyperlinks in the user agent (e.g., in a browser tab or web browser window with controls such as an address bar). Matches when the browser display mode is in use, and in any non-application contexts. Corresponds to the browser display mode.",
175
182
  "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-display-mode-browser",
176
183
  "type": "value",
177
184
  "value": "browser"
@@ -674,6 +681,29 @@
674
681
  }
675
682
  ]
676
683
  },
684
+ {
685
+ "name": "prefers-bold-text",
686
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-prefers-bold-text",
687
+ "for": "@media",
688
+ "value": "no-preference | bold",
689
+ "type": "discrete",
690
+ "values": [
691
+ {
692
+ "name": "no-preference",
693
+ "prose": "Indicates that the user has made no preference known to the system. This keyword value evaluates as false in the boolean context.",
694
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-bold-text-no-preference",
695
+ "type": "value",
696
+ "value": "no-preference"
697
+ },
698
+ {
699
+ "name": "bold",
700
+ "prose": "Indicates that the user has notified the system that they prefer interface and page text to be rendered with a heavier/bolder weight.",
701
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-bold-text-bold",
702
+ "type": "value",
703
+ "value": "bold"
704
+ }
705
+ ]
706
+ },
677
707
  {
678
708
  "name": "prefers-reduced-data",
679
709
  "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-prefers-reduced-data",
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.25.18",
4
+ "version": "6.25.20",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/selectors-5.json CHANGED
@@ -14,13 +14,13 @@
14
14
  },
15
15
  {
16
16
  "name": ":interest-source",
17
- "prose": "The :interest-source pseudo-class applies to an interest source element that the user is currently \"showing interest\" in, and the :interest-target pseudo-class applies to the associated interest target of an element matching :interest-source.",
17
+ "prose": "The :interest-source pseudo-class applies to an interest source element that the user is currently showing interest in, and the :interest-target pseudo-class applies to the associated interest target of an element matching :interest-source.",
18
18
  "href": "https://drafts.csswg.org/selectors-5/#selectordef-interest-source",
19
19
  "value": ":interest-source"
20
20
  },
21
21
  {
22
22
  "name": ":interest-target",
23
- "prose": "The :interest-source pseudo-class applies to an interest source element that the user is currently \"showing interest\" in, and the :interest-target pseudo-class applies to the associated interest target of an element matching :interest-source.",
23
+ "prose": "The :interest-source pseudo-class applies to an interest source element that the user is currently showing interest in, and the :interest-target pseudo-class applies to the associated interest target of an element matching :interest-source.",
24
24
  "href": "https://drafts.csswg.org/selectors-5/#selectordef-interest-target",
25
25
  "value": ":interest-target"
26
26
  },
@@ -99,6 +99,12 @@
99
99
  "href": "https://drafts.csswg.org/selectors-5/#typedef-combinator",
100
100
  "type": "type",
101
101
  "value": "'>' | '+' | '~' | [ '|' '|' ] | [ / <wq-name> / ]"
102
+ },
103
+ {
104
+ "name": "<class-selector>",
105
+ "href": "https://drafts.csswg.org/selectors-5/#typedef-class-selector",
106
+ "type": "type",
107
+ "value": "'.' <ident-token> '*'?"
102
108
  }
103
109
  ]
104
110
  }