@webref/css 8.6.1 → 8.7.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.
Files changed (2) hide show
  1. package/css.json +74 -29
  2. package/package.json +1 -1
package/css.json CHANGED
@@ -658,6 +658,13 @@
658
658
  "type": "discrete",
659
659
  "syntax": "fullscreen | standalone | minimal-ui | browser | picture-in-picture"
660
660
  },
661
+ {
662
+ "name": "display-state",
663
+ "href": "https://w3c.github.io/window-management/#descdef-media-display-state",
664
+ "for": "@media",
665
+ "type": "discrete",
666
+ "syntax": "normal | minimized | maximized | fullscreen"
667
+ },
661
668
  {
662
669
  "name": "dynamic-range",
663
670
  "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-dynamic-range",
@@ -791,6 +798,13 @@
791
798
  "type": "discrete",
792
799
  "syntax": "no-preference | reduce"
793
800
  },
801
+ {
802
+ "name": "resizable",
803
+ "href": "https://w3c.github.io/window-management/#descdef-media-resizable",
804
+ "for": "@media",
805
+ "type": "discrete",
806
+ "syntax": "true | false"
807
+ },
794
808
  {
795
809
  "name": "resolution",
796
810
  "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-resolution",
@@ -869,7 +883,7 @@
869
883
  "name": "@mixin",
870
884
  "href": "https://drafts.csswg.org/css-mixins-1/#at-ruledef-mixin",
871
885
  "descriptors": [],
872
- "syntax": "@mixin <function-token> <function-parameter>#? ) { <declaration-rule-list> }",
886
+ "syntax": "@mixin [<function-token> <function-parameter>#? ) | <ident-token> ] { <declaration-rule-list> }",
873
887
  "extended": []
874
888
  },
875
889
  {
@@ -1245,6 +1259,7 @@
1245
1259
  },
1246
1260
  {
1247
1261
  "name": "calc-size()",
1262
+ "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:",
1248
1263
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-calc-size",
1249
1264
  "syntax": "calc-size( <calc-size-basis>, <calc-sum> )",
1250
1265
  "extended": []
@@ -3436,7 +3451,28 @@
3436
3451
  },
3437
3452
  {
3438
3453
  "name": "animation-delay",
3439
- "href": "https://drafts.csswg.org/css-animations-1/#propdef-animation-delay",
3454
+ "href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-delay",
3455
+ "initial": "see individual properties",
3456
+ "appliesTo": "see individual properties",
3457
+ "inherited": "see individual properties",
3458
+ "percentages": "see individual properties",
3459
+ "computedValue": "see individual properties",
3460
+ "animationType": "see individual properties",
3461
+ "canonicalOrder": "per grammar",
3462
+ "styleDeclaration": [
3463
+ "animation-delay",
3464
+ "animationDelay"
3465
+ ],
3466
+ "longhands": [
3467
+ "animation-delay-start",
3468
+ "animation-delay-end"
3469
+ ],
3470
+ "syntax": "[ <'animation-delay-start'> <'animation-delay-end'>? ]#",
3471
+ "extended": []
3472
+ },
3473
+ {
3474
+ "name": "animation-delay-end",
3475
+ "href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-delay-end",
3440
3476
  "initial": "0s",
3441
3477
  "appliesTo": "all elements",
3442
3478
  "inherited": "no",
@@ -3445,8 +3481,25 @@
3445
3481
  "canonicalOrder": "per grammar",
3446
3482
  "animationType": "not animatable",
3447
3483
  "styleDeclaration": [
3448
- "animation-delay",
3449
- "animationDelay"
3484
+ "animation-delay-end",
3485
+ "animationDelayEnd"
3486
+ ],
3487
+ "syntax": "<time [0s,∞]>#",
3488
+ "extended": []
3489
+ },
3490
+ {
3491
+ "name": "animation-delay-start",
3492
+ "href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-delay-start",
3493
+ "initial": "0s",
3494
+ "appliesTo": "all elements",
3495
+ "inherited": "no",
3496
+ "percentages": "N/A",
3497
+ "computedValue": "list, each item a duration",
3498
+ "canonicalOrder": "per grammar",
3499
+ "animationType": "not animatable",
3500
+ "styleDeclaration": [
3501
+ "animation-delay-start",
3502
+ "animationDelayStart"
3450
3503
  ],
3451
3504
  "syntax": "<time>#",
3452
3505
  "extended": []
@@ -17156,7 +17209,7 @@
17156
17209
  },
