@webref/css 6.18.0 → 6.18.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.
@@ -18,14 +18,14 @@
18
18
  "values": [
19
19
  {
20
20
  "name": "size",
21
- "prose": "Establishes a query container for container size queries on both the inline and block axis. Applies layout containment, style containment, and size containment to the principal box.",
21
+ "prose": "Establishes a query container for container size queries on both the inline and block axis. Applies style containment and size containment to the principal box, and establishes an independent formatting context.",
22
22
  "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-type-size",
23
23
  "type": "value",
24
24
  "value": "size"
25
25
  },
26
26
  {
27
27
  "name": "inline-size",
28
- "prose": "Establishes a query container for container size queries on the container’s own inline axis. Applies layout containment, style containment, and inline-size containment to the principal box.",
28
+ "prose": "Establishes a query container for container size queries on the container’s own inline axis. Applies style containment and inline-size containment to the principal box, and establishes an independent formatting context.",
29
29
  "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-type-inline-size",
30
30
  "type": "value",
31
31
  "value": "inline-size"
package/css-grid-3.json CHANGED
@@ -143,7 +143,7 @@
143
143
  {
144
144
  "name": "masonry-fill",
145
145
  "href": "https://drafts.csswg.org/css-grid-3/#propdef-masonry-fill",
146
- "value": "normal | reverse",
146
+ "value": "tie-start | tie-end",
147
147
  "initial": "normal",
148
148
  "appliesTo": "masonry containers",
149
149
  "inherited": "no",
@@ -153,18 +153,18 @@
153
153
  "animationType": "discrete",
154
154
  "values": [
155
155
  {
156
- "name": "normal",
157
- "prose": "Ties are broken by filling the startmost track",
158
- "href": "https://drafts.csswg.org/css-grid-3/#valdef-masonry-fill-normal",
156
+ "name": "tie-start",
157
+ "prose": "Ties are broken by putting the item in the start-most tied position.",
158
+ "href": "https://drafts.csswg.org/css-grid-3/#valdef-masonry-fill-tie-start",
159
159
  "type": "value",
160
- "value": "normal"
160
+ "value": "tie-start"
161
161
  },
162
162
  {
163
- "name": "reverse",
164
- "prose": "Ties are broken by filling the endmost track.",
165
- "href": "https://drafts.csswg.org/css-grid-3/#valdef-masonry-fill-reverse",
163
+ "name": "tie-end",
164
+ "prose": "Ties are broken by putting the item in the end-most tied position.",
165
+ "href": "https://drafts.csswg.org/css-grid-3/#valdef-masonry-fill-tie-end",
166
166
  "type": "value",
167
- "value": "reverse"
167
+ "value": "tie-end"
168
168
  }
169
169
  ],
170
170
  "styleDeclaration": [
package/css-mixins.json CHANGED
@@ -17,17 +17,19 @@
17
17
  "initial": "n/a (see prose)"
18
18
  }
19
19
  ],
20
- "value": "@function <function-name> [ ( <function-parameter-list> ) ]? [ using ( <function-dependency-list> ) ]? [ returns <css-type> ]? { <declaration-rule-list> }"
20
+ "value": "@function <function-name> <function-parameter-list>? ) [ using ( <function-dependency-list> ) ]? [ returns <css-type> ]? { <declaration-rule-list> }",
21
+ "values": [
22
+ {
23
+ "name": "type()",
24
+ "href": "https://drafts.csswg.org/css-mixins-1/#funcdef-function-type",
25
+ "type": "function",
26
+ "value": "type( <syntax> )"
27
+ }
28
+ ]
21
29
  }
22
30
  ],
23
31
  "selectors": [],
