@webref/css 8.7.0 → 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 +58 -15
  2. package/package.json +1 -1
package/css.json CHANGED
@@ -883,7 +883,7 @@
883
883
  "name": "@mixin",
884
884
  "href": "https://drafts.csswg.org/css-mixins-1/#at-ruledef-mixin",
885
885
  "descriptors": [],
886
- "syntax": "@mixin <function-token> <function-parameter>#? ) { <declaration-rule-list> }",
886
+ "syntax": "@mixin [<function-token> <function-parameter>#? ) | <ident-token> ] { <declaration-rule-list> }",
887
887
  "extended": []
888
888
  },
889
889
  {
@@ -1259,6 +1259,7 @@
1259
1259
  },
1260
1260
  {
1261
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:",
1262
1263
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-calc-size",
1263
1264
  "syntax": "calc-size( <calc-size-basis>, <calc-sum> )",
1264
1265
  "extended": []
@@ -3450,7 +3451,28 @@
3450
3451
  },
3451
3452
  {
3452
3453
  "name": "animation-delay",
3453
- "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",
3454
3476
  "initial": "0s",
3455
3477
  "appliesTo": "all elements",
3456
3478
  "inherited": "no",
@@ -3459,8 +3481,25 @@
3459
3481
  "canonicalOrder": "per grammar",
3460
3482
  "animationType": "not animatable",
3461
3483
  "styleDeclaration": [
3462
- "animation-delay",
3463
- "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"
3464
3503
  ],
3465
3504
  "syntax": "<time>#",
3466
3505
  "extended": []
@@ -17170,7 +17209,7 @@
17170
17209
  },
17171
17210
  {
17172
17211
  "name": ":any-link",
17173
- "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).",
17174
17213
  "href": "https://drafts.csswg.org/selectors-4/#any-link-pseudo",
17175
17214
  "syntax": ":any-link",
17176
17215
  "extended": []
@@ -17204,7 +17243,7 @@
17204
17243
  },
17205
17244
  {
17206
17245
  "name": ":checked",
17207
- "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.",
17208
17247
  "href": "https://drafts.csswg.org/selectors-4/#checked-pseudo",
17209
17248
  "syntax": ":checked",
17210
17249
  "extended": []
@@ -17238,7 +17277,7 @@
17238
17277
  },
17239
17278
  {
17240
17279
  "name": ":dir()",
17241
- "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].",
17242
17281
  "href": "https://drafts.csswg.org/selectors-4/#dir-pseudo",
17243
17282
  "extended": []
17244
17283
  },
@@ -17428,7 +17467,7 @@
17428
17467
  },
17429
17468
  {
17430
17469
  "name": ":invalid",
17431
- "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.",
17432
17471
  "href": "https://drafts.csswg.org/selectors-4/#invalid-pseudo",
17433
17472
  "syntax": ":invalid",
17434
17473
  "extended": []
@@ -17646,7 +17685,7 @@
17646
17685
  },
17647
17686
  {
17648
17687
  "name": ":placeholder-shown",
17649
- "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.",
17650
17689
  "href": "https://drafts.csswg.org/selectors-4/#placeholder-shown-pseudo",
17651
17690
  "syntax": ":placeholder-shown",
17652
17691
  "extended": []
@@ -17799,7 +17838,7 @@
17799
17838
  },
17800
17839
  {
17801
17840
  "name": ":unchecked",
17802
- "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.",
17803
17842
  "href": "https://drafts.csswg.org/selectors-4/#unchecked-pseudo",
17804
17843
  "syntax": ":unchecked",
17805
17844
  "extended": []
@@ -17820,7 +17859,7 @@
17820
17859
  },
17821
17860
  {
17822
17861
  "name": ":valid",
17823
- "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.",
17824
17863
  "href": "https://drafts.csswg.org/selectors-4/#valid-pseudo",
17825
17864
  "syntax": ":valid",
17826
17865
  "extended": []
@@ -18327,7 +18366,7 @@
18327
18366
  {
18328
18367
  "name": "calc-size-basis",
18329
18368
  "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-size-basis",
18330
- "syntax": "[ <size-keyword> | <calc-size()> | any | <calc-sum> ]",
18369
+ "syntax": "[ <size-keyword> | <calc-sum> | <calc-size()> | any ]",
18331
18370
  "extended": []
18332
18371
  },
18333
18372
  {
@@ -20611,7 +20650,7 @@
20611
20650
  {
20612
20651
  "name": "single-animation",
20613
20652
  "href": "https://drafts.csswg.org/css-animations-2/#typedef-single-animation",
20614
- "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>",
20615
20654
  "extended": []
20616
20655
  },
20617
20656
  {
@@ -20669,9 +20708,12 @@
20669
20708
  "extended": []
20670
20709
  },
20671
20710
  {
20711
+ "for": [
20712
+ "calc-size()"
20713
+ ],
20672
20714
  "name": "size-keyword",
20673
- "prose": "The <size-keyword> production matches any sizing keywords allowed in the context. For example, in width, it matches auto, min-content, stretch, etc.",
20674
- "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",
20675
20717
  "extended": []
20676
20718
  },
20677
20719
  {
@@ -21133,6 +21175,7 @@
21133
21175
  "name": "view-transition-type",
21134
21176
  "prose": "where <view-transition-type> is any <custom-ident> other than none, and not starting with the string \"-ua-\".",
21135
21177
  "href": "https://drafts.csswg.org/css-view-transitions-2/#typedef-view-transition-type",
21178
+ "syntax": "<custom-ident>",
21136
21179
  "extended": []
21137
21180
  },
21138
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.7.0",
4
+ "version": "8.7.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"