17157
17210
  {
17158
17211
  "name": ":any-link",
17159
- "prose": "The :any-link pseudo-class represents an element that acts as the source anchor of a hyperlink. For example, in [HTML5], any a or area elements with an href attribute are hyperlinks, and thus match :any-link. It matches an element if the element would match either :link or :visited, and is equivalent to :is(:link, :visited).",
17212
+ "prose": "The :any-link pseudo-class represents an element that acts as the source anchor of a hyperlink. For example, in [HTML], any a or area elements with an href attribute are hyperlinks, and thus match :any-link. It matches an element if the element would match either :link or :visited, and is equivalent to :is(:link, :visited).",
17160
17213
  "href": "https://drafts.csswg.org/selectors-4/#any-link-pseudo",
17161
17214
  "syntax": ":any-link",
17162
17215
  "extended": []
@@ -17190,7 +17243,7 @@
17190
17243
  },
17191
17244
  {
17192
17245
  "name": ":checked",
17193
- "prose": "When such elements are toggled “on” the :checked pseudo-class applies. For example, [HTML5] defines that checked checkboxes, radio buttons, and selected <option> elements match :checked. Similarly, when such elements are toggled “off”, the :unchecked pseudo-class applies.",
17246
+ "prose": "When such elements are toggled “on” the :checked pseudo-class applies. For example, [HTML] defines that checked checkboxes, radio buttons, and selected <option> elements match :checked. Similarly, when such elements are toggled “off”, the :unchecked pseudo-class applies.",
17194
17247
  "href": "https://drafts.csswg.org/selectors-4/#checked-pseudo",
17195
17248
  "syntax": ":checked",
17196
17249
  "extended": []
@@ -17224,7 +17277,7 @@
17224
17277
  },
17225
17278
  {
17226
17279
  "name": ":dir()",
17227
- "prose": "The :dir() pseudo-class allows the author to write selectors that represent an element based on its directionality as determined by the document language. For example, [HTML5] defines how to determine the directionality of an element, based on a combination of the dir attribute, the surrounding text, and other factors. As another example, the its:dir and dirRule element of the Internationalization Tag Set [ITS20] are able to define the directionality of an element in [XML10].",
17280
+ "prose": "The :dir() pseudo-class allows the author to write selectors that represent an element based on its directionality as determined by the document language. For example, [HTML] defines how to determine the directionality of an element, based on a combination of the dir attribute, the surrounding text, and other factors. As another example, the its:dir and dirRule element of the Internationalization Tag Set [ITS20] are able to define the directionality of an element in [XML10].",
17228
17281
  "href": "https://drafts.csswg.org/selectors-4/#dir-pseudo",
17229
17282
  "extended": []
17230
17283
  },
@@ -17414,7 +17467,7 @@
17414
17467
  },
17415
17468
  {
17416
17469
  "name": ":invalid",
17417
- "prose": "An element is :valid or :invalid when its contents or value is, respectively, valid or invalid with respect to data validity semantics defined by the document language (e.g. [XFORMS11] or [HTML5]). An element which lacks data validity semantics is neither :valid nor :invalid.",
17470
+ "prose": "An element is :valid or :invalid when its contents or value is, respectively, valid or invalid with respect to data validity semantics defined by the document language (e.g. [XFORMS11] or [HTML]). An element which lacks data validity semantics is neither :valid nor :invalid.",
17418
17471
  "href": "https://drafts.csswg.org/selectors-4/#invalid-pseudo",
17419
17472
  "syntax": ":invalid",
17420
17473
  "extended": []
@@ -17632,7 +17685,7 @@
17632
17685
  },
17633
17686
  {
17634
17687
  "name": ":placeholder-shown",
17635
- "prose": "Input elements can sometimes show placeholder text as a hint to the user on what to type in. See, for example, the placeholder attribute in [HTML5]. The :placeholder-shown pseudo-class matches an input element that is showing such placeholder text, whether that text is given by an attribute or a real element, or is otherwise implied by the UA.",
17688
+ "prose": "Input elements can sometimes show placeholder text as a hint to the user on what to type in. See, for example, the placeholder attribute in [HTML]. The :placeholder-shown pseudo-class matches an input element that is showing such placeholder text, whether that text is given by an attribute or a real element, or is otherwise implied by the UA.",
17636
17689
  "href": "https://drafts.csswg.org/selectors-4/#placeholder-shown-pseudo",
17637
17690
  "syntax": ":placeholder-shown",
17638
17691
  "extended": []
@@ -17785,7 +17838,7 @@
17785
17838
  },
17786
17839
  {
17787
17840
  "name": ":unchecked",
17788
- "prose": "When such elements are toggled “on” the :checked pseudo-class applies. For example, [HTML5] defines that checked checkboxes, radio buttons, and selected <option> elements match :checked. Similarly, when such elements are toggled “off”, the :unchecked pseudo-class applies.",
17841
+ "prose": "When such elements are toggled “on” the :checked pseudo-class applies. For example, [HTML] defines that checked checkboxes, radio buttons, and selected <option> elements match :checked. Similarly, when such elements are toggled “off”, the :unchecked pseudo-class applies.",
17789
17842
  "href": "https://drafts.csswg.org/selectors-4/#unchecked-pseudo",
17790
17843
  "syntax": ":unchecked",
17791
17844
  "extended": []
@@ -17806,7 +17859,7 @@
17806
17859
  },
