@webref/css 6.22.0 → 7.0.0-alpha
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/CHANGELOG.md +17 -0
- package/README.md +37 -22
- package/css.json +17754 -0
- package/index.js +2 -9
- package/package.json +1 -1
- package/CSS.json +0 -559
- package/SVG.json +0 -387
- package/compat.json +0 -784
- package/compositing.json +0 -178
- package/css-align.json +0 -559
- package/css-anchor-position.json +0 -1042
- package/css-animations-2.json +0 -377
- package/css-animations.json +0 -337
- package/css-backgrounds-4.json +0 -402
- package/css-backgrounds.json +0 -732
- package/css-borders.json +0 -1636
- package/css-box.json +0 -484
- package/css-break.json +0 -444
- package/css-cascade-6.json +0 -31
- package/css-cascade.json +0 -91
- package/css-color-5.json +0 -527
- package/css-color-6.json +0 -60
- package/css-color-adjust.json +0 -151
- package/css-color-hdr.json +0 -183
- package/css-color.json +0 -1759
- package/css-conditional-4.json +0 -23
- package/css-conditional-5.json +0 -505
- package/css-conditional.json +0 -50
- package/css-contain.json +0 -123
- package/css-content.json +0 -466
- package/css-counter-styles.json +0 -613
- package/css-display.json +0 -444
- package/css-easing.json +0 -149
- package/css-env.json +0 -109
- package/css-exclusions.json +0 -108
- package/css-extensions.json +0 -36
- package/css-flexbox.json +0 -259
- package/css-fonts-5.json +0 -385
- package/css-fonts.json +0 -1754
- package/css-forms.json +0 -263
- package/css-gaps.json +0 -544
- package/css-gcpm-4.json +0 -55
- package/css-gcpm.json +0 -138
- package/css-grid-3.json +0 -335
- package/css-grid.json +0 -824
- package/css-images-4.json +0 -367
- package/css-images-5.json +0 -43
- package/css-images.json +0 -373
- package/css-inline.json +0 -903
- package/css-layout-api.json +0 -21
- package/css-line-grid.json +0 -142
- package/css-link-params.json +0 -34
- package/css-lists.json +0 -337
- package/css-logical.json +0 -396
- package/css-masking.json +0 -717
- package/css-mixins.json +0 -52
- package/css-multicol.json +0 -252
- package/css-namespaces.json +0 -25
- package/css-nav.json +0 -121
- package/css-nesting.json +0 -16
- package/css-overflow-4.json +0 -428
- package/css-overflow-5.json +0 -223
- package/css-overflow.json +0 -379
- package/css-overscroll.json +0 -215
- package/css-page-floats.json +0 -296
- package/css-page.json +0 -382
- package/css-paint-api.json +0 -17
- package/css-position-4.json +0 -48
- package/css-position.json +0 -495
- package/css-properties-values-api.json +0 -39
- package/css-pseudo.json +0 -85
- package/css-regions.json +0 -59
- package/css-rhythm.json +0 -181
- package/css-round-display.json +0 -85
- package/css-ruby.json +0 -221
- package/css-scoping.json +0 -36
- package/css-scroll-anchoring.json +0 -43
- package/css-scroll-snap-2.json +0 -69
- package/css-scroll-snap.json +0 -643
- package/css-scrollbars.json +0 -82
- package/css-shadow-parts.json +0 -17
- package/css-shapes-2.json +0 -273
- package/css-shapes.json +0 -200
- package/css-size-adjust.json +0 -50
- package/css-sizing-4.json +0 -601
- package/css-sizing.json +0 -427
- package/css-speech.json +0 -985
- package/css-syntax.json +0 -263
- package/css-tables.json +0 -91
- package/css-text-4.json +0 -1516
- package/css-text-decor-4.json +0 -741
- package/css-text-decor.json +0 -337
- package/css-text.json +0 -670
- package/css-transforms-2.json +0 -329
- package/css-transforms.json +0 -213
- package/css-transitions-2.json +0 -47
- package/css-transitions.json +0 -119
- package/css-ui.json +0 -818
- package/css-values-5.json +0 -651
- package/css-values.json +0 -790
- package/css-variables.json +0 -29
- package/css-view-transitions-2.json +0 -151
- package/css-view-transitions.json +0 -76
- package/css-viewport.json +0 -43
- package/css-will-change.json +0 -64
- package/css-writing-modes.json +0 -256
- package/fill-stroke.json +0 -755
- package/filter-effects-2.json +0 -28
- package/filter-effects.json +0 -220
- package/html.json +0 -29
- package/mathml-core.json +0 -69
- package/mediaqueries-5.json +0 -915
- package/mediaqueries.json +0 -549
- package/motion.json +0 -303
- package/scroll-animations.json +0 -519
- package/selectors-5.json +0 -21
- package/selectors.json +0 -546
- package/svg-strokes.json +0 -59
- package/upgrade-insecure-requests.json +0 -28
- package/webvtt.json +0 -31
- package/webxr-dom-overlays.json +0 -16
package/css-variables.json
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"title": "CSS Custom Properties for Cascading Variables Module Level 2",
|
|
4
|
-
"url": "https://drafts.csswg.org/css-variables-2/"
|
|
5
|
-
},
|
|
6
|
-
"properties": [],
|
|
7
|
-
"atrules": [],
|
|
8
|
-
"selectors": [],
|
|
9
|
-
"values": [
|
|
10
|
-
{
|
|
11
|
-
"name": "<custom-property-name>",
|
|
12
|
-
"prose": "A custom property is any property whose name starts with two dashes (U+002D HYPHEN-MINUS), like --foo. The <custom-property-name> production corresponds to this: it’s defined as any <dashed-ident> (a valid identifier that starts with two dashes), except -- itself, which is reserved for future use by CSS. Custom properties are solely for use by authors and users; CSS will never give them a meaning beyond what is presented here.",
|
|
13
|
-
"href": "https://drafts.csswg.org/css-variables-2/#typedef-custom-property-name",
|
|
14
|
-
"type": "type"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"name": "var()",
|
|
18
|
-
"href": "https://drafts.csswg.org/css-variables-2/#funcdef-var",
|
|
19
|
-
"type": "function",
|
|
20
|
-
"value": "var( <custom-property-name> , <declaration-value>? )"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "<var-args>",
|
|
24
|
-
"href": "https://drafts.csswg.org/css-variables-2/#typedef-var-args",
|
|
25
|
-
"type": "type",
|
|
26
|
-
"value": "var( <declaration-value> , <declaration-value>? )"
|
|
27
|
-
}
|
|
28
|
-
]
|
|
29
|
-
}
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"title": "CSS View Transitions Module Level 2",
|
|
4
|
-
"url": "https://drafts.csswg.org/css-view-transitions-2/"
|
|
5
|
-
},
|
|
6
|
-
"properties": [
|
|
7
|
-
{
|
|
8
|
-
"name": "view-transition-class",
|
|
9
|
-
"href": "https://drafts.csswg.org/css-view-transitions-2/#propdef-view-transition-class",
|
|
10
|
-
"value": "none | <custom-ident>+",
|
|
11
|
-
"initial": "none",
|
|
12
|
-
"appliesTo": "all elements",
|
|
13
|
-
"inherited": "no",
|
|
14
|
-
"percentages": "n/a",
|
|
15
|
-
"computedValue": "as specified",
|
|
16
|
-
"canonicalOrder": "per grammar",
|
|
17
|
-
"animationType": "discrete",
|
|
18
|
-
"values": [
|
|
19
|
-
{
|
|
20
|
-
"name": "none",
|
|
21
|
-
"prose": "No class would apply to the named view transition pseudo-elements generated for this element.",
|
|
22
|
-
"href": "https://drafts.csswg.org/css-view-transitions-2/#valdef-view-transition-class-none",
|
|
23
|
-
"type": "value",
|
|
24
|
-
"value": "none"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"name": "<custom-ident>+",
|
|
28
|
-
"prose": "All of the specified <custom-ident> values (apart from none) are applied when used in named view transition pseudo-element selectors. none is an invalid <custom-ident> for view-transition-class, even when combined with another <custom-ident>. Each 'view transition class' is a tree-scoped name.",
|
|
29
|
-
"href": "https://drafts.csswg.org/css-view-transitions-2/#valdef-view-transition-class-custom-ident",
|
|
30
|
-
"type": "value",
|
|
31
|
-
"value": "<custom-ident>+"
|
|
32
|
-
}
|
|
33
|
-
],
|
|
34
|
-
"styleDeclaration": [
|
|
35
|
-
"view-transition-class",
|
|
36
|
-
"viewTransitionClass"
|
|
37
|
-
]
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"name": "view-transition-group",
|
|
41
|
-
"href": "https://drafts.csswg.org/css-view-transitions-2/#propdef-view-transition-group",
|
|
42
|
-
"value": "normal | contain | nearest | <custom-ident>",
|
|
43
|
-
"initial": "normal",
|
|
44
|
-
"appliesTo": "all elements",
|
|
45
|
-
"inherited": "no",
|
|
46
|
-
"percentages": "n/a",
|
|
47
|
-
"computedValue": "as specified",
|
|
48
|
-
"canonicalOrder": "per grammar",
|
|
49
|
-
"animationType": "discrete",
|
|
50
|
-
"values": [
|
|
51
|
-
{
|
|
52
|
-
"name": "normal",
|
|
53
|
-
"prose": "containingGroupName.",
|
|
54
|
-
"href": "https://drafts.csswg.org/css-view-transitions-2/#valdef-view-transition-group-normal",
|
|
55
|
-
"type": "value",
|
|
56
|
-
"value": "normal"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"name": "contain",
|
|
60
|
-
"prose": "containingGroupName.",
|
|
61
|
-
"href": "https://drafts.csswg.org/css-view-transitions-2/#valdef-view-transition-group-contain",
|
|
62
|
-
"type": "value",
|
|
63
|
-
"value": "contain"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"name": "nearest",
|
|
67
|
-
"prose": "The document-scoped view transition name of the element’s nearest flat tree ancestor which participates in the transition.",
|
|
68
|
-
"href": "https://drafts.csswg.org/css-view-transitions-2/#valdef-view-transition-group-nearest",
|
|
69
|
-
"type": "value",
|
|
70
|
-
"value": "nearest"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"name": "<custom-ident>",
|
|
74
|
-
"prose": "group if the element has a flat tree ancestor whose document-scoped view transition name is group and participates in transition; Otherwise containingGroupName.",
|
|
75
|
-
"href": "https://drafts.csswg.org/css-view-transitions-2/#valdef-view-transition-group-custom-ident",
|
|
76
|
-
"type": "value",
|
|
77
|
-
"value": "<custom-ident>"
|
|
78
|
-
}
|
|
79
|
-
],
|
|
80
|
-
"styleDeclaration": [
|
|
81
|
-
"view-transition-group",
|
|
82
|
-
"viewTransitionGroup"
|
|
83
|
-
]
|
|
84
|
-
}
|
|
85
|
-
],
|
|
86
|
-
"atrules": [
|
|
87
|
-
{
|
|
88
|
-
"name": "@view-transition",
|
|
89
|
-
"href": "https://drafts.csswg.org/css-view-transitions-2/#at-view-transition-rule",
|
|
90
|
-
"descriptors": [
|
|
91
|
-
{
|
|
92
|
-
"name": "navigation",
|
|
93
|
-
"href": "https://drafts.csswg.org/css-view-transitions-2/#descdef-view-transition-navigation",
|
|
94
|
-
"for": "@view-transition",
|
|
95
|
-
"value": "auto | none",
|
|
96
|
-
"initial": "none",
|
|
97
|
-
"values": [
|
|
98
|
-
{
|
|
99
|
-
"name": "none",
|
|
100
|
-
"prose": "There will be no transition.",
|
|
101
|
-
"href": "https://drafts.csswg.org/css-view-transitions-2/#valdef-view-transition-navigation-none",
|
|
102
|
-
"type": "value",
|
|
103
|
-
"value": "none"
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"name": "auto",
|
|
107
|
-
"prose": "The transition will be enabled if the navigation is same-origin, without cross-origin redirects, and whose NavigationType is traverse, or push or replace, with user navigation involvement not equal to \"browser UI\".",
|
|
108
|
-
"href": "https://drafts.csswg.org/css-view-transitions-2/#valdef-view-transition-navigation-auto",
|
|
109
|
-
"type": "value",
|
|
110
|
-
"value": "auto"
|
|
111
|
-
}
|
|
112
|
-
]
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"name": "types",
|
|
116
|
-
"href": "https://drafts.csswg.org/css-view-transitions-2/#descdef-view-transition-types",
|
|
117
|
-
"for": "@view-transition",
|
|
118
|
-
"value": "none | <custom-ident>+",
|
|
119
|
-
"initial": "none"
|
|
120
|
-
}
|
|
121
|
-
],
|
|
122
|
-
"value": "@view-transition { <declaration-list> }"
|
|
123
|
-
}
|
|
124
|
-
],
|
|
125
|
-
"selectors": [
|
|
126
|
-
{
|
|
127
|
-
"name": ":active-view-transition",
|
|
128
|
-
"prose": "The :active-view-transition pseudo-class applies to the root element of the document, if it has an active view transition.",
|
|
129
|
-
"href": "https://drafts.csswg.org/css-view-transitions-2/#active-view-transition-pseudo"
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
"name": ":active-view-transition-type()",
|
|
133
|
-
"prose": "The :active-view-transition-type() pseudo-class applies to the root element of the document, if it has a matching active view transition. It has the following syntax definition:",
|
|
134
|
-
"href": "https://drafts.csswg.org/css-view-transitions-2/#active-view-transition-type-pseudo"
|
|
135
|
-
}
|
|
136
|
-
],
|
|
137
|
-
"values": [
|
|
138
|
-
{
|
|
139
|
-
"name": "<pt-name-and-class-selector>",
|
|
140
|
-
"href": "https://drafts.csswg.org/css-view-transitions-2/#typedef-pt-name-and-class-selector",
|
|
141
|
-
"type": "type",
|
|
142
|
-
"value": "<pt-name-selector> <pt-class-selector>? | <pt-class-selector>"
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"name": "<pt-class-selector>",
|
|
146
|
-
"href": "https://drafts.csswg.org/css-view-transitions-2/#typedef-pt-class-selector",
|
|
147
|
-
"type": "type",
|
|
148
|
-
"value": "['.' <custom-ident>]+"
|
|
149
|
-
}
|
|
150
|
-
]
|
|
151
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"title": "CSS View Transitions Module Level 1",
|
|
4
|
-
"url": "https://drafts.csswg.org/css-view-transitions-1/"
|
|
5
|
-
},
|
|
6
|
-
"properties": [
|
|
7
|
-
{
|
|
8
|
-
"name": "view-transition-name",
|
|
9
|
-
"href": "https://drafts.csswg.org/css-view-transitions-1/#propdef-view-transition-name",
|
|
10
|
-
"value": "none | <custom-ident>",
|
|
11
|
-
"initial": "none",
|
|
12
|
-
"appliesTo": "all elements",
|
|
13
|
-
"inherited": "no",
|
|
14
|
-
"percentages": "n/a",
|
|
15
|
-
"computedValue": "as specified",
|
|
16
|
-
"canonicalOrder": "per grammar",
|
|
17
|
-
"animationType": "discrete",
|
|
18
|
-
"values": [
|
|
19
|
-
{
|
|
20
|
-
"name": "none",
|
|
21
|
-
"prose": "The element will not participate independently in a view transition.",
|
|
22
|
-
"href": "https://drafts.csswg.org/css-view-transitions-1/#valdef-view-transition-name-none",
|
|
23
|
-
"type": "value",
|
|
24
|
-
"value": "none"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"name": "<custom-ident>",
|
|
28
|
-
"prose": "The element participates independently in a view transition—as either an old or new element—with the specified view transition name. Each view transition name is a tree-scoped name. The values none, auto, and match-element are excluded from <custom-ident> here.",
|
|
29
|
-
"href": "https://drafts.csswg.org/css-view-transitions-1/#valdef-view-transition-name-custom-ident",
|
|
30
|
-
"type": "value",
|
|
31
|
-
"value": "<custom-ident>"
|
|
32
|
-
}
|
|
33
|
-
],
|
|
34
|
-
"styleDeclaration": [
|
|
35
|
-
"view-transition-name",
|
|
36
|
-
"viewTransitionName"
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
],
|
|
40
|
-
"atrules": [],
|
|
41
|
-
"selectors": [
|
|
42
|
-
{
|
|
43
|
-
"name": "::view-transition",
|
|
44
|
-
"prose": "The ::view-transition pseudo-element is a tree-abiding pseudo-element that is also a pseudo-element root. Its originating element is the document’s document element, and its containing block is the snapshot containing block.",
|
|
45
|
-
"href": "https://drafts.csswg.org/css-view-transitions-1/#selectordef-view-transition"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"name": "::view-transition-group()",
|
|
49
|
-
"prose": "The ::view-transition-group() pseudo-element is a named view transition pseudo-element that represents a matching named view transition capture. A ::view-transition-group() pseudo-element is generated for each view transition name as a child of the ::view-transition pseudo-element, and contains a corresponding ::view-transition-image-pair().",
|
|
50
|
-
"href": "https://drafts.csswg.org/css-view-transitions-1/#selectordef-view-transition-group"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"name": "::view-transition-image-pair()",
|
|
54
|
-
"prose": "The ::view-transition-image-pair() pseudo-element is a named view transition pseudo-element that represents a pair of corresponding old/new view transition captures. This pseudo-element is a child of the corresponding ::view-transition-group() pseudo-element and contains a corresponding ::view-transition-old() pseudo-element and/or a corresponding ::view-transition-new() pseudo-element (in that order).",
|
|
55
|
-
"href": "https://drafts.csswg.org/css-view-transitions-1/#selectordef-view-transition-image-pair"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"name": "::view-transition-old()",
|
|
59
|
-
"prose": "The ::view-transition-old() pseudo-element is an empty named view transition pseudo-element that represents a visual snapshot of the “old” state as a replaced element; it is omitted if there’s no “old” state to represent. Each ::view-transition-old() pseudo-element is a child of the corresponding ::view-transition-image-pair() pseudo-element.",
|
|
60
|
-
"href": "https://drafts.csswg.org/css-view-transitions-1/#selectordef-view-transition-old"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"name": "::view-transition-new()",
|
|
64
|
-
"prose": "The ::view-transition-new() pseudo-element (like the analogous ::view-transition-old() pseudo-element) is an empty named view transition pseudo-element that represents a visual snapshot of the “new” state as a replaced element; it is omitted if there’s no “new” state to represent. Each ::view-transition-new() pseudo-element is a child of the corresponding ::view-transition-image-pair() pseudo-element.",
|
|
65
|
-
"href": "https://drafts.csswg.org/css-view-transitions-1/#selectordef-view-transition-new"
|
|
66
|
-
}
|
|
67
|
-
],
|
|
68
|
-
"values": [
|
|
69
|
-
{
|
|
70
|
-
"name": "<pt-name-selector>",
|
|
71
|
-
"href": "https://drafts.csswg.org/css-view-transitions-1/#typedef-pt-name-selector",
|
|
72
|
-
"type": "type",
|
|
73
|
-
"value": "'*' | <custom-ident>"
|
|
74
|
-
}
|
|
75
|
-
]
|
|
76
|
-
}
|
package/css-viewport.json
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"title": "CSS Viewport Module Level 1",
|
|
4
|
-
"url": "https://drafts.csswg.org/css-viewport/"
|
|
5
|
-
},
|
|
6
|
-
"properties": [
|
|
7
|
-
{
|
|
8
|
-
"name": "zoom",
|
|
9
|
-
"href": "https://drafts.csswg.org/css-viewport/#propdef-zoom",
|
|
10
|
-
"value": "<number [0,∞]> || <percentage [0,∞]>",
|
|
11
|
-
"initial": "1",
|
|
12
|
-
"appliesTo": "all <length> property values of all elements",
|
|
13
|
-
"inherited": "no",
|
|
14
|
-
"percentages": "Converted to <number>",
|
|
15
|
-
"computedValue": "as specified, but with <percentage> converted to the equivalent <number>",
|
|
16
|
-
"canonicalOrder": "per grammar",
|
|
17
|
-
"animationType": "not animatable",
|
|
18
|
-
"media": "visual",
|
|
19
|
-
"values": [
|
|
20
|
-
{
|
|
21
|
-
"name": "<number>",
|
|
22
|
-
"prose": "Positive floating point number indicating a zoom factor. Numbers smaller than 1.0 indicate a \"zoom out\" or minification effect, while numbers greater than 1.0 indicate a \"zoom in\" or magnification effect. A 0 value is treated as if it was 1.",
|
|
23
|
-
"href": "https://drafts.csswg.org/css-viewport/#valdef-zoom-number",
|
|
24
|
-
"type": "value",
|
|
25
|
-
"value": "<number>"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"name": "<percentage>",
|
|
29
|
-
"prose": "Positive floating point number, followed by a percentage character (\"%\") which indicates a zoom factor multiplied by 100. A 0 percentage is treated as if it was 100%.",
|
|
30
|
-
"href": "https://drafts.csswg.org/css-viewport/#valdef-zoom-percentage",
|
|
31
|
-
"type": "value",
|
|
32
|
-
"value": "<percentage>"
|
|
33
|
-
}
|
|
34
|
-
],
|
|
35
|
-
"styleDeclaration": [
|
|
36
|
-
"zoom"
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
],
|
|
40
|
-
"atrules": [],
|
|
41
|
-
"selectors": [],
|
|
42
|
-
"values": []
|
|
43
|
-
}
|
package/css-will-change.json
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"title": "CSS Will Change Module Level 1",
|
|
4
|
-
"url": "https://drafts.csswg.org/css-will-change-1/"
|
|
5
|
-
},
|
|
6
|
-
"properties": [
|
|
7
|
-
{
|
|
8
|
-
"name": "will-change",
|
|
9
|
-
"href": "https://drafts.csswg.org/css-will-change-1/#propdef-will-change",
|
|
10
|
-
"value": "auto | <animateable-feature>#",
|
|
11
|
-
"initial": "auto",
|
|
12
|
-
"appliesTo": "all elements",
|
|
13
|
-
"inherited": "no",
|
|
14
|
-
"percentages": "n/a",
|
|
15
|
-
"computedValue": "specified value",
|
|
16
|
-
"canonicalOrder": "per grammar",
|
|
17
|
-
"animationType": "not animatable",
|
|
18
|
-
"values": [
|
|
19
|
-
{
|
|
20
|
-
"name": "auto",
|
|
21
|
-
"prose": "Expresses no particular intent; the user agent should apply whatever heuristics and optimizations it normally does.",
|
|
22
|
-
"href": "https://drafts.csswg.org/css-will-change-1/#valdef-will-change-auto",
|
|
23
|
-
"type": "value",
|
|
24
|
-
"value": "auto"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"name": "scroll-position",
|
|
28
|
-
"prose": "Indicates that the author expects to animate or change the scroll position of the element in the near future. For example, browsers often only render the content in the \"scroll window\" on a scrollable element, and some of the content past that window, balancing memory and time savings from the skipped rendering against making scrolling look nice. A browser might take this value as a signal to expand the range of content around the scroll window that is rendered, so that longer/faster scrolls can be done smoothly.",
|
|
29
|
-
"href": "https://drafts.csswg.org/css-will-change-1/#valdef-will-change-scroll-position",
|
|
30
|
-
"type": "value",
|
|
31
|
-
"value": "scroll-position"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"name": "contents",
|
|
35
|
-
"prose": "Indicates that the author expects to animate or change something about the element’s contents in the near future. For example, browsers often “cache” rendering of elements over time, because most things don’t change very often, or only change their position. However, if an element does change its contents continually, producing and maintaining this cache is a waste of time. A browser might take this value as a signal to cache less aggressively on the element, or avoid caching at all and just continually re-render the element from scratch. This value is mostly intended to help browsers optimize JS-based animations of content, which change aspects of an element’s contents many times per second. This kind of optimization, when possible, is already done automatically by browsers when declarative animations are used.",
|
|
36
|
-
"href": "https://drafts.csswg.org/css-will-change-1/#valdef-will-change-contents",
|
|
37
|
-
"type": "value",
|
|
38
|
-
"value": "contents"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"name": "<custom-ident>",
|
|
42
|
-
"prose": "If the <custom-ident> is an ASCII case-insensitive match for the name of a built-in CSS property, it indicates that the author expects to animate or change the property with the given name on the element in the near future. If the property given is a shorthand, it indicates the expectation for all the longhands the shorthand expands to. For example, setting will-change: background; is identical to setting will-change: background-image, background-position, ... for all the properties that background expands into. The <custom-ident> production used here excludes the keywords will-change, none, all, auto, scroll-position, and contents, in addition to the keywords normally excluded from <custom-ident>. Specifying a custom property must have no effect, which means that effects that happen through custom properties do not count for the rules below that are conditioned on any non-initial value of a property causing something. For example, browsers often handle elements with transform set to a non-initial value very differently from normal elements, perhaps rendering them to their own “GPU layer” or using other mechanisms to make it easier to quickly make the sort of transformations that transform can produce. A browser might take a value of transform as a signal that it should go ahead and promote the element to its own layer immediately, before the element starts to be transformed, to avoid any delay involved in rerendering the old and new layers. If any non-initial value of a property would create a stacking context on the element, specifying that property in will-change must create a stacking context on the element. If any non-initial value of a property would cause the element to generate a containing block for absolutely positioned elements, specifying that property in will-change must cause the element to generate a containing block for absolutely positioned elements. If any non-initial value of a property would cause the element to generate a containing block for fixed positioned elements, specifying that property in will-change must cause the element to generate a containing block for fixed positioned elements. If any non-initial value of a property would cause rendering differences on the element (such as using a different anti-aliasing strategy for text), the user agent should use that alternate rendering when the property is specified in will-change, to avoid sudden rendering differences when the property is eventually changed. For example, setting opacity to any value other than 1 creates a stacking context on the element. Thus, setting will-change: opacity also creates a stacking context, even if opacity is currently still equal to 1.",
|
|
43
|
-
"href": "https://drafts.csswg.org/css-will-change-1/#valdef-will-change-custom-ident",
|
|
44
|
-
"type": "value",
|
|
45
|
-
"value": "<custom-ident>"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"styleDeclaration": [
|
|
49
|
-
"will-change",
|
|
50
|
-
"willChange"
|
|
51
|
-
]
|
|
52
|
-
}
|
|
53
|
-
],
|
|
54
|
-
"atrules": [],
|
|
55
|
-
"selectors": [],
|
|
56
|
-
"values": [
|
|
57
|
-
{
|
|
58
|
-
"name": "<animateable-feature>",
|
|
59
|
-
"href": "https://drafts.csswg.org/css-will-change-1/#typedef-animateable-feature",
|
|
60
|
-
"type": "type",
|
|
61
|
-
"value": "scroll-position | contents | <custom-ident>"
|
|
62
|
-
}
|
|
63
|
-
]
|
|
64
|
-
}
|
package/css-writing-modes.json
DELETED
|
@@ -1,256 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"title": "CSS Writing Modes Level 4",
|
|
4
|
-
"url": "https://drafts.csswg.org/css-writing-modes-4/"
|
|
5
|
-
},
|
|
6
|
-
"properties": [
|
|
7
|
-
{
|
|
8
|
-
"name": "direction",
|
|
9
|
-
"href": "https://drafts.csswg.org/css-writing-modes-4/#propdef-direction",
|
|
10
|
-
"value": "ltr | rtl",
|
|
11
|
-
"initial": "ltr",
|
|
12
|
-
"appliesTo": "all elements",
|
|
13
|
-
"inherited": "yes",
|
|
14
|
-
"percentages": "n/a",
|
|
15
|
-
"computedValue": "specified value",
|
|
16
|
-
"canonicalOrder": "n/a",
|
|
17
|
-
"animationType": "not animatable",
|
|
18
|
-
"values": [
|
|
19
|
-
{
|
|
20
|
-
"name": "ltr",
|
|
21
|
-
"prose": "This value sets inline base direction (bidi directionality) to line-left-to-line-right.",
|
|
22
|
-
"href": "https://drafts.csswg.org/css-writing-modes-4/#valdef-direction-ltr",
|
|
23
|
-
"type": "value",
|
|
24
|
-
"value": "ltr"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"name": "rtl",
|
|
28
|
-
"prose": "This value sets inline base direction (bidi directionality) to line-right-to-line-left.",
|
|
29
|
-
"href": "https://drafts.csswg.org/css-writing-modes-4/#valdef-direction-rtl",
|
|
30
|
-
"type": "value",
|
|
31
|
-
"value": "rtl"
|
|
32
|
-
}
|
|
33
|
-
],
|
|
34
|
-
"styleDeclaration": [
|
|
35
|
-
"direction"
|
|
36
|
-
]
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"name": "unicode-bidi",
|
|
40
|
-
"href": "https://drafts.csswg.org/css-writing-modes-4/#propdef-unicode-bidi",
|
|
41
|
-
"value": "normal | embed | isolate | bidi-override | isolate-override | plaintext",
|
|
42
|
-
"initial": "normal",
|
|
43
|
-
"appliesTo": "all elements, but see prose",
|
|
44
|
-
"inherited": "no",
|
|
45
|
-
"percentages": "n/a",
|
|
46
|
-
"computedValue": "specified value",
|
|
47
|
-
"canonicalOrder": "per grammar",
|
|
48
|
-
"animationType": "not animatable",
|
|
49
|
-
"values": [
|
|
50
|
-
{
|
|
51
|
-
"name": "normal",
|
|
52
|
-
"prose": "The box does not open an additional level of embedding with respect to the bidirectional algorithm. For inline boxes, implicit reordering works across box boundaries.",
|
|
53
|
-
"href": "https://drafts.csswg.org/css-writing-modes-4/#valdef-unicode-bidi-normal",
|
|
54
|
-
"type": "value",
|
|
55
|
-
"value": "normal"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"name": "embed",
|
|
59
|
-
"prose": "If the box is inline, this value creates a directional embedding by opening an additional level of embedding with respect to the bidirectional algorithm. The direction of this embedding level is given by the direction property. Inside the box, reordering is done implicitly.",
|
|
60
|
-
"href": "https://drafts.csswg.org/css-writing-modes-4/#valdef-unicode-bidi-embed",
|
|
61
|
-
"type": "value",
|
|
62
|
-
"value": "embed"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"name": "isolate",
|
|
66
|
-
"prose": "On an inline box, this bidi-isolates its contents. This is similar to a directional embedding (and increases the embedding level accordingly) except that each sequence of inline-level boxes uninterrupted by any block boundary or forced paragraph break is treated as an isolated sequence: the content within the sequence is ordered as if inside an independent paragraph with the base directionality specified by the box’s direction property. for the purpose of bidi resolution in its containing bidi paragraph, the sequence is treated as if it were a single Object Replacement Character (U+FFFC). In effect, neither is the content inside the box bidi-affected by the content surrounding the box, nor is the content surrounding the box bidi-affected by the content or specified directionality of the box. However, forced paragraph breaks within the box still create a corresponding break in the containing paragraph.",
|
|
67
|
-
"href": "https://drafts.csswg.org/css-writing-modes-4/#valdef-unicode-bidi-isolate",
|
|
68
|
-
"type": "value",
|
|
69
|
-
"value": "isolate"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"name": "bidi-override",
|
|
73
|
-
"prose": "This value puts the box’s immediate inline content in a directional override. For an inline, this means that the box acts like a directional embedding in the bidirectional algorithm, except that reordering within it is strictly in sequence according to the direction property; the implicit part of the bidirectional algorithm is ignored. For a block container, the override is applied to an anonymous inline box that surrounds all of its content.",
|
|
74
|
-
"href": "https://drafts.csswg.org/css-writing-modes-4/#valdef-unicode-bidi-bidi-override",
|
|
75
|
-
"type": "value",
|
|
76
|
-
"value": "bidi-override"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"name": "isolate-override",
|
|
80
|
-
"prose": "This combines the isolation behavior of isolate with the directional override behavior of bidi-override: to surrounding content, it is equivalent to isolate, but within the box content is ordered as if bidi-override were specified. It effectively nests a directional override inside an isolated sequence.",
|
|
81
|
-
"href": "https://drafts.csswg.org/css-writing-modes-4/#valdef-unicode-bidi-isolate-override",
|
|
82
|
-
"type": "value",
|
|
83
|
-
"value": "isolate-override"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"name": "plaintext",
|
|
87
|
-
"prose": "This value behaves as isolate except that for the purposes of the Unicode bidirectional algorithm, the base directionality of each of the box’s bidi paragraphs (if a block container) or isolated sequences (if an inline) is determined by following the heuristic in rules P2 and P3 of the Unicode bidirectional algorithm (rather than by using the direction property of the box).",
|
|
88
|
-
"href": "https://drafts.csswg.org/css-writing-modes-4/#valdef-unicode-bidi-plaintext",
|
|
89
|
-
"type": "value",
|
|
90
|
-
"value": "plaintext"
|
|
91
|
-
}
|
|
92
|
-
],
|
|
93
|
-
"styleDeclaration": [
|
|
94
|
-
"unicode-bidi",
|
|
95
|
-
"unicodeBidi"
|
|
96
|
-
]
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"name": "writing-mode",
|
|
100
|
-
"href": "https://drafts.csswg.org/css-writing-modes-4/#propdef-writing-mode",
|
|
101
|
-
"value": "horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr",
|
|
102
|
-
"initial": "horizontal-tb",
|
|
103
|
-
"appliesTo": "All elements except table row groups, table column groups, table rows, table columns, ruby base containers, ruby annotation containers",
|
|
104
|
-
"inherited": "yes",
|
|
105
|
-
"percentages": "n/a",
|
|
106
|
-
"computedValue": "specified value",
|
|
107
|
-
"canonicalOrder": "n/a",
|
|
108
|
-
"animationType": "not animatable",
|
|
109
|
-
"values": [
|
|
110
|
-
{
|
|
111
|
-
"name": "horizontal-tb",
|
|
112
|
-
"prose": "Top-to-bottom block flow direction. Both the writing mode and the typographic mode are horizontal.",
|
|
113
|
-
"href": "https://drafts.csswg.org/css-writing-modes-4/#valdef-writing-mode-horizontal-tb",
|
|
114
|
-
"type": "value",
|
|
115
|
-
"value": "horizontal-tb"
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
"name": "vertical-rl",
|
|
119
|
-
"prose": "Right-to-left block flow direction. Both the writing mode and the typographic mode are vertical.",
|
|
120
|
-
"href": "https://drafts.csswg.org/css-writing-modes-4/#valdef-writing-mode-vertical-rl",
|
|
121
|
-
"type": "value",
|
|
122
|
-
"value": "vertical-rl"
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"name": "vertical-lr",
|
|
126
|
-
"prose": "Left-to-right block flow direction. Both the writing mode and the typographic mode are vertical.",
|
|
127
|
-
"href": "https://drafts.csswg.org/css-writing-modes-4/#valdef-writing-mode-vertical-lr",
|
|
128
|
-
"type": "value",
|
|
129
|
-
"value": "vertical-lr"
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
"name": "sideways-rl",
|
|
133
|
-
"prose": "Right-to-left block flow direction. The writing mode is vertical, while the typographic mode is horizontal.",
|
|
134
|
-
"href": "https://drafts.csswg.org/css-writing-modes-4/#valdef-writing-mode-sideways-rl",
|
|
135
|
-
"type": "value",
|
|
136
|
-
"value": "sideways-rl"
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
"name": "sideways-lr",
|
|
140
|
-
"prose": "Left-to-right block flow direction. The writing mode is vertical, while the typographic mode is horizontal.",
|
|
141
|
-
"href": "https://drafts.csswg.org/css-writing-modes-4/#valdef-writing-mode-sideways-lr",
|
|
142
|
-
"type": "value",
|
|
143
|
-
"value": "sideways-lr"
|
|
144
|
-
}
|
|
145
|
-
],
|
|
146
|
-
"styleDeclaration": [
|
|
147
|
-
"writing-mode",
|
|
148
|
-
"writingMode"
|
|
149
|
-
]
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"name": "text-orientation",
|
|
153
|
-
"href": "https://drafts.csswg.org/css-writing-modes-4/#propdef-text-orientation",
|
|
154
|
-
"value": "mixed | upright | sideways",
|
|
155
|
-
"initial": "mixed",
|
|
156
|
-
"appliesTo": "all elements except table row groups, rows, column groups, and columns; and text",
|
|
157
|
-
"inherited": "yes",
|
|
158
|
-
"percentages": "n/a",
|
|
159
|
-
"computedValue": "specified value",
|
|
160
|
-
"canonicalOrder": "n/a",
|
|
161
|
-
"animationType": "not animatable",
|
|
162
|
-
"values": [
|
|
163
|
-
{
|
|
164
|
-
"name": "mixed",
|
|
165
|
-
"prose": "Typographic character units from horizontal-only scripts are typeset sideways, i.e. 90° clockwise from their standard orientation in horizontal text. Typographic character units from vertical scripts are typeset with their intrinsic orientation. See Vertical Orientations for further details. This value is typical for layout of dominantly vertical-script text.",
|
|
166
|
-
"href": "https://drafts.csswg.org/css-writing-modes-4/#valdef-text-orientation-mixed",
|
|
167
|
-
"type": "value",
|
|
168
|
-
"value": "mixed"
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
"name": "upright",
|
|
172
|
-
"prose": "Typographic character units from horizontal-only scripts are typeset upright, i.e. in their standard horizontal orientation. Typographic character units from vertical scripts are typeset with their intrinsic orientation and shaped normally. See Vertical Orientations for further details. This value causes the used value of direction to be ltr, and for the purposes of bidi reordering, causes all characters to be treated as strong LTR.",
|
|
173
|
-
"href": "https://drafts.csswg.org/css-writing-modes-4/#valdef-text-orientation-upright",
|
|
174
|
-
"type": "value",
|
|
175
|
-
"value": "upright"
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
"name": "sideways",
|
|
179
|
-
"prose": "Causes all text to be typeset sideways, as if in a horizontal layout, but rotated 90° clockwise.",
|
|
180
|
-
"href": "https://drafts.csswg.org/css-writing-modes-4/#valdef-text-orientation-sideways",
|
|
181
|
-
"type": "value",
|
|
182
|
-
"value": "sideways"
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
"name": "sideways-right",
|
|
186
|
-
"prose": "UAs may accept sideways-right as a value that computes to sideways if needed for backward compatibility reasons.",
|
|
187
|
-
"href": "https://drafts.csswg.org/css-writing-modes-4/#valdef-text-orientation-sideways-right",
|
|
188
|
-
"type": "value",
|
|
189
|
-
"value": "sideways-right"
|
|
190
|
-
}
|
|
191
|
-
],
|
|
192
|
-
"styleDeclaration": [
|
|
193
|
-
"text-orientation",
|
|
194
|
-
"textOrientation"
|
|
195
|
-
]
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
"name": "glyph-orientation-vertical",
|
|
199
|
-
"href": "https://drafts.csswg.org/css-writing-modes-4/#propdef-glyph-orientation-vertical",
|
|
200
|
-
"value": "auto | 0deg | 90deg | 0 | 90",
|
|
201
|
-
"initial": "n/a",
|
|
202
|
-
"appliesTo": "n/a",
|
|
203
|
-
"inherited": "n/a",
|
|
204
|
-
"percentages": "n/a",
|
|
205
|
-
"computedValue": "n/a",
|
|
206
|
-
"canonicalOrder": "n/a",
|
|
207
|
-
"animationType": "n/a",
|
|
208
|
-
"styleDeclaration": [
|
|
209
|
-
"glyph-orientation-vertical",
|
|
210
|
-
"glyphOrientationVertical"
|
|
211
|
-
]
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
"name": "text-combine-upright",
|
|
215
|
-
"href": "https://drafts.csswg.org/css-writing-modes-4/#propdef-text-combine-upright",
|
|
216
|
-
"value": "none | all | [ digits <integer [2,4]>? ]",
|
|
217
|
-
"initial": "none",
|
|
218
|
-
"appliesTo": "inline boxes and text",
|
|
219
|
-
"inherited": "yes",
|
|
220
|
-
"percentages": "n/a",
|
|
221
|
-
"computedValue": "specified keyword, plus integer if digits",
|
|
222
|
-
"canonicalOrder": "n/a",
|
|
223
|
-
"animationType": "not animatable",
|
|
224
|
-
"values": [
|
|
225
|
-
{
|
|
226
|
-
"name": "none",
|
|
227
|
-
"prose": "No special processing.",
|
|
228
|
-
"href": "https://drafts.csswg.org/css-writing-modes-4/#valdef-text-combine-upright-none",
|
|
229
|
-
"type": "value",
|
|
230
|
-
"value": "none"
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
"name": "all",
|
|
234
|
-
"prose": "Attempt to typeset horizontally all consecutive typographic character units within the box and text run such that they take up the space of a single typographic character unit within the vertical line box.",
|
|
235
|
-
"href": "https://drafts.csswg.org/css-writing-modes-4/#valdef-text-combine-upright-all",
|
|
236
|
-
"type": "value",
|
|
237
|
-
"value": "all"
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
"name": "digits <integer [2,4]>?",
|
|
241
|
-
"prose": "Attempt to typeset horizontally each maximal sequence of consecutive ASCII digits (U+0030–U+0039) that has as many or fewer digits than the specified integer such that it takes up the space of a single typographic character unit within the vertical line box. If the integer is omitted, it computes to 2. Integers outside the range 2-4 are invalid.",
|
|
242
|
-
"href": "https://drafts.csswg.org/css-writing-modes-4/#valdef-text-combine-upright-digits-integer-2-4",
|
|
243
|
-
"type": "value",
|
|
244
|
-
"value": "digits <integer [2,4]>?"
|
|
245
|
-
}
|
|
246
|
-
],
|
|
247
|
-
"styleDeclaration": [
|
|
248
|
-
"text-combine-upright",
|
|
249
|
-
"textCombineUpright"
|
|
250
|
-
]
|
|
251
|
-
}
|
|
252
|
-
],
|
|
253
|
-
"atrules": [],
|
|
254
|
-
"selectors": [],
|
|
255
|
-
"values": []
|
|
256
|
-
}
|