@webref/css 6.21.2 → 6.23.0
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.json +16 -8
- package/README.md +1 -1
- package/css-borders.json +79 -73
- package/css-color-5.json +0 -12
- package/css-color-hdr.json +0 -6
- package/css-color.json +71 -0
- package/css-forms.json +36 -18
- package/css-gcpm-4.json +6 -3
- package/css-mixins.json +7 -1
- package/css-multicol.json +2 -1
- package/css-nesting.json +2 -1
- package/css-overflow-4.json +24 -10
- package/css-overflow-5.json +6 -3
- package/css-position-4.json +2 -1
- package/css-pseudo.json +26 -13
- package/css-scoping.json +4 -2
- package/css-scroll-snap-2.json +10 -5
- package/css-shapes-2.json +1 -185
- package/css-shapes.json +184 -0
- package/css-text-4.json +1 -1
- package/css-values-5.json +236 -33
- package/css-view-transitions-2.json +2 -1
- package/css-view-transitions.json +2 -1
- package/package.json +1 -1
- package/pointer-animations.json +282 -0
- package/selectors-5.json +2 -1
- package/selectors.json +116 -58
- package/webvtt.json +4 -2
- package/webxr-dom-overlays.json +2 -1
package/css-mixins.json
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"name": "<function-parameter>",
|
|
35
35
|
"href": "https://drafts.csswg.org/css-mixins-1/#typedef-function-parameter",
|
|
36
36
|
"type": "type",
|
|
37
|
-
"value": "<custom-property-name> <css-type>? [ : <
|
|
37
|
+
"value": "<custom-property-name> <css-type>? [ : <default-value> ]?"
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
"name": "<css-type>",
|
|
@@ -42,6 +42,12 @@
|
|
|
42
42
|
"type": "type",
|
|
43
43
|
"value": "<syntax-component> | <type()>"
|
|
44
44
|
},
|
|
45
|
+
{
|
|
46
|
+
"name": "<default-value>",
|
|
47
|
+
"href": "https://drafts.csswg.org/css-mixins-1/#typedef-default-value",
|
|
48
|
+
"type": "type",
|
|
49
|
+
"value": "<declaration-value>"
|
|
50
|
+
},
|
|
45
51
|
{
|
|
46
52
|
"name": "<dashed-function>",
|
|
47
53
|
"prose": "A <dashed-function> is a functional notation whose function name starts with two dashes (U+002D HYPHEN-MINUS). Its argument grammar is:",
|
package/css-multicol.json
CHANGED
|
@@ -245,7 +245,8 @@
|
|
|
245
245
|
{
|
|
246
246
|
"name": "::column",
|
|
247
247
|
"prose": "The ::column pseudo-element represents the individual columns in a multi-column container. It only exists on multi-column containers.",
|
|
248
|
-
"href": "https://drafts.csswg.org/css-multicol-2/#selectordef-column"
|
|
248
|
+
"href": "https://drafts.csswg.org/css-multicol-2/#selectordef-column",
|
|
249
|
+
"value": "::column"
|
|
249
250
|
}
|
|
250
251
|
],
|
|
251
252
|
"values": []
|
package/css-nesting.json
CHANGED
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
{
|
|
10
10
|
"name": "&",
|
|
11
11
|
"prose": "When using a nested style rule, one must be able to refer to the elements matched by the parent rule; that is, after all, the entire point of nesting. To accomplish that, this specification defines a new selector, the nesting selector, written as & (U+0026 AMPERSAND).",
|
|
12
|
-
"href": "https://drafts.csswg.org/css-nesting-1/#selectordef-"
|
|
12
|
+
"href": "https://drafts.csswg.org/css-nesting-1/#selectordef-",
|
|
13
|
+
"value": "'&'"
|
|
13
14
|
}
|
|
14
15
|
],
|
|
15
16
|
"values": []
|
package/css-overflow-4.json
CHANGED
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
{
|
|
292
292
|
"name": "line-clamp",
|
|
293
293
|
"href": "https://drafts.csswg.org/css-overflow-4/#propdef-line-clamp",
|
|
294
|
-
"value": "none | <integer [1,∞]> || <'block-ellipsis'>",
|
|
294
|
+
"value": "none | [<integer [1,∞]> || <'block-ellipsis'>] -webkit-legacy?",
|
|
295
295
|
"initial": "none",
|
|
296
296
|
"appliesTo": "see individual properties",
|
|
297
297
|
"inherited": "see individual properties",
|
|
@@ -309,17 +309,24 @@
|
|
|
309
309
|
},
|
|
310
310
|
{
|
|
311
311
|
"name": "<integer [1,∞]>",
|
|
312
|
-
"prose": "Sets continue to
|
|
312
|
+
"prose": "Whether this should imply discard or collapse is an unresolved question. [Issue #7708] Sets continue to collapse if either or both values are specified, unless the -webkit-legacy keyword is also 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.",
|
|
313
313
|
"href": "https://drafts.csswg.org/css-overflow-4/#valdef-line-clamp-integer-1",
|
|
314
314
|
"type": "value",
|
|
315
315
|
"value": "<integer [1,∞]>"
|
|
316
316
|
},
|
|
317
317
|
{
|
|
318
318
|
"name": "<block-ellipsis>",
|
|
319
|
-
"prose": "Sets continue to
|
|
319
|
+
"prose": "Whether this should imply discard or collapse is an unresolved question. [Issue #7708] Sets continue to collapse if either or both values are specified, unless the -webkit-legacy keyword is also 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.",
|
|
320
320
|
"href": "https://drafts.csswg.org/css-overflow-4/#valdef-line-clamp-block-ellipsis",
|
|
321
321
|
"type": "value",
|
|
322
322
|
"value": "<block-ellipsis>"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"name": "-webkit-legacy",
|
|
326
|
+
"prose": "Sets continue to -webkit-legacy.",
|
|
327
|
+
"href": "https://drafts.csswg.org/css-overflow-4/#valdef-line-clamp--webkit-legacy",
|
|
328
|
+
"type": "value",
|
|
329
|
+
"value": "-webkit-legacy"
|
|
323
330
|
}
|
|
324
331
|
],
|
|
325
332
|
"styleDeclaration": [
|
|
@@ -347,7 +354,7 @@
|
|
|
347
354
|
{
|
|
348
355
|
"name": "continue",
|
|
349
356
|
"href": "https://drafts.csswg.org/css-overflow-4/#propdef-continue",
|
|
350
|
-
"value": "auto | discard | -webkit-
|
|
357
|
+
"value": "auto | discard | collapse | -webkit-legacy",
|
|
351
358
|
"initial": "auto",
|
|
352
359
|
"appliesTo": "block containers and multicol containers",
|
|
353
360
|
"inherited": "no",
|
|
@@ -357,11 +364,11 @@
|
|
|
357
364
|
"animationType": "discrete",
|
|
358
365
|
"values": [
|
|
359
366
|
{
|
|
360
|
-
"name": "-webkit-
|
|
361
|
-
"prose": "The -webkit-
|
|
362
|
-
"href": "https://drafts.csswg.org/css-overflow-4/#valdef-continue--webkit-
|
|
367
|
+
"name": "-webkit-legacy",
|
|
368
|
+
"prose": "The -webkit-legacy value behaves identically to collapse, except that it only takes effect if the specified value of the display property is -webkit-box or -webkit-inline-box and the value of the -webkit-box-orient property is vertical.",
|
|
369
|
+
"href": "https://drafts.csswg.org/css-overflow-4/#valdef-continue--webkit-legacy",
|
|
363
370
|
"type": "value",
|
|
364
|
-
"value": "-webkit-
|
|
371
|
+
"value": "-webkit-legacy"
|
|
365
372
|
},
|
|
366
373
|
{
|
|
367
374
|
"name": "auto",
|
|
@@ -376,6 +383,13 @@
|
|
|
376
383
|
"href": "https://drafts.csswg.org/css-overflow-4/#valdef-continue-discard",
|
|
377
384
|
"type": "value",
|
|
378
385
|
"value": "discard"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"name": "collapse",
|
|
389
|
+
"prose": "If the box is a block container, then it must establish an independent formatting context that also becomes a line-clamp container. This causes all content after the clamp point to be visually hidden, and to not be taken into account for the box’s automatic block size. If the box is a multicol container, the behavior is the same as 'continue/auto'.",
|
|
390
|
+
"href": "https://drafts.csswg.org/css-overflow-4/#valdef-continue-collapse",
|
|
391
|
+
"type": "value",
|
|
392
|
+
"value": "collapse"
|
|
379
393
|
}
|
|
380
394
|
],
|
|
381
395
|
"styleDeclaration": [
|
|
@@ -387,7 +401,7 @@
|
|
|
387
401
|
"href": "https://drafts.csswg.org/css-overflow-4/#propdef-max-lines",
|
|
388
402
|
"value": "none | <integer [1,∞]>",
|
|
389
403
|
"initial": "none",
|
|
390
|
-
"appliesTo": "block containers which are also fragmentation containers that capture region breaks",
|
|
404
|
+
"appliesTo": "block containers which are also either fragmentation containers that capture region breaks or line-clamp containers",
|
|
391
405
|
"inherited": "no",
|
|
392
406
|
"percentages": "N/A",
|
|
393
407
|
"computedValue": "the keyword none or an integer",
|
|
@@ -396,7 +410,7 @@
|
|
|
396
410
|
"values": [
|
|
397
411
|
{
|
|
398
412
|
"name": "none",
|
|
399
|
-
"prose": "
|
|
413
|
+
"prose": "If the value of max-lines is not none, then, given a computed value of N:",
|
|
400
414
|
"href": "https://drafts.csswg.org/css-overflow-4/#valdef-max-lines-none",
|
|
401
415
|
"type": "value",
|
|
402
416
|
"value": "none"
|
package/css-overflow-5.json
CHANGED
|
@@ -117,17 +117,20 @@
|
|
|
117
117
|
{
|
|
118
118
|
"name": "::scroll-marker-group",
|
|
119
119
|
"prose": "The ::scroll-marker-group fully styleable pseudo-element is generated by a scroll container element having a computed scroll-marker-group property that is not none.",
|
|
120
|
-
"href": "https://drafts.csswg.org/css-overflow-5/#selectordef-scroll-marker-group"
|
|
120
|
+
"href": "https://drafts.csswg.org/css-overflow-5/#selectordef-scroll-marker-group",
|
|
121
|
+
"value": "::scroll-marker-group"
|
|
121
122
|
},
|
|
122
123
|
{
|
|
123
124
|
"name": "::scroll-marker",
|
|
124
125
|
"prose": "When the computed content value of a ::scroll-marker pseudo-element is not none and its nearest ancestor scroll container scroll container has a computed scroll-marker-group property that is not none, the pseudo-element generates a box attached as a child of the ::scroll-marker-group pseudo-element’s generated box on its nearest ancestor scroll container. These boxes are added in the tree order of their originating element.",
|
|
125
|
-
"href": "https://drafts.csswg.org/css-overflow-5/#selectordef-scroll-marker"
|
|
126
|
+
"href": "https://drafts.csswg.org/css-overflow-5/#selectordef-scroll-marker",
|
|
127
|
+
"value": "::scroll-marker"
|
|
126
128
|
},
|
|
127
129
|
{
|
|
128
130
|
"name": ":target-current",
|
|
129
131
|
"prose": "Exactly one scroll marker within each scroll marker group is determined to be active at a time. Such \"active\" scroll markers match the :target-current pseudo-class.",
|
|
130
|
-
"href": "https://drafts.csswg.org/css-overflow-5/#selectordef-target-current"
|
|
132
|
+
"href": "https://drafts.csswg.org/css-overflow-5/#selectordef-target-current",
|
|
133
|
+
"value": ":target-current"
|
|
131
134
|
},
|
|
132
135
|
{
|
|
133
136
|
"name": "::scroll-button()",
|
package/css-position-4.json
CHANGED
|
@@ -41,7 +41,8 @@
|
|
|
41
41
|
{
|
|
42
42
|
"name": "::backdrop",
|
|
43
43
|
"prose": "Each element rendered in the top layer has a ::backdrop pseudo-element, for which it is the originating element.",
|
|
44
|
-
"href": "https://drafts.csswg.org/css-position-4/#selectordef-backdrop"
|
|
44
|
+
"href": "https://drafts.csswg.org/css-position-4/#selectordef-backdrop",
|
|
45
|
+
"value": "::backdrop"
|
|
45
46
|
}
|
|
46
47
|
],
|
|
47
48
|
"values": []
|
package/css-pseudo.json
CHANGED
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
{
|
|
10
10
|
"name": "::first-line",
|
|
11
11
|
"prose": "The ::first-line pseudo-element represents the contents of the first formatted line of its originating element.",
|
|
12
|
-
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-first-line"
|
|
12
|
+
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-first-line",
|
|
13
|
+
"value": "::first-line"
|
|
13
14
|
},
|
|
14
15
|
{
|
|
15
16
|
"name": "::first-letter",
|
|
@@ -20,40 +21,48 @@
|
|
|
20
21
|
"name": "::prefix",
|
|
21
22
|
"prose": "To allow independent styling of the first letter itself and its adjacent punctuation, associated preceding punctuation is represented by the ::prefix sub-pseudo-element of the ::first-letter pseudo-element (::first-letter::prefix); and associated following punctuation is represented by the ::suffix sub-pseudo-element of the ::first-letter pseudo-element (::first-letter::suffix). See § 2.2.1 First Letters and Associated Punctuation, below.",
|
|
22
23
|
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-first-letter-prefix",
|
|
23
|
-
"type": "selector"
|
|
24
|
+
"type": "selector",
|
|
25
|
+
"value": "::prefix"
|
|
24
26
|
},
|
|
25
27
|
{
|
|
26
28
|
"name": "::suffix",
|
|
27
29
|
"prose": "To allow independent styling of the first letter itself and its adjacent punctuation, associated preceding punctuation is represented by the ::prefix sub-pseudo-element of the ::first-letter pseudo-element (::first-letter::prefix); and associated following punctuation is represented by the ::suffix sub-pseudo-element of the ::first-letter pseudo-element (::first-letter::suffix). See § 2.2.1 First Letters and Associated Punctuation, below.",
|
|
28
30
|
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-first-letter-suffix",
|
|
29
|
-
"type": "selector"
|
|
31
|
+
"type": "selector",
|
|
32
|
+
"value": "::suffix"
|
|
30
33
|
}
|
|
31
|
-
]
|
|
34
|
+
],
|
|
35
|
+
"value": "::first-letter"
|
|
32
36
|
},
|
|
33
37
|
{
|
|
34
38
|
"name": "::selection",
|
|
35
39
|
"prose": "The ::selection pseudo-element represents the portion of a document that has been selected as the target or object of some possible future user-agent operation(s). It applies, for example, to selected text within an editable text field, which would be copied by a copy operation or replaced by a paste operation.",
|
|
36
|
-
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-selection"
|
|
40
|
+
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-selection",
|
|
41
|
+
"value": "::selection"
|
|
37
42
|
},
|
|
38
43
|
{
|
|
39
44
|
"name": "::search-text",
|
|
40
45
|
"prose": "The ::search-text pseudo-element represents text identified by the user agent’s find-in-page feature. Since not all UAs style matched text in ways expressible with the highlight pseudo-elements, this pseudo-element is optional to implement. The :current pseudo-class (but not ::current()) may be combined with ::search-text to represent the currently focused match instance. The :past and :future pseudo-classes are reserved for analogous use in the future. Any unsupported combination of these pseudo-classes with ::search-text must be treated as invalid.",
|
|
41
|
-
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-search-text"
|
|
46
|
+
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-search-text",
|
|
47
|
+
"value": "::search-text"
|
|
42
48
|
},
|
|
43
49
|
{
|
|
44
50
|
"name": "::target-text",
|
|
45
51
|
"prose": "The ::target-text pseudo-element represents text directly targeted by the document URL’s fragment, if any.",
|
|
46
|
-
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-target-text"
|
|
52
|
+
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-target-text",
|
|
53
|
+
"value": "::target-text"
|
|
47
54
|
},
|
|
48
55
|
{
|
|
49
56
|
"name": "::spelling-error",
|
|
50
57
|
"prose": "The ::spelling-error pseudo-element represents a portion of text that has been flagged by the user agent as misspelled.",
|
|
51
|
-
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-spelling-error"
|
|
58
|
+
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-spelling-error",
|
|
59
|
+
"value": "::spelling-error"
|
|
52
60
|
},
|
|
53
61
|
{
|
|
54
62
|
"name": "::grammar-error",
|
|
55
63
|
"prose": "The ::grammar-error pseudo-element represents a portion of text that has been flagged by the user agent as grammatically incorrect.",
|
|
56
|
-
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-grammar-error"
|
|
64
|
+
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-grammar-error",
|
|
65
|
+
"value": "::grammar-error"
|
|
57
66
|
},
|
|
58
67
|
{
|
|
59
68
|
"name": "::highlight()",
|
|
@@ -63,22 +72,26 @@
|
|
|
63
72
|
{
|
|
64
73
|
"name": "::before",
|
|
65
74
|
"prose": "Represents a styleable child pseudo-element immediately before the originating element’s actual content.",
|
|
66
|
-
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-before"
|
|
75
|
+
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-before",
|
|
76
|
+
"value": "::before"
|
|
67
77
|
},
|
|
68
78
|
{
|
|
69
79
|
"name": "::after",
|
|
70
80
|
"prose": "Represents a styleable child pseudo-element immediately after the originating element’s actual content.",
|
|
71
|
-
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-after"
|
|
81
|
+
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-after",
|
|
82
|
+
"value": "::after"
|
|
72
83
|
},
|
|
73
84
|
{
|
|
74
85
|
"name": "::marker",
|
|
75
86
|
"prose": "The ::marker pseudo-element represents the automatically generated marker box of a list item. (See [CSS-DISPLAY-3] and [CSS-LISTS-3].)",
|
|
76
|
-
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-marker"
|
|
87
|
+
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-marker",
|
|
88
|
+
"value": "::marker"
|
|
77
89
|
},
|
|
78
90
|
{
|
|
79
91
|
"name": "::details-content",
|
|
80
92
|
"prose": "The ::details-content pseudo-element targets the additional information in a a details element that can be expanded or collapsed. It is an element-backed pseudo-element.",
|
|
81
|
-
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-details-content"
|
|
93
|
+
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-details-content",
|
|
94
|
+
"value": "::details-content"
|
|
82
95
|
}
|
|
83
96
|
],
|
|
84
97
|
"values": []
|
package/css-scoping.json
CHANGED
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
{
|
|
10
10
|
"name": ":host",
|
|
11
11
|
"prose": "The :host pseudo-class, when evaluated in the context of a shadow tree, matches the shadow tree’s shadow host. In any other context, it matches nothing.",
|
|
12
|
-
"href": "https://drafts.csswg.org/css-scoping-1/#selectordef-host"
|
|
12
|
+
"href": "https://drafts.csswg.org/css-scoping-1/#selectordef-host",
|
|
13
|
+
"value": ":host"
|
|
13
14
|
},
|
|
14
15
|
{
|
|
15
16
|
"name": ":host()",
|
|
@@ -29,7 +30,8 @@
|
|
|
29
30
|
{
|
|
30
31
|
"name": ":has-slotted",
|
|
31
32
|
"prose": "The :has-slotted pseudo-class matches slot elements which have a non-empty list of flattened slotted nodes.",
|
|
32
|
-
"href": "https://drafts.csswg.org/css-scoping-1/#selectordef-has-slotted"
|
|
33
|
+
"href": "https://drafts.csswg.org/css-scoping-1/#selectordef-has-slotted",
|
|
34
|
+
"value": ":has-slotted"
|
|
33
35
|
}
|
|
34
36
|
],
|
|
35
37
|
"values": []
|
package/css-scroll-snap-2.json
CHANGED
|
@@ -42,27 +42,32 @@
|
|
|
42
42
|
{
|
|
43
43
|
"name": ":snapped",
|
|
44
44
|
"prose": "The :snapped pseudo-class matches any scroll snap targets, regardless of axis. The longform physical and logical pseudo-class selectors allow for more finite snapped children styling as they can target an individual axis.",
|
|
45
|
-
"href": "https://drafts.csswg.org/css-scroll-snap-2/#selectordef-snapped"
|
|
45
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#selectordef-snapped",
|
|
46
|
+
"value": ":snapped"
|
|
46
47
|
},
|
|
47
48
|
{
|
|
48
49
|
"name": ":snapped-x",
|
|
49
50
|
"prose": "Matches the child snapped on the horizontal axis.",
|
|
50
|
-
"href": "https://drafts.csswg.org/css-scroll-snap-2/#selectordef-snapped-x"
|
|
51
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#selectordef-snapped-x",
|
|
52
|
+
"value": ":snapped-x"
|
|
51
53
|
},
|
|
52
54
|
{
|
|
53
55
|
"name": ":snapped-y",
|
|
54
56
|
"prose": "Matches the child snapped on the vertical axis.",
|
|
55
|
-
"href": "https://drafts.csswg.org/css-scroll-snap-2/#selectordef-snapped-y"
|
|
57
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#selectordef-snapped-y",
|
|
58
|
+
"value": ":snapped-y"
|
|
56
59
|
},
|
|
57
60
|
{
|
|
58
61
|
"name": ":snapped-inline",
|
|
59
62
|
"prose": "Matches the child snapped on the inline axis.",
|
|
60
|
-
"href": "https://drafts.csswg.org/css-scroll-snap-2/#selectordef-snapped-inline"
|
|
63
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#selectordef-snapped-inline",
|
|
64
|
+
"value": ":snapped-inline"
|
|
61
65
|
},
|
|
62
66
|
{
|
|
63
67
|
"name": ":snapped-block",
|
|
64
68
|
"prose": "Matches the child snapped on the block axis.",
|
|
65
|
-
"href": "https://drafts.csswg.org/css-scroll-snap-2/#selectordef-snapped-block"
|
|
69
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#selectordef-snapped-block",
|
|
70
|
+
"value": ":snapped-block"
|
|
66
71
|
}
|
|
67
72
|
],
|
|
68
73
|
"values": []
|
package/css-shapes-2.json
CHANGED
|
@@ -85,189 +85,5 @@
|
|
|
85
85
|
],
|
|
86
86
|
"atrules": [],
|
|
87
87
|
"selectors": [],
|
|
88
|
-
"values": [
|
|
89
|
-
{
|
|
90
|
-
"name": "shape()",
|
|
91
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#funcdef-shape",
|
|
92
|
-
"type": "function",
|
|
93
|
-
"value": "shape( <'fill-rule'>? from <position>, <shape-command>#)",
|
|
94
|
-
"values": [
|
|
95
|
-
{
|
|
96
|
-
"name": "<coordinate-pair>",
|
|
97
|
-
"value": "<length-percentage>{2}",
|
|
98
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-coordinate-pair",
|
|
99
|
-
"type": "type"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"name": "<command-end-point>",
|
|
103
|
-
"value": "[ to <position> | by <coordinate-pair> ]",
|
|
104
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-command-end-point",
|
|
105
|
-
"type": "type",
|
|
106
|
-
"values": [
|
|
107
|
-
{
|
|
108
|
-
"name": "to",
|
|
109
|
-
"prose": "<command-end-point> = [ to <position> | by <coordinate-pair> ]",
|
|
110
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-to",
|
|
111
|
-
"type": "value",
|
|
112
|
-
"value": "to"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"name": "by",
|
|
116
|
-
"prose": "<command-end-point> = [ to <position> | by <coordinate-pair> ]",
|
|
117
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-by",
|
|
118
|
-
"type": "value",
|
|
119
|
-
"value": "by"
|
|
120
|
-
}
|
|
121
|
-
]
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"name": "<move-command>",
|
|
125
|
-
"value": "move <command-end-point>",
|
|
126
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-move-command",
|
|
127
|
-
"type": "type"
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
"name": "move",
|
|
131
|
-
"prose": "<move-command> = move <command-end-point>",
|
|
132
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-move",
|
|
133
|
-
"type": "value",
|
|
134
|
-
"value": "move"
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"name": "<line-command>",
|
|
138
|
-
"value": "line <command-end-point>",
|
|
139
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-line-command",
|
|
140
|
-
"type": "type"
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"name": "line",
|
|
144
|
-
"prose": "<line-command> = line <command-end-point>",
|
|
145
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-line",
|
|
146
|
-
"type": "value",
|
|
147
|
-
"value": "line"
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"name": "<horizontal-line-command>",
|
|
151
|
-
"value": "hline [ to [ <length-percentage> | left | center | right | x-start | x-end ] | by <length-percentage> ]",
|
|
152
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-horizontal-line-command",
|
|
153
|
-
"type": "type"
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
"name": "<vertical-line-command>",
|
|
157
|
-
"value": "vline [ to [ <length-percentage> | top | center | bottom | y-start | y-end ] | by <length-percentage> ]",
|
|
158
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-vertical-line-command",
|
|
159
|
-
"type": "type"
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"name": "<curve-command>",
|
|
163
|
-
"value": "curve [ [ to <position> with <control-point> [ / <control-point> ]? ] | [ by <coordinate-pair> with <relative-control-point> [ / <relative-control-point> ]? ] ]",
|
|
164
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-curve-command",
|
|
165
|
-
"type": "type"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
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> ]? ] ]",
|
|
170
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-curve",
|
|
171
|
-
"type": "value",
|
|
172
|
-
"value": "curve"
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"name": "<smooth-command>",
|
|
176
|
-
"value": "smooth [ [ to <position> [ with <control-point> ]? ] | [ by <coordinate-pair> [ with <relative-control-point> ]? ] ]",
|
|
177
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-smooth-command",
|
|
178
|
-
"type": "type"
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
"name": "smooth",
|
|
182
|
-
"prose": "<smooth-command> = smooth [ [ to <position> [with <control-point> ]? ] | [ by <coordinate-pair> [ with <relative-control-point> ]? ] ]",
|
|
183
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-smooth",
|
|
184
|
-
"type": "value",
|
|
185
|
-
"value": "smooth"
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
"name": "<control-point>",
|
|
189
|
-
"value": "[ <position> | <relative-control-point> ]",
|
|
190
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-control-point",
|
|
191
|
-
"type": "type"
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
"name": "<relative-control-point>",
|
|
195
|
-
"value": "<coordinate-pair> [ from [ start | end | origin ] ]?",
|
|
196
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-relative-control-point",
|
|
197
|
-
"type": "type"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"name": "<arc-command>",
|
|
201
|
-
"value": "arc <command-end-point> [ [ of <length-percentage>{1,2} ] && <arc-sweep>? && <arc-size>? && [rotate <angle>]? ]",
|
|
202
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-arc-command",
|
|
203
|
-
"type": "type"
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
"name": "arc",
|
|
207
|
-
"prose": "<arc-command> = arc <command-end-point> [[of <length-percentage>{1,2}] && <arc-sweep>? && <arc-size>? && rotate <angle>? ]",
|
|
208
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-arc",
|
|
209
|
-
"type": "value",
|
|
210
|
-
"value": "arc",
|
|
211
|
-
"values": [
|
|
212
|
-
{
|
|
213
|
-
"name": "cw",
|
|
214
|
-
"prose": "<arc-sweep> can be cw or ccw, indicating that the arc that is traced around the ellipse clockwise or counter-clockwise from the center, respectively, must be chosen. If omitted, this defaults to ccw.",
|
|
215
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-cw",
|
|
216
|
-
"type": "value",
|
|
217
|
-
"value": "cw"
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
"name": "ccw",
|
|
221
|
-
"prose": "<arc-sweep> can be cw or ccw, indicating that the arc that is traced around the ellipse clockwise or counter-clockwise from the center, respectively, must be chosen. If omitted, this defaults to ccw.",
|
|
222
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-ccw",
|
|
223
|
-
"type": "value",
|
|
224
|
-
"value": "ccw"
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
"name": "large",
|
|
228
|
-
"prose": "<arc-size> can be large or small, indicating that the larger or smaller, respectively, of the two possible arcs must be chosen. If omitted, this defaults to small.",
|
|
229
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-large",
|
|
230
|
-
"type": "value",
|
|
231
|
-
"value": "large"
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
"name": "small",
|
|
235
|
-
"prose": "<arc-size> can be large or small, indicating that the larger or smaller, respectively, of the two possible arcs must be chosen. If omitted, this defaults to small.",
|
|
236
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-small",
|
|
237
|
-
"type": "value",
|
|
238
|
-
"value": "small"
|
|
239
|
-
}
|
|
240
|
-
]
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
"name": "<arc-sweep>",
|
|
244
|
-
"prose": "<arc-sweep> can be cw or ccw, indicating that the arc that is traced around the ellipse clockwise or counter-clockwise from the center, respectively, must be chosen. If omitted, this defaults to ccw.",
|
|
245
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-arc-sweep",
|
|
246
|
-
"type": "type",
|
|
247
|
-
"value": "cw | ccw"
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
"name": "<arc-size>",
|
|
251
|
-
"prose": "<arc-size> can be large or small, indicating that the larger or smaller, respectively, of the two possible arcs must be chosen. If omitted, this defaults to small.",
|
|
252
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-arc-size",
|
|
253
|
-
"type": "type",
|
|
254
|
-
"value": "large | small"
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
"name": "close",
|
|
258
|
-
"prose": "Adds a closepath command to the list of path data commands.",
|
|
259
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-close",
|
|
260
|
-
"type": "value",
|
|
261
|
-
"value": "close"
|
|
262
|
-
}
|
|
263
|
-
]
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
"name": "<shape-command>",
|
|
267
|
-
"prose": "The sequence of <shape-command>s represent further path data commands. Each command’s starting point is the previous command’s ending point.",
|
|
268
|
-
"href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-command",
|
|
269
|
-
"type": "type",
|
|
270
|
-
"value": "<move-command> | <line-command> | close | <horizontal-line-command> | <vertical-line-command> | <curve-command> | <smooth-command> | <arc-command>"
|
|
271
|
-
}
|
|
272
|
-
]
|
|
88
|
+
"values": []
|
|
273
89
|
}
|