17807
17860
  {
17808
17861
  "name": ":valid",
17809
- "prose": "An element is :valid or :invalid when its contents or value is, respectively, valid or invalid with respect to data validity semantics defined by the document language (e.g. [XFORMS11] or [HTML5]). An element which lacks data validity semantics is neither :valid nor :invalid.",
17862
+ "prose": "An element is :valid or :invalid when its contents or value is, respectively, valid or invalid with respect to data validity semantics defined by the document language (e.g. [XFORMS11] or [HTML]). An element which lacks data validity semantics is neither :valid nor :invalid.",
17810
17863
  "href": "https://drafts.csswg.org/selectors-4/#valid-pseudo",
17811
17864
  "syntax": ":valid",
17812
17865
  "extended": []
@@ -18313,7 +18366,7 @@
18313
18366
  {
18314
18367
  "name": "calc-size-basis",
18315
18368
  "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-size-basis",
18316
- "syntax": "[ <size-keyword> | <calc-size()> | any | <calc-sum> ]",
18369
+ "syntax": "[ <size-keyword> | <calc-sum> | <calc-size()> | any ]",
18317
18370
  "extended": []
18318
18371
  },
18319
18372
  {
@@ -19186,7 +19239,7 @@
19186
19239
  {
19187
19240
  "name": "generic-voice",
19188
19241
  "href": "https://drafts.csswg.org/css-speech-1/#typedef-generic-voice",
19189
- "syntax": "<age>? <gender> <integer>?",
19242
+ "syntax": "<age>? <gender> <integer [1,∞]>?",
19190
19243
  "extended": []
19191
19244
  },
19192
19245
  {
@@ -20422,7 +20475,7 @@
20422
20475
  {
20423
20476
  "name": "route-location",
20424
20477
  "href": "https://drafts.csswg.org/css-navigation-1/#typedef-route-location",
20425
- "syntax": "<url> | [ [ <route-name> | <url-pattern()> ] <url-pattern-param-matcher>? ]",
20478
+ "syntax": "<url> | [ <route-name> | <url-pattern()> ]",
20426
20479
  "extended": []
20427
20480
  },
20428
20481
  {
@@ -20597,7 +20650,7 @@
20597
20650
  {
20598
20651
  "name": "single-animation",
20599
20652
  "href": "https://drafts.csswg.org/css-animations-2/#typedef-single-animation",
20600
- "syntax": "<'animation-duration'> || <easing-function> || <'animation-delay'> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ] || <single-animation-timeline>",
20653
+ "syntax": "<'animation-duration'> || <easing-function> || <'animation-delay-start'> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ] || <single-animation-timeline>",
20601
20654
  "extended": []
20602
20655
  },
20603
20656
  {
@@ -20655,9 +20708,12 @@
20655
20708
  "extended": []
20656
20709
  },
20657
20710
  {
20711
+ "for": [
20712
+ "calc-size()"
20713
+ ],
20658
20714
  "name": "size-keyword",
20659
- "prose": "The <size-keyword> production matches any sizing keywords allowed in the context. For example, in width, it matches auto, min-content, stretch, etc.",
20660
- "href": "https://drafts.csswg.org/css-values-5/#typedef-size-keyword",
20715
+ "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.",
20716
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-size-size-keyword",
20661
20717
  "extended": []
20662
20718
  },
20663
20719
  {
@@ -21085,18 +21141,6 @@
21085
21141
  "href": "https://drafts.csswg.org/css-values-4/#typedef-url-modifier",
21086
21142
  "extended": []
21087
21143
  },
21088
- {
21089
- "name": "url-pattern-param",
21090
- "href": "https://drafts.csswg.org/css-navigation-1/#typedef-url-pattern-param",
21091
- "syntax": "<ident>: <any-value>",
21092
- "extended": []
21093
- },
21094
- {
21095
- "name": "url-pattern-param-matcher",
21096
- "href": "https://drafts.csswg.org/css-navigation-1/#typedef-url-pattern-param-matcher",
21097
- "syntax": "with (<url-pattern-param># | [ all from <url> ])",
21098
- "extended": []
21099
- },
21100
21144
  {
21101
21145
  "for": [
21102
21146
  "cursor"
@@ -21131,6 +21175,7 @@
21131
21175
  "name": "view-transition-type",
21132
21176
  "prose": "where <view-transition-type> is any <custom-ident> other than none, and not starting with the string \"-ua-\".",
21133
21177
  "href": "https://drafts.csswg.org/css-view-transitions-2/#typedef-view-transition-type",
21178
+ "syntax": "<custom-ident>",
21134
21179
  "extended": []
21135
21180
  },
21136
21181
  {
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": "8.6.1",
4
+ "version": "8.7.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"