@webref/css 6.17.0 → 6.17.1

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.
@@ -7,18 +7,18 @@
7
7
  {
8
8
  "name": "dynamic-range-limit",
9
9
  "href": "https://drafts.csswg.org/css-color-hdr/#propdef-dynamic-range-limit",
10
- "value": "standard | high | constrained-high",
10
+ "value": "standard | high | constrained-high | <dynamic-range-limit-mix()>",
11
11
  "initial": "high",
12
12
  "appliesTo": "all elements",
13
13
  "inherited": "no",
14
14
  "percentages": "n/a",
15
- "computedValue": "specified value",
15
+ "computedValue": "see Computed Value for dynamic-range-limit",
16
16
  "canonicalOrder": "per grammar",
17
17
  "animationType": "by dynamic-range-limit-mix()",
18
18
  "values": [
19
19
  {
20
20
  "name": "standard",
21
- "prose": "The highest luminance color that is displayed is the same as ' media white, i.e. the CSS color white.",
21
+ "prose": "The highest luminance color that is displayed is the same as media white, i.e. the CSS color white.",
22
22
  "href": "https://drafts.csswg.org/css-color-hdr/#valdef-dynamic-range-limit-standard",
23
23
  "type": "value",
24
24
  "value": "standard"
@@ -51,7 +51,7 @@
51
51
  "name": "dynamic-range-limit-mix()",
52
52
  "href": "https://drafts.csswg.org/css-color-hdr/#funcdef-dynamic-range-limit-mix",
53
53
  "type": "function",
54
- "value": "dynamic-range-limit-mix( [ <ident> && <percentage [0,100]>? ]#{2})"
54
+ "value": "dynamic-range-limit-mix( [ <ident> && <percentage [0,100]> ]+)"
55
55
  },
56
56
  {
57
57
  "name": "color()",
@@ -232,7 +232,7 @@
232
232
  },
233
233
  {
234
234
  "name": "fade()",
235
- "value": "fade( [ <length> | <percentage> ] )",
235
+ "value": "fade( [ <length-percentage> ] )",
236
236
  "href": "https://drafts.csswg.org/css-overflow-4/#funcdef-text-overflow-fade",
237
237
  "type": "function"
238
238
  },
@@ -316,6 +316,7 @@
316
316
  },
317
317
  {
318
318
  "name": "<block-ellipsis>",
319
+ "prose": "Sets continue to discard if either or both values ares specified. Sets max-lines to the specified <integer> or to none if omitted, and block-ellipsis to other component of the value if specified or to auto if omitted.",
319
320
  "href": "https://drafts.csswg.org/css-overflow-4/#valdef-line-clamp-block-ellipsis",
320
321
  "type": "value",
321
322
  "value": "<block-ellipsis>"
@@ -84,7 +84,7 @@
84
84
  "selectors": [
85
85
  {
86
86
  "name": "::scroll-marker-group",
87
- "prose": "The ::scroll-marker-group pseudo-element box is generated by a scroll container element having a computed scroll-marker-group property that is not none, representing a stylable sibling pseudo-element immediately adjacent to the scroll container.",
87
+ "prose": "The ::scroll-marker-group fully stylable pseudo-element is generated by a scroll container element having a computed scroll-marker-group property that is not none, adjacent to the scroll container.",
88
88
  "href": "https://drafts.csswg.org/css-overflow-5/#selectordef-scroll-marker-group"
89
89
  },
90
90
  {
@@ -276,7 +276,7 @@
276
276
  {
277
277
  "name": "float-offset",
278
278
  "href": "https://drafts.csswg.org/css-page-floats-3/#propdef-float-offset",
279
- "value": "<length> | <percentage>",
279
+ "value": "<length-percentage>",
280
280
  "initial": "0",
281
281
  "appliesTo": "floats",
282
282
  "inherited": "no",
package/css-text-4.json CHANGED
@@ -123,7 +123,7 @@
123
123
  "value": "normal | pre | pre-wrap | pre-line | <'white-space-collapse'> || <'text-wrap-mode'> || <'white-space-trim'>",
124
124
  "initial": "normal",
125
125
  "appliesTo": "text",
126
- "inherited": "individual properties",
126
+ "inherited": "see individual properties",
127
127
  "percentages": "n/a",
128
128
  "computedValue": "specified keyword",
129
129
  "canonicalOrder": "n/a",
package/css-ui.json CHANGED
@@ -7,7 +7,7 @@
7
7
  {
8
8
  "name": "outline",
9
9
  "href": "https://drafts.csswg.org/css-ui-4/#propdef-outline",
10
- "value": "[ <'outline-width'> || <'outline-style'> || <'outline-color'> ]",
10
+ "value": "<'outline-width'> || <'outline-style'> || <'outline-color'>",
11
11
  "initial": "see individual properties",
12
12
  "appliesTo": "all elements",
13
13
  "inherited": "no",
@@ -54,7 +54,7 @@
54
54
  {
55
55
  "name": "outline-color",
56
56
  "href": "https://drafts.csswg.org/css-ui-4/#propdef-outline-color",
57
- "value": "auto | [ <color> | <image-1D> ]",
57
+ "value": "auto | <color> | <image-1D>",
58
58
  "initial": "auto",
59
59
  "appliesTo": "all elements",
60
60
  "inherited": "no",
package/css-values-5.json CHANGED
@@ -44,7 +44,7 @@
44
44
  "name": "<syntax>",
45
45
  "href": "https://drafts.csswg.org/css-values-5/#typedef-syntax",
46
46
  "type": "type",
47
- "value": "'*' | <syntax-component> [ <syntax-combinator> <syntax-component> ]+"
47
+ "value": "'*' | <syntax-component> [ <syntax-combinator> <syntax-component> ]* | <syntax-string>"
48
48
  },
49
49
  {
50
50
  "name": "<syntax-component>",
@@ -76,6 +76,12 @@
76
76
  "type": "type",
77
77
  "value": "[ '#' | '+' ]"
78
78
  },
79
+ {
80
+ "name": "<syntax-string>",
81
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-syntax-string",
82
+ "type": "type",
83
+ "value": "<string>"
84
+ },
79
85
  {
80
86
  "name": "<request-url-modifier>",
81
87
  "prose": "<request-url-modifier>s are <url-modifier>s that affect the <url>’s resource request by applying associated URL request modifier steps. See CSS Values 4 § 4.5.4 URL Processing Model.",
@@ -326,7 +332,7 @@
326
332
  "name": "<progress()>",
327
333
  "href": "https://drafts.csswg.org/css-values-5/#typedef-progress-fn",
328
334
  "type": "type",
329
- "value": "progress(<calc-sum> from <calc-sum> to <calc-sum>)"
335
+ "value": "progress(<calc-sum>, <calc-sum>, <calc-sum>)"
330
336
  },
331
337
  {
332
338
  "name": "media-progress()",
@@ -338,7 +344,7 @@
338
344
  "name": "<media-progress()>",
339
345
  "href": "https://drafts.csswg.org/css-values-5/#typedef-media-progress",
340
346
  "type": "type",
341
- "value": "media-progress(<media-feature> from <calc-sum> to <calc-sum>)"
347
+ "value": "media-progress(<mf-name>, <calc-sum>, <calc-sum>)"
342
348
  },
343
349
  {
344
350
  "name": "container-progress()",
@@ -350,7 +356,7 @@
350
356
  "name": "<container-progress()>",
351
357
  "href": "https://drafts.csswg.org/css-values-5/#typedef-container-progress",
352
358
  "type": "type",
353
- "value": "container-progress(<size-feature> [ of <container-name> ]? from <calc-sum> to <calc-sum>)"
359
+ "value": "container-progress(<mf-name> [ of <container-name> ]?, <calc-sum>, <calc-sum>)"
354
360
  },
355
361
  {
356
362
  "name": "<progress>",
@@ -423,7 +429,7 @@
423
429
  "name": "<mix()>",
424
430
  "href": "https://drafts.csswg.org/css-values-5/#typedef-mix",
425
431
  "type": "type",
426
- "value": "mix( <progress> , <whole-value> , <whole-value> ) | mix( <progress> && of <'animation-name'> )"
432
+ "value": "mix( <progress> , <whole-value> , <whole-value> ) | mix( <progress> && of <keyframes-name> )"
427
433
  },
428
434
  {
429
435
  "name": "first-valid()",
@@ -437,6 +443,38 @@
437
443
  "type": "type",
438
444
  "value": "first-valid( <declaration-value># )"
439
445
  },
446
+ {
447
+ "name": "if()",
448
+ "prose": "The if() notation is an arbitrary substitution function that represents conditional values. Its argument consists of an ordered semi-colon–separated list of statements, each consisting of a condition followed by a colon followed by a value. An if() notation represents the value corresponding to the first condition in its argument list to be true; if no condition matches, then the if() notation represents an empty token stream.",
449
+ "href": "https://drafts.csswg.org/css-values-5/#funcdef-if",
450
+ "type": "function",
451
+ "values": [
452
+ {
453
+ "name": "else",
454
+ "prose": "The else keyword represents a condition that is always true.",
455
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-if-else",
456
+ "type": "value",
457
+ "value": "else"
458
+ }
459
+ ]
460
+ },
461
+ {
462
+ "name": "<if()>",
463
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-if",
464
+ "type": "type",
465
+ "value": "if( [ <if-condition> : <declaration-value>? ; ]* <if-condition> : <declaration-value>? ';'? )"
466
+ },
467
+ {
468
+ "name": "<if-condition>",
469
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-if-condition",
470
+ "type": "type"
471
+ },
472
+ {
473
+ "name": "<if-test>",
474
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-if-test",
475
+ "type": "type",
476
+ "value": "supports( [ <supports-condition> | <ident> : <declaration-value> ] ) | media( <media-query> ) | style( <style-query> )"
477
+ },
440
478
  {
441
479
  "name": "toggle()",
442
480
  "prose": "The toggle() expression allows descendant elements to cycle over a list of values instead of inheriting the same value.",
@@ -449,91 +487,24 @@
449
487
  "type": "type",
450
488
  "value": "toggle( <whole-value># )"
451
489
  },
490
+ {
491
+ "name": "inherit()",
492
+ "prose": "Like the inherit keyword, the inherit() functional notation resolves to the computed value of a property on the parent. Rather than resolving to the value of the same property, however, it resolves to the tokenized computed value of the property specified as its first argument. Its second argument, if present, is used as a fallback in case the first argument resolves to the guaranteed-invalid value.",
493
+ "href": "https://drafts.csswg.org/css-values-5/#funcdef-inherit",
494
+ "type": "function"
495
+ },
496
+ {
497
+ "name": "<inherit()>",
498
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-inherit",
499
+ "type": "type",
500
+ "value": "inherit( <custom-property-name>, <declaration-value>? )"
501
+ },
452
502
  {
453
503
  "name": "attr()",
454
504
  "prose": "The attr() function substitutes the value of an attribute on an element into a property, similar to how the var() function substitutes a custom property value into a function.",
455
505
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-attr",
456
506
  "type": "function",
457
- "value": "attr( <attr-name> <attr-type>? , <declaration-value>?)",
458
- "values": [
459
- {
460
- "name": "string",
461
- "prose": "The substitution value is a CSS string, whose value is the literal value of the attribute. (No CSS parsing or \"cleanup\" of the value is performed.) No value triggers fallback.",
462
- "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-string",
463
- "type": "value",
464
- "value": "string"
465
- },
466
- {
467
- "name": "ident",
468
- "prose": "The substitution value is a CSS <custom-ident>, whose value is the literal value of the attribute, with leading and trailing ASCII whitespace stripped. (No CSS parsing of the value is performed.) If the attribute value, after trimming, is the empty string, there is instead no substitution value. If the <custom-ident>’s value is a CSS-wide keyword or default, there is instead no substitution value.",
469
- "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-ident",
470
- "type": "value",
471
- "value": "ident"
472
- },
473
- {
474
- "name": "color",
475
- "prose": "Parse a component value from the attribute’s value. If the result is a <hex-color> or a named color ident, the substitution value is that result as a <color>. Otherwise there is no substitution value.",
476
- "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-color",
477
- "type": "value",
478
- "value": "color"
479
- },
480
- {
481
- "name": "number",
482
- "prose": "Parse a component value from the attribute’s value. If the result is a <number-token>, the result is the substitution value. Otherwise, there is no substitution value.",
483
- "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-number",
484
- "type": "value",
485
- "value": "number"
486
- },
487
- {
488
- "name": "percentage",
489
- "prose": "Parse a component value from the attribute’s value. If the result is a <percentage-token>, the result is the substitution value. Otherwise, there is no substitution value.",
490
- "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-percentage",
491
- "type": "value",
492
- "value": "percentage"
493
- },
494
- {
495
- "name": "length",
496
- "prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
497
- "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-length",
498
- "type": "value",
499
- "value": "length"
500
- },
501
- {
502
- "name": "angle",
503
- "prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
504
- "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-angle",
505
- "type": "value",
506
- "value": "angle"
507
- },
508
- {
509
- "name": "time",
510
- "prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
511
- "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-time",
512
- "type": "value",
513
- "value": "time"
514
- },
515
- {
516
- "name": "frequency",
517
- "prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
518
- "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-frequency",
519
- "type": "value",
520
- "value": "frequency"
521
- },
522
- {
523
- "name": "flex",
524
- "prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
525
- "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-flex",
526
- "type": "value",
527
- "value": "flex"
528
- },
529
- {
530
- "name": "<dimension-unit>",
531
- "prose": "Parse a component value from the attribute’s value. If the result is a <number-token>, the substitution value is a dimension with the result’s value, and the given unit. Otherwise, there is no substitution value.",
532
- "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-dimension-unit",
533
- "type": "value",
534
- "value": "<dimension-unit>"
535
- }
536
- ]
507
+ "value": "attr( <attr-name> <syntax>? , <declaration-value>?)"
537
508
  },
538
509
  {
539
510
  "name": "<attr-name>",
@@ -541,18 +512,6 @@
541
512
  "type": "type",
542
513
  "value": "[ <ident-token> '|' ]? <ident-token>"
543
514
  },
544
- {
545
- "name": "<attr-type>",
546
- "href": "https://drafts.csswg.org/css-values-5/#typedef-attr-type",
547
- "type": "type",
548
- "value": "string | ident | color | number | percentage | length | angle | time | frequency | flex | <dimension-unit>"
549
- },
550
- {
551
- "name": "<dimension-unit>",
552
- "prose": "The <dimension-unit> production matches a literal \"%\" character (that is, a <delim-token> with a value of \"%\") or an ident whose value is any of the CSS units for <length>, <angle>, <time>, <frequency>, or <flex> values (such as px or ms).",
553
- "href": "https://drafts.csswg.org/css-values-5/#typedef-dimension-unit",
554
- "type": "type"
555
- },
556
515
  {
557
516
  "name": "random()",
558
517
  "prose": "The random() function is a math function that represents a random value between a minimum and maximum value, drawn from a uniform distribution, optionally limiting the possible values to a step between those limits:",
@@ -621,6 +580,16 @@
621
580
  }
622
581
  ],
623
582
  "warnings": [
583
+ {
584
+ "msg": "Missing definition",
585
+ "name": "]>",
586
+ "value": "not <boolean-group> | <boolean-group> [ [ and <boolean-group> ]* | [ or <boolean-group> ]* ]"
587
+ },
588
+ {
589
+ "msg": "Missing definition",
590
+ "name": "<boolean-group>",
591
+ "value": "<test> | ( <boolean[ <test> ]> ) | <general-enclosed>"
592
+ },
624
593
  {
625
594
  "msg": "Missing definition",
626
595
  "name": "progress-function()",
package/css-values.json CHANGED
@@ -780,54 +780,6 @@
780
780
  "type": "type",
781
781
  "value": "e | pi | infinity | -infinity | NaN"
782
782
  },
783
- {
784
- "name": "<boolean>",
785
- "href": "https://drafts.csswg.org/css-values-4/#typedef-boolean",
786
- "type": "type",
787
- "value": "<bool-not> | <bool-in-parens> [ <bool-and>* | <bool-or>* ]"
788
- },
789
- {
790
- "name": "<boolean-without-or>",
791
- "href": "https://drafts.csswg.org/css-values-4/#typedef-boolean-without-or",
792
- "type": "type",
793
- "value": "<bool-not> | <bool-in-parens> <bool-and>*"
794
- },
795
- {
796
- "name": "<bool-not>",
797
- "href": "https://drafts.csswg.org/css-values-4/#typedef-bool-not",
798
- "type": "type",
799
- "value": "not <bool-in-parens>"
800
- },
801
- {
802
- "name": "<bool-and>",
803
- "href": "https://drafts.csswg.org/css-values-4/#typedef-bool-and",
804
- "type": "type",
805
- "value": "and <bool-in-parens>"
806
- },
807
- {
808
- "name": "<bool-or>",
809
- "href": "https://drafts.csswg.org/css-values-4/#typedef-bool-or",
810
- "type": "type",
811
- "value": "or <bool-in-parens>"
812
- },
813
- {
814
- "name": "<bool-in-parens>",
815
- "href": "https://drafts.csswg.org/css-values-4/#typedef-bool-in-parens",
816
- "type": "type",
817
- "value": "( <boolean> ) | <bool-test> | <general-enclosed>"
818
- },
819
- {
820
- "name": "<general-enclosed>",
821
- "href": "https://drafts.csswg.org/css-values-4/#typedef-general-enclosed",
822
- "type": "type",
823
- "value": "[ <function-token> <any-value>? ) ] | [ ( <any-value>? ) ]"
824
- },
825
- {
826
- "name": "<bool-test>",
827
- "prose": "Each specification using <boolean> must define what things are valid as <bool-test> values in that context, and whether it uses 2-value or 3-value logic. As well, <bool-test> values should either be wrapped in parentheses or be functions; if a specification needs to express some conditions in a different way, please contact the CSSWG for review.",
828
- "href": "https://drafts.csswg.org/css-values-4/#typedef-bool-test",
829
- "type": "type"
830
- },
831
783
  {
832
784
  "name": "<quirky-length>",
833
785
  "prose": "When CSS is being parsed in quirks mode, <quirky-length> is a type of <length> that is only valid in certain properties:",
package/motion.json CHANGED
@@ -26,7 +26,7 @@
26
26
  },
27
27
  {
28
28
  "name": "<offset-path> || <coord-box>",
29
- "prose": "The element has an offset transform, defined by some offset path. See § 2.7 Calculating The Offset Transform for details on how to calculate the offset transform. All the usual effects of having a transform apply (such as creating a stacking context, etc.) See CSS Transforms 1 § 2 The Transform Rendering Model for details. If <offset-path> is omitted, it defaults to inset(0 round X), where X is the value of border-radius on the element that establishes the containing block for this element. If <coord-box> is omitted, it defaults to border-box. See the specific values (below) for the interpretation of each component.",
29
+ "prose": "The element has an offset transform, defined by some offset path. See § 2.7 Calculating The Offset Transform for details on how to calculate the offset transform. All the usual effects of having a transform apply (such as creating a stacking context, etc.) See CSS Transforms 1 § 3 The Transform Rendering Model for details. If <offset-path> is omitted, it defaults to inset(0 round X), where X is the value of border-radius on the element that establishes the containing block for this element. If <coord-box> is omitted, it defaults to border-box. See the specific values (below) for the interpretation of each component.",
30
30
  "href": "https://drafts.fxtf.org/motion-1/#valdef-offset-path-offset-path--coord-box",
31
31
  "type": "value",
32
32
  "value": "<offset-path> || <coord-box>"
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.17.0",
4
+ "version": "6.17.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"