24
32
  "values": [
25
- {
26
- "name": "<function-name>",
27
- "href": "https://drafts.csswg.org/css-mixins-1/#typedef-function-name",
28
- "type": "type",
29
- "value": "<dashed-ident>"
30
- },
31
33
  {
32
34
  "name": "<function-parameter-list>",
33
35
  "href": "https://drafts.csswg.org/css-mixins-1/#typedef-function-parameter-list",
@@ -53,10 +55,10 @@
53
55
  "value": "<syntax-component> | <type()>"
54
56
  },
55
57
  {
56
- "name": "<type()>",
57
- "href": "https://drafts.csswg.org/css-mixins-1/#typedef-type",
58
- "type": "type",
59
- "value": "type( <syntax> )"
58
+ "name": "<function-name>",
59
+ "prose": "The <function-name> production is a <function-token>, with the additional restriction that it must start with two dashes (U+002D HYPHEN-MINUS).",
60
+ "href": "https://drafts.csswg.org/css-mixins-1/#typedef-function-name",
61
+ "type": "type"
60
62
  },
61
63
  {
62
64
  "name": "<dashed-function>",
package/css-shapes-2.json CHANGED
@@ -160,26 +160,26 @@
160
160
  },
161
161
  {
162
162
  "name": "<curve-command>",
163
- "value": "curve [ [ to <position> && [ with <control-point> [ / <control-point> ]? ] ] | [ by <coordinate-pair> && [ with <relative-control-point> [ / <relative-control-point> ]? ] ] ]",
163
+ "value": "curve [ [ to <position> with <control-point> [ / <control-point> ]? ] | [ by <coordinate-pair> with <relative-control-point> [ / <relative-control-point> ]? ] ]",
164
164
  "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-curve-command",
165
165
  "type": "type"
166
166
  },
167
167
  {
168
168
  "name": "curve",
169
- "prose": "<curve-command> = curve [ [ to <position> && with <control-point> [ / <control-point> ]? ] | [ by <coordinate-pair> && with <relative-control-point> [ / <relative-control-point> ]? ] ]",
169
+ "prose": "<curve-command> = curve [ [ to <position> with <control-point> [ / <control-point> ]? ] | [ by <coordinate-pair> with <relative-control-point> [ / <relative-control-point> ]? ] ]",
170
170
  "href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-curve",
171
171
  "type": "value",
172
172
  "value": "curve"
173
173
  },
174
174
  {
175
175
  "name": "<smooth-command>",
176
- "value": "smooth [ [ to <position> && [ with <control-point> ]? ] | [ by <coordinate-pair> && [ with <relative-control-point> ]? ] ]",
176
+ "value": "smooth [ [ to <position> [ with <control-point> ]? ] | [ by <coordinate-pair> [ with <relative-control-point> ]? ] ]",
177
177
  "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-smooth-command",
178
178
  "type": "type"
179
179
  },
180
180
  {
181
181
  "name": "smooth",
182
- "prose": "<smooth-command> = smooth [ [ to <position> && [with <control-point> ]? ] | [ by <coordinate-pair> && [ with <relative-control-point> ]? ] ]",
182
+ "prose": "<smooth-command> = smooth [ [ to <position> [with <control-point> ]? ] | [ by <coordinate-pair> [ with <relative-control-point> ]? ] ]",
183
183
  "href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-smooth",
184
184
  "type": "value",
185
185
  "value": "smooth"
@@ -198,13 +198,13 @@
198
198
  },
199
199
  {
200
200
  "name": "<arc-command>",
201
- "value": "arc [ <command-end-point> && [ of <coordinate-pair> ] && <arc-sweep>? && <arc-size>? && [rotate <angle>]? ]",
201
+ "value": "arc <command-end-point> [ [ of <length-percentage>{1,2} ] && <arc-sweep>? && <arc-size>? && [rotate <angle>]? ]",
202
202
  "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-arc-command",
203
203
  "type": "type"
204
204
  },
205
205
  {
206
206
  "name": "arc",
207
- "prose": "<arc-command> = arc [[<by-to> <coordinate-pair>] || [of <length-percentage>{1,2}] || <arc-sweep>? || <arc-size>?|| rotate <angle>? ]",
207
+ "prose": "<arc-command> = arc <command-end-point> [[of <length-percentage>{1,2}] && <arc-sweep>? && <arc-size>? && rotate <angle>? ]",
208
208
  "href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-arc",
209
209
  "type": "value",
210
210
  "value": "arc",
package/css-ui.json CHANGED
@@ -162,7 +162,7 @@
162
162
  },
163
163
  {
164
164
  "name": "pointer",
165
- "prose": "The cursor is a pointer that indicates a link. Often rendered as the backside of a hand with the index finger extended. Unless otherwise specified, UAs must apply cursor: pointer to hyperlinks for all supported document formats via the UA stylesheet, using a normal (i.e. not !important) declaration. Authors should use pointer on links and may use on other interactive elements.",
165
+ "prose": "The cursor is a pointer that indicates a link. Often rendered as the backside of a hand with the index finger extended. Unless otherwise specified, UAs must apply cursor: pointer to hyperlinks for all supported document formats via the UA stylesheet, using a normal (i.e. not !important) declaration. Authors should use pointer on links and may use it on other interactive elements.",
166
166
  "href": "https://drafts.csswg.org/css-ui-4/#valdef-cursor-pointer",
167
167
  "type": "value",
168
168
  "value": "pointer"
@@ -204,7 +204,7 @@
204
204
  },
205
205
  {
206
206
  "name": "vertical-text",
207
- "prose": "Indicates vertical-text that may be selected. Often rendered as a horizontal I-beam.",
207
+ "prose": "Indicates vertical text that may be selected. Often rendered as a horizontal I-beam.",
208
208
  "href": "https://drafts.csswg.org/css-ui-4/#valdef-cursor-vertical-text",
209
209
  "type": "value",
210
210
  "value": "vertical-text"
@@ -346,7 +346,7 @@
346
346
  },
347
347
  {
348
348
  "name": "all-scroll",
349
- "prose": "Indicates that the something can be scrolled in any direction. Often rendered as arrows pointing up, down, left, and right with a dot in the middle.",
349
+ "prose": "Indicates that something can be scrolled in any direction. Often rendered as arrows pointing up, down, left, and right with a dot in the middle.",
350
350
  "href": "https://drafts.csswg.org/css-ui-4/#valdef-cursor-all-scroll",
351
351
  "type": "value",
352
352
  "value": "all-scroll"
@@ -569,7 +569,7 @@
569
569
  },
570
570
  {
571
571
  "name": "none",
572
- "prose": "The UA must not allow selections to be started in this element. A selection started outside of this element must not end in this element. If the user attempts to create such a selection, the UA must instead end the selection range at the element boundary. However, if this element has descendants on which the used value of user-select is not none, selections that start and end within these descendants are allowed. The UA must allow selections to extend across this element, and must exclude this element from such a selection. An exception is made for UAs which do not support multiple ranges per selection, and they may include this element. If the element has descendants on which the used value of user-select is not none, these descendants must be included in a selection extending across the element. This specification makes no normative requirement about the behavior of the clipboard. however, UAs are encouraged to keep the visual selection consistent with what would get copied to the clipboard when copying. Copying text that does not appear to be selected, or vice versa, is highly confusing to users. Attempting to start a selection in an element where user-select is none, such as by clicking in it or starting a drag in it, must not cause a pre-existing selection to become unselected or to be affected in any way. As user-select is a UI convenience mechanism, not a copy protection mechanism, the UA may provide an alternative way for the user to explicitly select the text even when user-select is none.",
572
+ "prose": "The UA must not allow selections to be started in this element. A selection started outside of this element must not end in this element. If the user attempts to create such a selection, the UA must instead end the selection range at the element boundary. However, if this element has descendants on which the used value of user-select is not none, selections that start and end within these descendants are allowed. The UA must allow selections to extend across this element, and must exclude this element from such a selection. An exception is made for UAs which do not support multiple ranges per selection, and they may include this element. If the element has descendants on which the used value of user-select is not none, these descendants must be included in a selection extending across the element. This specification makes no normative requirement about the behavior of the clipboard. However, UAs are encouraged to keep the visual selection consistent with what would get copied to the clipboard when copying. Copying text that does not appear to be selected, or vice versa, is highly confusing to users. Attempting to start a selection in an element where user-select is none, such as by clicking in it or starting a drag in it, must not cause a pre-existing selection to become unselected or to be affected in any way. As user-select is a UI convenience mechanism, not a copy protection mechanism, the UA may provide an alternative way for the user to explicitly select the text even when user-select is none.",
573
573
  "href": "https://drafts.csswg.org/css-ui-4/#valdef-user-select-none",
574
574
  "type": "value",
575
575
  "value": "none"
@@ -756,7 +756,7 @@
756
756
  "values": [
757
757
  {
758
758
  "name": "fixed",
759
- "prose": "For element with default preferred size, the UA must apply set the intrinsic size to the default preferred size defined by the host language for that element. Otherwise UA must behave the same as content.",
759
+ "prose": "For element with default preferred size, the UA must set the intrinsic size to the default preferred size defined by the host language for that element. Otherwise, the UA must behave the same as content.",
760
760
  "href": "https://drafts.csswg.org/css-ui-4/#valdef-field-sizing-fixed",
761
761
  "type": "value",
762
762
  "value": "fixed"
package/css-values-5.json CHANGED
@@ -369,7 +369,7 @@
369
369
  "prose": "The <progress> value type represents the mix progress value in a mix notation, and ultimately resolves to a percentage. It can, however, draw that percentage value from sources such as media queries and animation timelines, and can also convert it through an easing function before using it for interpolation.",
370
370
  "href": "https://drafts.csswg.org/css-values-5/#typedef-progress",
371
371
  "type": "type",
372
- "value": "[ <percentage> | <number> | <'animation-timeline'> ] && [ by <easing-function> ]?",
372
+ "value": "[ <percentage-token> | <number> | <'animation-timeline'> ] && [ by <easing-function> ]?",
373
373
  "values": [
374
374
  {
375
375
  "name": "<percentage-token>",
@@ -511,7 +511,15 @@
511
511
  "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.",
512
512
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-attr",
513
513
  "type": "function",
514
- "value": "attr( <attr-name> <attr-type>? , <declaration-value>?)"
514
+ "value": "attr( <attr-name> <attr-type>? , <declaration-value>?)",
515
+ "values": [
516
+ {
517
+ "name": "type()",
518
+ "value": "type( <syntax> )",
519
+ "href": "https://drafts.csswg.org/css-values-5/#funcdef-attr-type",
520
+ "type": "function"
521
+ }
522
+ ]
515
523
  },
516
524
  {
517
525
  "name": "<attr-name>",
@@ -531,6 +539,19 @@
531
539
  "href": "https://drafts.csswg.org/css-values-5/#typedef-attr-unit",
532
540
  "type": "type"
533
541
  },
542
+ {
543
+ "name": "ident()",
544
+ "prose": "The ident() function is an arbitrary substitution function that can be used to manually construct <custom-ident> values from several parts.",
545
+ "href": "https://drafts.csswg.org/css-values-5/#funcdef-ident",
546
+ "type": "function",
547
+ "value": "ident( <ident-arg>+ )"
548
+ },
549
+ {
550
+ "name": "<ident-arg>",
551
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-ident-arg",
552
+ "type": "type",
553
+ "value": "<string> | <integer> | <ident>"
554
+ },
534
555
  {
535
556
  "name": "random()",
536
557
  "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:",
@@ -599,6 +620,12 @@
599
620
  }
600
621
  ],
601
622
  "warnings": [
623
+ {
624
+ "msg": "Duplicate definition",
625
+ "name": "ident()",
626
+ "href": "https://drafts.csswg.org/css-values-5/#funcdef-ident%E2%91%A0",
627
+ "type": "function"
628
+ },
602
629
  {
603
630
  "msg": "Missing definition",
604
631
  "name": "]>",
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.18.0",
4
+ "version": "6.18.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"