@webref/css 6.10.3 → 6.11.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 +83 -8
- package/README.md +1 -0
- package/SVG.json +27 -0
- package/compat.json +75 -0
- package/compositing.json +22 -0
- package/css-align.json +59 -0
- package/css-anchor-position.json +214 -19
- package/css-animations-2.json +13 -0
- package/css-animations.json +34 -0
- package/css-backgrounds-4.json +12 -0
- package/css-backgrounds.json +78 -0
- package/css-borders.json +91 -0
- package/css-box.json +48 -0
- package/css-break.json +50 -0
- package/css-cascade-6.json +3 -0
- package/css-cascade.json +10 -0
- package/css-color-5.json +74 -0
- package/css-color-6.json +6 -0
- package/css-color-adjust.json +14 -0
- package/css-color.json +273 -1
- package/css-conditional-4.json +2 -0
- package/css-conditional-5.json +7 -0
- package/css-conditional.json +6 -0
- package/css-contain-3.json +27 -0
- package/css-contain.json +12 -0
- package/css-content.json +53 -0
- package/css-counter-styles.json +85 -0
- package/css-display.json +48 -0
- package/css-easing.json +24 -0
- package/css-env.json +11 -0
- package/css-exclusions.json +11 -0
- package/css-extensions.json +4 -0
- package/css-flexbox.json +24 -0
- package/css-fonts-5.json +46 -0
- package/css-fonts.json +221 -9
- package/css-gcpm-4.json +10 -4
- package/css-gcpm.json +13 -1
- package/css-grid-3.json +1 -0
- package/css-grid.json +88 -0
- package/css-highlight-api.json +3 -1
- package/css-images-4.json +49 -0
- package/css-images-5.json +3 -0
- package/css-images.json +46 -0
- package/css-inline.json +93 -0
- package/css-layout-api.json +1 -0
- package/css-line-grid.json +14 -0
- package/css-link-params.json +2 -0
- package/css-lists.json +34 -0
- package/css-logical.json +27 -0
- package/css-masking.json +69 -0
- package/css-multicol-2.json +5 -0
- package/css-multicol.json +19 -0
- package/css-namespaces.json +2 -0
- package/css-nav.json +10 -0
- package/css-nesting.json +2 -1
- package/css-overflow-4.json +37 -1
- package/css-overflow.json +38 -0
- package/css-overscroll.json +20 -0
- package/css-page-floats.json +34 -0
- package/css-page.json +52 -0
- package/css-paint-api.json +1 -0
- package/css-position-4.json +5 -1
- package/css-position.json +50 -0
- package/css-properties-values-api.json +4 -0
- package/css-pseudo.json +23 -10
- package/css-regions.json +3 -0
- package/css-rhythm.json +15 -0
- package/css-round-display.json +8 -0
- package/css-ruby.json +22 -0
- package/css-scoping.json +8 -4
- package/css-scroll-anchoring.json +3 -0
- package/css-scroll-snap-2.json +55 -5
- package/css-scroll-snap.json +53 -0
- package/css-scrollbars.json +7 -0
- package/css-shadow-parts.json +1 -0
- package/css-shapes-2.json +34 -0
- package/css-shapes.json +22 -0
- package/css-size-adjust.json +4 -0
- package/css-sizing-4.json +59 -0
- package/css-sizing.json +42 -0
- package/css-speech.json +115 -0
- package/css-syntax.json +43 -0
- package/css-tables.json +5 -0
- package/css-text-4.json +161 -0
- package/css-text-decor-4.json +75 -0
- package/css-text-decor.json +32 -0
- package/css-text.json +70 -0
- package/css-transforms-2.json +37 -0
- package/css-transforms.json +26 -0
- package/css-transitions-2.json +4 -0
- package/css-transitions.json +9 -0
- package/css-ui.json +92 -0
- package/css-values-5.json +59 -0
- package/css-values.json +115 -0
- package/css-variables.json +2 -0
- package/css-view-transitions-2.json +8 -1
- package/css-view-transitions.json +15 -5
- package/css-viewport.json +43 -0
- package/css-will-change.json +6 -0
- package/css-writing-modes.json +26 -0
- package/fill-stroke.json +66 -0
- package/filter-effects-2.json +1 -0
- package/filter-effects.json +24 -0
- package/html.json +3 -0
- package/mathml-core.json +3 -0
- package/mediaqueries-5.json +121 -0
- package/mediaqueries.json +77 -0
- package/motion.json +32 -0
- package/package.json +1 -1
- package/scroll-animations.json +54 -0
- package/selectors.json +173 -72
- package/svg-strokes.json +3 -0
- package/upgrade-insecure-requests.json +2 -0
- package/webvtt.json +8 -4
package/css-round-display.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"properties": [
|
|
7
7
|
{
|
|
8
8
|
"name": "border-boundary",
|
|
9
|
+
"href": "https://drafts.csswg.org/css-round-display-1/#propdef-border-boundary",
|
|
9
10
|
"value": "none | parent | display",
|
|
10
11
|
"initial": "none",
|
|
11
12
|
"appliesTo": "all elements",
|
|
@@ -26,6 +27,7 @@
|
|
|
26
27
|
"descriptors": [
|
|
27
28
|
{
|
|
28
29
|
"name": "shape",
|
|
30
|
+
"href": "https://drafts.csswg.org/css-round-display-1/#descdef-media-shape",
|
|
29
31
|
"for": "@media",
|
|
30
32
|
"value": "rect | round",
|
|
31
33
|
"type": "discrete",
|
|
@@ -33,12 +35,14 @@
|
|
|
33
35
|
{
|
|
34
36
|
"name": "rect",
|
|
35
37
|
"prose": "The shape is an axis aligned rectangle or square, or a similar shape such as rounded rectangle for which the traditional designs are appropriate.",
|
|
38
|
+
"href": "https://drafts.csswg.org/css-round-display-1/#valdef-media-shape-rect",
|
|
36
39
|
"type": "value",
|
|
37
40
|
"value": "rect"
|
|
38
41
|
},
|
|
39
42
|
{
|
|
40
43
|
"name": "round",
|
|
41
44
|
"prose": "The shape is rounded or a similar shape to the circle such as an oval, an ellipse for which distinctively rounded designs are appropriate.",
|
|
45
|
+
"href": "https://drafts.csswg.org/css-round-display-1/#valdef-media-shape-round",
|
|
42
46
|
"type": "value",
|
|
43
47
|
"value": "round"
|
|
44
48
|
}
|
|
@@ -51,6 +55,7 @@
|
|
|
51
55
|
"descriptors": [
|
|
52
56
|
{
|
|
53
57
|
"name": "viewport-fit",
|
|
58
|
+
"href": "https://drafts.csswg.org/css-round-display-1/#descdef-viewport-viewport-fit",
|
|
54
59
|
"for": "@viewport",
|
|
55
60
|
"value": "auto | contain | cover",
|
|
56
61
|
"initial": "auto",
|
|
@@ -60,18 +65,21 @@
|
|
|
60
65
|
{
|
|
61
66
|
"name": "auto",
|
|
62
67
|
"prose": "This value doesn’t affect the initial layout viewport, and the whole web page is viewable. What the UA paints outside of the viewport is undefined. It may be the background color of the canvas, or anything else that the UA deems appropriate.",
|
|
68
|
+
"href": "https://drafts.csswg.org/css-round-display-1/#valdef-viewport-fit-auto",
|
|
63
69
|
"type": "value",
|
|
64
70
|
"value": "auto"
|
|
65
71
|
},
|
|
66
72
|
{
|
|
67
73
|
"name": "contain",
|
|
68
74
|
"prose": "The initial layout viewport and the visual viewport are set to the largest rectangle which is inscribed in the display of the device. What the UA paints outside of the viewport is undefined. It may be the background color of the canvas, or anything else that the UA deems appropriate.",
|
|
75
|
+
"href": "https://drafts.csswg.org/css-round-display-1/#valdef-viewport-fit-contain",
|
|
69
76
|
"type": "value",
|
|
70
77
|
"value": "contain"
|
|
71
78
|
},
|
|
72
79
|
{
|
|
73
80
|
"name": "cover",
|
|
74
81
|
"prose": "The initial layout viewport and the visual viewport are set to the circumscribed rectangle of the physical screen of the device.",
|
|
82
|
+
"href": "https://drafts.csswg.org/css-round-display-1/#valdef-viewport-fit-cover",
|
|
75
83
|
"type": "value",
|
|
76
84
|
"value": "cover"
|
|
77
85
|
}
|
package/css-ruby.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"properties": [
|
|
7
7
|
{
|
|
8
8
|
"name": "ruby-position",
|
|
9
|
+
"href": "https://drafts.csswg.org/css-ruby-1/#propdef-ruby-position",
|
|
9
10
|
"value": "[ alternate || [ over | under ] ] | inter-character",
|
|
10
11
|
"initial": "alternate",
|
|
11
12
|
"appliesTo": "ruby annotation containers",
|
|
@@ -18,24 +19,28 @@
|
|
|
18
19
|
{
|
|
19
20
|
"name": "alternate",
|
|
20
21
|
"prose": "Different levels of annotations alternate between over and under. If the annotation container is the first level of annotation in its ruby segment, or if all prior levels are inter-character, then alternate, either on its own or in combination with over, behaves the same as over, while alternate in combination with under behaves the same as under. Otherwise, if the previous level of interlinear annotation is over, alternate behaves like under, and vice versa. (In this case, whether alternate is specified alone or in combination with over or under makes no difference.)",
|
|
22
|
+
"href": "https://drafts.csswg.org/css-ruby-1/#valdef-ruby-position-alternate",
|
|
21
23
|
"type": "value",
|
|
22
24
|
"value": "alternate"
|
|
23
25
|
},
|
|
24
26
|
{
|
|
25
27
|
"name": "over",
|
|
26
28
|
"prose": "The ruby annotation appears line-over the base. Ruby over Japanese base text in horizontal layout Ruby to the right of Japanese base text in vertical layout",
|
|
29
|
+
"href": "https://drafts.csswg.org/css-ruby-1/#valdef-ruby-position-over",
|
|
27
30
|
"type": "value",
|
|
28
31
|
"value": "over"
|
|
29
32
|
},
|
|
30
33
|
{
|
|
31
34
|
"name": "under",
|
|
32
35
|
"prose": "The ruby annotation appears line-under the base. This is a relatively rare setting used in ideographic East Asian writing systems, most easily found in educational text. Ruby under Japanese base text in horizontal layout Ruby to the left of Japanese base text in vertical layout",
|
|
36
|
+
"href": "https://drafts.csswg.org/css-ruby-1/#valdef-ruby-position-under",
|
|
33
37
|
"type": "value",
|
|
34
38
|
"value": "under"
|
|
35
39
|
},
|
|
36
40
|
{
|
|
37
41
|
"name": "inter-character",
|
|
38
42
|
"prose": "If the writing mode of the enclosing ruby container is vertical, this value has the same effect as over. Otherwise, the ruby annotation becomes an inter-character annotation. The annotation appears on the right of the base in horizontal text. This forces the computed value of writing-mode of the ruby annotation children of this ruby annotation container to be vertical-rl. This value is provided for the special case of traditional Chinese as used especially in Taiwan: ruby (made of bopomofo glyphs) in that context appears vertically along the right side of the base glyph, even when the layout of the base characters is horizontal: “Bopomofo” ruby in traditional Chinese (ruby annotation shown in blue for clarity) in horizontal layout",
|
|
43
|
+
"href": "https://drafts.csswg.org/css-ruby-1/#valdef-ruby-position-inter-character",
|
|
39
44
|
"type": "value",
|
|
40
45
|
"value": "inter-character"
|
|
41
46
|
}
|
|
@@ -47,6 +52,7 @@
|
|
|
47
52
|
},
|
|
48
53
|
{
|
|
49
54
|
"name": "ruby-merge",
|
|
55
|
+
"href": "https://drafts.csswg.org/css-ruby-1/#propdef-ruby-merge",
|
|
50
56
|
"value": "separate | merge | auto",
|
|
51
57
|
"initial": "separate",
|
|
52
58
|
"appliesTo": "interlinear ruby annotation containers",
|
|
@@ -59,18 +65,21 @@
|
|
|
59
65
|
{
|
|
60
66
|
"name": "separate",
|
|
61
67
|
"prose": "Each ruby annotation box is rendered within the same column(s) as its corresponding base box(es), i.e. without overlapping adjacent bases on either side. This style is called “mono ruby” in [JLREQ]. ruby-merge: separate with center alignment For example, the following two lines render the same: <p><ruby>無<rt>む</ruby><ruby>常<rt>じょう</ruby> <p><ruby style=\"ruby-merge:separate\"><rb>無<rb>常<rt>む<rt>じょう</ruby>",
|
|
68
|
+
"href": "https://drafts.csswg.org/css-ruby-1/#valdef-ruby-merge-separate",
|
|
62
69
|
"type": "value",
|
|
63
70
|
"value": "separate"
|
|
64
71
|
},
|
|
65
72
|
{
|
|
66
73
|
"name": "merge",
|
|
67
74
|
"prose": "All ruby annotation boxes within the same ruby segment on the same line are concatenated as inline boxes within their annotation container, and laid out in a single anonymous ruby annotation box spanning all their associated ruby base boxes. When laid out on a single line, this style renders similar to “group ruby” in [JLREQ]. However, when it breaks across lines, ruby annotations are kept together with their respective ruby bases. ruby-merge: merge with center alignment The following two lines render the same if both characters fit on one line: <p><ruby>無常<rt>むじょう</ruby> <p><ruby style=\"ruby-merge:merge\"><rb>無<rb>常<rt>む<rt>じょう</ruby> However, the second one renders the same as ruby-position: separate when the two bases are split across lines.",
|
|
75
|
+
"href": "https://drafts.csswg.org/css-ruby-1/#valdef-ruby-merge-merge",
|
|
68
76
|
"type": "value",
|
|
69
77
|
"value": "merge"
|
|
70
78
|
},
|
|
71
79
|
{
|
|
72
80
|
"name": "auto",
|
|
73
81
|
"prose": "The user agent may use any algorithm to determine how each ruby annotation box is rendered to its corresponding base box, with the intention that if all annotations fit over their respective bases, the result is identical to separate, but if some annotations are wider than their bases the space is shared in some way to avoid imposing space between bases. ruby-merge: auto with center alignment",
|
|
82
|
+
"href": "https://drafts.csswg.org/css-ruby-1/#valdef-ruby-merge-auto",
|
|
74
83
|
"type": "value",
|
|
75
84
|
"value": "auto"
|
|
76
85
|
}
|
|
@@ -82,6 +91,7 @@
|
|
|
82
91
|
},
|
|
83
92
|
{
|
|
84
93
|
"name": "ruby-align",
|
|
94
|
+
"href": "https://drafts.csswg.org/css-ruby-1/#propdef-ruby-align",
|
|
85
95
|
"value": "start | center | space-between | space-around",
|
|
86
96
|
"initial": "space-around",
|
|
87
97
|
"appliesTo": "ruby bases, ruby annotations, ruby base containers, ruby annotation containers",
|
|
@@ -94,24 +104,28 @@
|
|
|
94
104
|
{
|
|
95
105
|
"name": "start",
|
|
96
106
|
"prose": "The ruby content is aligned with the start edge of its box. start ruby distribution \"Katatsuki ruby\" (肩付きルビ) is close to, but not quite the same as, this start value. In particular, its behavior when overhanging its base can differ from start alignment depending on surrounding context, see JLREQ. Also, it’s only ever used in vertical writing, and the JLTF considers it not particularly important, so it may not be worth the effort to make this value smart enough to deal with katatsuki ruby. If start is needed for some other purpose, we should keep it. Otherwise, maybe just drop it?",
|
|
107
|
+
"href": "https://drafts.csswg.org/css-ruby-1/#valdef-ruby-align-start",
|
|
97
108
|
"type": "value",
|
|
98
109
|
"value": "start"
|
|
99
110
|
},
|
|
100
111
|
{
|
|
101
112
|
"name": "center",
|
|
102
113
|
"prose": "The ruby content is centered within its box. center ruby distribution",
|
|
114
|
+
"href": "https://drafts.csswg.org/css-ruby-1/#valdef-ruby-align-center",
|
|
103
115
|
"type": "value",
|
|
104
116
|
"value": "center"
|
|
105
117
|
},
|
|
106
118
|
{
|
|
107
119
|
"name": "space-between",
|
|
108
120
|
"prose": "The ruby content expands as defined for normal text justification (as defined by text-justify), except that if there are no justification opportunities the content is centered. space-between ruby distribution",
|
|
121
|
+
"href": "https://drafts.csswg.org/css-ruby-1/#valdef-ruby-align-space-between",
|
|
109
122
|
"type": "value",
|
|
110
123
|
"value": "space-between"
|
|
111
124
|
},
|
|
112
125
|
{
|
|
113
126
|
"name": "space-around",
|
|
114
127
|
"prose": "As for space-between except that there exists an extra justification opportunities whose space is distributed half before and half after the ruby content. space-around ruby distribution",
|
|
128
|
+
"href": "https://drafts.csswg.org/css-ruby-1/#valdef-ruby-align-space-around",
|
|
115
129
|
"type": "value",
|
|
116
130
|
"value": "space-around"
|
|
117
131
|
}
|
|
@@ -123,6 +137,7 @@
|
|
|
123
137
|
},
|
|
124
138
|
{
|
|
125
139
|
"name": "ruby-overhang",
|
|
140
|
+
"href": "https://drafts.csswg.org/css-ruby-1/#propdef-ruby-overhang",
|
|
126
141
|
"value": "auto | none",
|
|
127
142
|
"initial": "auto",
|
|
128
143
|
"appliesTo": "ruby annotation containers",
|
|
@@ -135,12 +150,14 @@
|
|
|
135
150
|
{
|
|
136
151
|
"name": "auto",
|
|
137
152
|
"prose": "When a ruby annotation container is longer than its corresponding ruby base container, the ruby annotation container may partially overlap adjacent boxes. Whether, how much, and under which conditions to overhang are determined by the UA.",
|
|
153
|
+
"href": "https://drafts.csswg.org/css-ruby-1/#valdef-ruby-overhang-auto",
|
|
138
154
|
"type": "value",
|
|
139
155
|
"value": "auto"
|
|
140
156
|
},
|
|
141
157
|
{
|
|
142
158
|
"name": "none",
|
|
143
159
|
"prose": "A ruby annotation container is never allowed to extend past the ruby annotation container.",
|
|
160
|
+
"href": "https://drafts.csswg.org/css-ruby-1/#valdef-ruby-overhang-none",
|
|
144
161
|
"type": "value",
|
|
145
162
|
"value": "none"
|
|
146
163
|
}
|
|
@@ -159,6 +176,7 @@
|
|
|
159
176
|
"msg": "Dangling value",
|
|
160
177
|
"name": "ruby",
|
|
161
178
|
"prose": "Specifies that an element generates a ruby container box. (Corresponds to HTML/XHTML <ruby> elements.)",
|
|
179
|
+
"href": "https://drafts.csswg.org/css-ruby-1/#valdef-display-ruby",
|
|
162
180
|
"type": "value",
|
|
163
181
|
"value": "ruby",
|
|
164
182
|
"for": "display"
|
|
@@ -167,6 +185,7 @@
|
|
|
167
185
|
"msg": "Dangling value",
|
|
168
186
|
"name": "ruby-base",
|
|
169
187
|
"prose": "Specifies that an element generates a ruby base box. (Corresponds to HTML/XHTML <rb> elements.)",
|
|
188
|
+
"href": "https://drafts.csswg.org/css-ruby-1/#valdef-display-ruby-base",
|
|
170
189
|
"type": "value",
|
|
171
190
|
"value": "ruby-base",
|
|
172
191
|
"for": "display"
|
|
@@ -175,6 +194,7 @@
|
|
|
175
194
|
"msg": "Dangling value",
|
|
176
195
|
"name": "ruby-text",
|
|
177
196
|
"prose": "Specifies that an element generates a ruby annotation box. (Corresponds to HTML/XHTML <rt> elements.)",
|
|
197
|
+
"href": "https://drafts.csswg.org/css-ruby-1/#valdef-display-ruby-text",
|
|
178
198
|
"type": "value",
|
|
179
199
|
"value": "ruby-text",
|
|
180
200
|
"for": "display"
|
|
@@ -183,6 +203,7 @@
|
|
|
183
203
|
"msg": "Dangling value",
|
|
184
204
|
"name": "ruby-base-container",
|
|
185
205
|
"prose": "Specifies that an element generates a ruby base container box. (Corresponds to XHTML <rbc> elements; generated as an anonymous box in HTML.)",
|
|
206
|
+
"href": "https://drafts.csswg.org/css-ruby-1/#valdef-display-ruby-base-container",
|
|
186
207
|
"type": "value",
|
|
187
208
|
"value": "ruby-base-container",
|
|
188
209
|
"for": "display"
|
|
@@ -191,6 +212,7 @@
|
|
|
191
212
|
"msg": "Dangling value",
|
|
192
213
|
"name": "ruby-text-container",
|
|
193
214
|
"prose": "Specifies that an element generates a ruby annotation container box. (Corresponds to HTML/XHTML <rtc> elements.)",
|
|
215
|
+
"href": "https://drafts.csswg.org/css-ruby-1/#valdef-display-ruby-text-container",
|
|
194
216
|
"type": "value",
|
|
195
217
|
"value": "ruby-text-container",
|
|
196
218
|
"for": "display"
|
package/css-scoping.json
CHANGED
|
@@ -8,19 +8,23 @@
|
|
|
8
8
|
"selectors": [
|
|
9
9
|
{
|
|
10
10
|
"name": ":host",
|
|
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."
|
|
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
13
|
},
|
|
13
14
|
{
|
|
14
15
|
"name": ":host()",
|
|
15
|
-
"prose": "The :host() function pseudo-class has the syntax:"
|
|
16
|
+
"prose": "The :host() function pseudo-class has the syntax:",
|
|
17
|
+
"href": "https://drafts.csswg.org/css-scoping-1/#selectordef-host-function"
|
|
16
18
|
},
|
|
17
19
|
{
|
|
18
20
|
"name": ":host-context()",
|
|
19
|
-
"prose": "The :host-context() functional pseudo-class tests whether there is an ancestor, outside the shadow tree, which matches a particular selector. Its syntax is:"
|
|
21
|
+
"prose": "The :host-context() functional pseudo-class tests whether there is an ancestor, outside the shadow tree, which matches a particular selector. Its syntax is:",
|
|
22
|
+
"href": "https://drafts.csswg.org/css-scoping-1/#selectordef-host-context"
|
|
20
23
|
},
|
|
21
24
|
{
|
|
22
25
|
"name": "::slotted()",
|
|
23
|
-
"prose": "The ::slotted() pseudo-element represents the elements assigned, after flattening, to a slot. This pseudo-element only exists on slots."
|
|
26
|
+
"prose": "The ::slotted() pseudo-element represents the elements assigned, after flattening, to a slot. This pseudo-element only exists on slots.",
|
|
27
|
+
"href": "https://drafts.csswg.org/css-scoping-1/#selectordef-slotted"
|
|
24
28
|
}
|
|
25
29
|
],
|
|
26
30
|
"values": []
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"properties": [
|
|
7
7
|
{
|
|
8
8
|
"name": "overflow-anchor",
|
|
9
|
+
"href": "https://drafts.csswg.org/css-scroll-anchoring-1/#propdef-overflow-anchor",
|
|
9
10
|
"value": "auto | none",
|
|
10
11
|
"initial": "auto",
|
|
11
12
|
"appliesTo": "all elements",
|
|
@@ -18,12 +19,14 @@
|
|
|
18
19
|
{
|
|
19
20
|
"name": "auto",
|
|
20
21
|
"prose": "Declares that the element is potentially eligible to participate in the anchor node selection algorithm for any scrolling box created by the element or an ancestor.",
|
|
22
|
+
"href": "https://drafts.csswg.org/css-scroll-anchoring-1/#valdef-overflow-anchor-auto",
|
|
21
23
|
"type": "value",
|
|
22
24
|
"value": "auto"
|
|
23
25
|
},
|
|
24
26
|
{
|
|
25
27
|
"name": "none",
|
|
26
28
|
"prose": "Declares that the element and its descendants (that aren’t nested inside of another scrolling element) are not eligible to participate in the anchor node selection algorithm for any scrolling box created by the element or an ancestor.",
|
|
29
|
+
"href": "https://drafts.csswg.org/css-scroll-anchoring-1/#valdef-overflow-anchor-none",
|
|
27
30
|
"type": "value",
|
|
28
31
|
"value": "none"
|
|
29
32
|
}
|
package/css-scroll-snap-2.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"properties": [
|
|
7
7
|
{
|
|
8
8
|
"name": "scroll-start",
|
|
9
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#propdef-scroll-start",
|
|
9
10
|
"value": "[ auto | start | end | center | left | right | top | bottom | <length-percentage [0,∞]> ]{1,2}",
|
|
10
11
|
"initial": "see individual properties",
|
|
11
12
|
"appliesTo": "see individual properties",
|
|
@@ -18,30 +19,35 @@
|
|
|
18
19
|
{
|
|
19
20
|
"name": "auto",
|
|
20
21
|
"prose": "...",
|
|
22
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-auto",
|
|
21
23
|
"type": "value",
|
|
22
24
|
"value": "auto"
|
|
23
25
|
},
|
|
24
26
|
{
|
|
25
27
|
"name": "<length-percentage [0,∞]>",
|
|
26
28
|
"prose": "... Negative values are invalid. Values corresponding to a length greater than the width/height of the scrollport are valid, but clamped to the width/height of the scrollport.",
|
|
29
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-length-percentage-0",
|
|
27
30
|
"type": "value",
|
|
28
31
|
"value": "<length-percentage [0,∞]>"
|
|
29
32
|
},
|
|
30
33
|
{
|
|
31
34
|
"name": "start",
|
|
32
35
|
"prose": "Equivalent to 0%, 50%, and 100%, respectively.",
|
|
36
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-start",
|
|
33
37
|
"type": "value",
|
|
34
38
|
"value": "start"
|
|
35
39
|
},
|
|
36
40
|
{
|
|
37
41
|
"name": "center",
|
|
38
42
|
"prose": "Equivalent to 0%, 50%, and 100%, respectively.",
|
|
43
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-center",
|
|
39
44
|
"type": "value",
|
|
40
45
|
"value": "center"
|
|
41
46
|
},
|
|
42
47
|
{
|
|
43
48
|
"name": "end",
|
|
44
49
|
"prose": "Equivalent to 0%, 50%, and 100%, respectively.",
|
|
50
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-end",
|
|
45
51
|
"type": "value",
|
|
46
52
|
"value": "end"
|
|
47
53
|
}
|
|
@@ -53,6 +59,7 @@
|
|
|
53
59
|
},
|
|
54
60
|
{
|
|
55
61
|
"name": "scroll-start-target",
|
|
62
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#propdef-scroll-start-target",
|
|
56
63
|
"value": "[ none | auto ]{1,2}",
|
|
57
64
|
"initial": "see individual properties",
|
|
58
65
|
"appliesTo": "see individual properties",
|
|
@@ -65,12 +72,14 @@
|
|
|
65
72
|
{
|
|
66
73
|
"name": "none",
|
|
67
74
|
"prose": "Element is not a scroll-start-target.",
|
|
75
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-none",
|
|
68
76
|
"type": "value",
|
|
69
77
|
"value": "none"
|
|
70
78
|
},
|
|
71
79
|
{
|
|
72
80
|
"name": "auto",
|
|
73
81
|
"prose": "Element is used to calculate the scroll-start position, taking into account scroll-padding or scroll-margin , same as a scroll-snap target.",
|
|
82
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-auto",
|
|
74
83
|
"type": "value",
|
|
75
84
|
"value": "auto"
|
|
76
85
|
}
|
|
@@ -82,6 +91,7 @@
|
|
|
82
91
|
},
|
|
83
92
|
{
|
|
84
93
|
"name": "scroll-start-x",
|
|
94
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#propdef-scroll-start-x",
|
|
85
95
|
"value": "auto | start | end | center | <length-percentage [0,∞]>",
|
|
86
96
|
"initial": "auto",
|
|
87
97
|
"appliesTo": "scroll containers",
|
|
@@ -95,30 +105,35 @@
|
|
|
95
105
|
{
|
|
96
106
|
"name": "auto",
|
|
97
107
|
"prose": "...",
|
|
108
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-auto",
|
|
98
109
|
"type": "value",
|
|
99
110
|
"value": "auto"
|
|
100
111
|
},
|
|
101
112
|
{
|
|
102
113
|
"name": "<length-percentage [0,∞]>",
|
|
103
114
|
"prose": "... Negative values are invalid. Values corresponding to a length greater than the width/height of the scrollport are valid, but clamped to the width/height of the scrollport.",
|
|
115
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-length-percentage-0",
|
|
104
116
|
"type": "value",
|
|
105
117
|
"value": "<length-percentage [0,∞]>"
|
|
106
118
|
},
|
|
107
119
|
{
|
|
108
120
|
"name": "start",
|
|
109
121
|
"prose": "Equivalent to 0%, 50%, and 100%, respectively.",
|
|
122
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-start",
|
|
110
123
|
"type": "value",
|
|
111
124
|
"value": "start"
|
|
112
125
|
},
|
|
113
126
|
{
|
|
114
127
|
"name": "center",
|
|
115
128
|
"prose": "Equivalent to 0%, 50%, and 100%, respectively.",
|
|
129
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-center",
|
|
116
130
|
"type": "value",
|
|
117
131
|
"value": "center"
|
|
118
132
|
},
|
|
119
133
|
{
|
|
120
134
|
"name": "end",
|
|
121
135
|
"prose": "Equivalent to 0%, 50%, and 100%, respectively.",
|
|
136
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-end",
|
|
122
137
|
"type": "value",
|
|
123
138
|
"value": "end"
|
|
124
139
|
}
|
|
@@ -130,6 +145,7 @@
|
|
|
130
145
|
},
|
|
131
146
|
{
|
|
132
147
|
"name": "scroll-start-y",
|
|
148
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#propdef-scroll-start-y",
|
|
133
149
|
"value": "auto | start | end | center | <length-percentage [0,∞]>",
|
|
134
150
|
"initial": "auto",
|
|
135
151
|
"appliesTo": "scroll containers",
|
|
@@ -143,30 +159,35 @@
|
|
|
143
159
|
{
|
|
144
160
|
"name": "auto",
|
|
145
161
|
"prose": "...",
|
|
162
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-auto",
|
|
146
163
|
"type": "value",
|
|
147
164
|
"value": "auto"
|
|
148
165
|
},
|
|
149
166
|
{
|
|
150
167
|
"name": "<length-percentage [0,∞]>",
|
|
151
168
|
"prose": "... Negative values are invalid. Values corresponding to a length greater than the width/height of the scrollport are valid, but clamped to the width/height of the scrollport.",
|
|
169
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-length-percentage-0",
|
|
152
170
|
"type": "value",
|
|
153
171
|
"value": "<length-percentage [0,∞]>"
|
|
154
172
|
},
|
|
155
173
|
{
|
|
156
174
|
"name": "start",
|
|
157
175
|
"prose": "Equivalent to 0%, 50%, and 100%, respectively.",
|
|
176
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-start",
|
|
158
177
|
"type": "value",
|
|
159
178
|
"value": "start"
|
|
160
179
|
},
|
|
161
180
|
{
|
|
162
181
|
"name": "center",
|
|
163
182
|
"prose": "Equivalent to 0%, 50%, and 100%, respectively.",
|
|
183
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-center",
|
|
164
184
|
"type": "value",
|
|
165
185
|
"value": "center"
|
|
166
186
|
},
|
|
167
187
|
{
|
|
168
188
|
"name": "end",
|
|
169
189
|
"prose": "Equivalent to 0%, 50%, and 100%, respectively.",
|
|
190
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-end",
|
|
170
191
|
"type": "value",
|
|
171
192
|
"value": "end"
|
|
172
193
|
}
|
|
@@ -178,6 +199,7 @@
|
|
|
178
199
|
},
|
|
179
200
|
{
|
|
180
201
|
"name": "scroll-start-inline",
|
|
202
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#propdef-scroll-start-inline",
|
|
181
203
|
"value": "auto | start | end | center | <length-percentage [0,∞]>",
|
|
182
204
|
"initial": "auto",
|
|
183
205
|
"appliesTo": "scroll containers",
|
|
@@ -191,30 +213,35 @@
|
|
|
191
213
|
{
|
|
192
214
|
"name": "auto",
|
|
193
215
|
"prose": "...",
|
|
216
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-auto",
|
|
194
217
|
"type": "value",
|
|
195
218
|
"value": "auto"
|
|
196
219
|
},
|
|
197
220
|
{
|
|
198
221
|
"name": "<length-percentage [0,∞]>",
|
|
199
222
|
"prose": "... Negative values are invalid. Values corresponding to a length greater than the width/height of the scrollport are valid, but clamped to the width/height of the scrollport.",
|
|
223
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-length-percentage-0",
|
|
200
224
|
"type": "value",
|
|
201
225
|
"value": "<length-percentage [0,∞]>"
|
|
202
226
|
},
|
|
203
227
|
{
|
|
204
228
|
"name": "start",
|
|
205
229
|
"prose": "Equivalent to 0%, 50%, and 100%, respectively.",
|
|
230
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-start",
|
|
206
231
|
"type": "value",
|
|
207
232
|
"value": "start"
|
|
208
233
|
},
|
|
209
234
|
{
|
|
210
235
|
"name": "center",
|
|
211
236
|
"prose": "Equivalent to 0%, 50%, and 100%, respectively.",
|
|
237
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-center",
|
|
212
238
|
"type": "value",
|
|
213
239
|
"value": "center"
|
|
214
240
|
},
|
|
215
241
|
{
|
|
216
242
|
"name": "end",
|
|
217
243
|
"prose": "Equivalent to 0%, 50%, and 100%, respectively.",
|
|
244
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-end",
|
|
218
245
|
"type": "value",
|
|
219
246
|
"value": "end"
|
|
220
247
|
}
|
|
@@ -226,6 +253,7 @@
|
|
|
226
253
|
},
|
|
227
254
|
{
|
|
228
255
|
"name": "scroll-start-block",
|
|
256
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#propdef-scroll-start-block",
|
|
229
257
|
"value": "auto | start | end | center | <length-percentage [0,∞]>",
|
|
230
258
|
"initial": "auto",
|
|
231
259
|
"appliesTo": "scroll containers",
|
|
@@ -239,30 +267,35 @@
|
|
|
239
267
|
{
|
|
240
268
|
"name": "auto",
|
|
241
269
|
"prose": "...",
|
|
270
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-auto",
|
|
242
271
|
"type": "value",
|
|
243
272
|
"value": "auto"
|
|
244
273
|
},
|
|
245
274
|
{
|
|
246
275
|
"name": "<length-percentage [0,∞]>",
|
|
247
276
|
"prose": "... Negative values are invalid. Values corresponding to a length greater than the width/height of the scrollport are valid, but clamped to the width/height of the scrollport.",
|
|
277
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-length-percentage-0",
|
|
248
278
|
"type": "value",
|
|
249
279
|
"value": "<length-percentage [0,∞]>"
|
|
250
280
|
},
|
|
251
281
|
{
|
|
252
282
|
"name": "start",
|
|
253
283
|
"prose": "Equivalent to 0%, 50%, and 100%, respectively.",
|
|
284
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-start",
|
|
254
285
|
"type": "value",
|
|
255
286
|
"value": "start"
|
|
256
287
|
},
|
|
257
288
|
{
|
|
258
289
|
"name": "center",
|
|
259
290
|
"prose": "Equivalent to 0%, 50%, and 100%, respectively.",
|
|
291
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-center",
|
|
260
292
|
"type": "value",
|
|
261
293
|
"value": "center"
|
|
262
294
|
},
|
|
263
295
|
{
|
|
264
296
|
"name": "end",
|
|
265
297
|
"prose": "Equivalent to 0%, 50%, and 100%, respectively.",
|
|
298
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-end",
|
|
266
299
|
"type": "value",
|
|
267
300
|
"value": "end"
|
|
268
301
|
}
|
|
@@ -274,6 +307,7 @@
|
|
|
274
307
|
},
|
|
275
308
|
{
|
|
276
309
|
"name": "scroll-start-target-block",
|
|
310
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#propdef-scroll-start-target-block",
|
|
277
311
|
"value": "auto | none",
|
|
278
312
|
"initial": "none",
|
|
279
313
|
"appliesTo": "all elements",
|
|
@@ -287,12 +321,14 @@
|
|
|
287
321
|
{
|
|
288
322
|
"name": "none",
|
|
289
323
|
"prose": "Element is not a scroll-start-target.",
|
|
324
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-none",
|
|
290
325
|
"type": "value",
|
|
291
326
|
"value": "none"
|
|
292
327
|
},
|
|
293
328
|
{
|
|
294
329
|
"name": "auto",
|
|
295
330
|
"prose": "Element is used to calculate the scroll-start position, taking into account scroll-padding or scroll-margin , same as a scroll-snap target.",
|
|
331
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-auto",
|
|
296
332
|
"type": "value",
|
|
297
333
|
"value": "auto"
|
|
298
334
|
}
|
|
@@ -304,6 +340,7 @@
|
|
|
304
340
|
},
|
|
305
341
|
{
|
|
306
342
|
"name": "scroll-start-target-inline",
|
|
343
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#propdef-scroll-start-target-inline",
|
|
307
344
|
"value": "auto | none",
|
|
308
345
|
"initial": "none",
|
|
309
346
|
"appliesTo": "all elements",
|
|
@@ -317,12 +354,14 @@
|
|
|
317
354
|
{
|
|
318
355
|
"name": "none",
|
|
319
356
|
"prose": "Element is not a scroll-start-target.",
|
|
357
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-none",
|
|
320
358
|
"type": "value",
|
|
321
359
|
"value": "none"
|
|
322
360
|
},
|
|
323
361
|
{
|
|
324
362
|
"name": "auto",
|
|
325
363
|
"prose": "Element is used to calculate the scroll-start position, taking into account scroll-padding or scroll-margin , same as a scroll-snap target.",
|
|
364
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-auto",
|
|
326
365
|
"type": "value",
|
|
327
366
|
"value": "auto"
|
|
328
367
|
}
|
|
@@ -334,6 +373,7 @@
|
|
|
334
373
|
},
|
|
335
374
|
{
|
|
336
375
|
"name": "scroll-start-target-x",
|
|
376
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#propdef-scroll-start-target-x",
|
|
337
377
|
"value": "none | auto",
|
|
338
378
|
"initial": "none",
|
|
339
379
|
"appliesTo": "all elements",
|
|
@@ -347,12 +387,14 @@
|
|
|
347
387
|
{
|
|
348
388
|
"name": "none",
|
|
349
389
|
"prose": "Element is not a scroll-start-target.",
|
|
390
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-none",
|
|
350
391
|
"type": "value",
|
|
351
392
|
"value": "none"
|
|
352
393
|
},
|
|
353
394
|
{
|
|
354
395
|
"name": "auto",
|
|
355
396
|
"prose": "Element is used to calculate the scroll-start position, taking into account scroll-padding or scroll-margin , same as a scroll-snap target.",
|
|
397
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-auto",
|
|
356
398
|
"type": "value",
|
|
357
399
|
"value": "auto"
|
|
358
400
|
}
|
|
@@ -364,6 +406,7 @@
|
|
|
364
406
|
},
|
|
365
407
|
{
|
|
366
408
|
"name": "scroll-start-target-y",
|
|
409
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#propdef-scroll-start-target-y",
|
|
367
410
|
"value": "none | auto",
|
|
368
411
|
"initial": "none",
|
|
369
412
|
"appliesTo": "all elements",
|
|
@@ -377,12 +420,14 @@
|
|
|
377
420
|
{
|
|
378
421
|
"name": "none",
|
|
379
422
|
"prose": "Element is not a scroll-start-target.",
|
|
423
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-none",
|
|
380
424
|
"type": "value",
|
|
381
425
|
"value": "none"
|
|
382
426
|
},
|
|
383
427
|
{
|
|
384
428
|
"name": "auto",
|
|
385
429
|
"prose": "Element is used to calculate the scroll-start position, taking into account scroll-padding or scroll-margin , same as a scroll-snap target.",
|
|
430
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-auto",
|
|
386
431
|
"type": "value",
|
|
387
432
|
"value": "auto"
|
|
388
433
|
}
|
|
@@ -397,23 +442,28 @@
|
|
|
397
442
|
"selectors": [
|
|
398
443
|
{
|
|
399
444
|
"name": ":snapped",
|
|
400
|
-
"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."
|
|
445
|
+
"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.",
|
|
446
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#selectordef-snapped"
|
|
401
447
|
},
|
|
402
448
|
{
|
|
403
449
|
"name": ":snapped-x",
|
|
404
|
-
"prose": "Matches the child snapped on the horizontal axis."
|
|
450
|
+
"prose": "Matches the child snapped on the horizontal axis.",
|
|
451
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#selectordef-snapped-x"
|
|
405
452
|
},
|
|
406
453
|
{
|
|
407
454
|
"name": ":snapped-y",
|
|
408
|
-
"prose": "Matches the child snapped on the vertical axis."
|
|
455
|
+
"prose": "Matches the child snapped on the vertical axis.",
|
|
456
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#selectordef-snapped-y"
|
|
409
457
|
},
|
|
410
458
|
{
|
|
411
459
|
"name": ":snapped-inline",
|
|
412
|
-
"prose": "Matches the child snapped on the inline axis."
|
|
460
|
+
"prose": "Matches the child snapped on the inline axis.",
|
|
461
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#selectordef-snapped-inline"
|
|
413
462
|
},
|
|
414
463
|
{
|
|
415
464
|
"name": ":snapped-block",
|
|
416
|
-
"prose": "Matches the child snapped on the block axis."
|
|
465
|
+
"prose": "Matches the child snapped on the block axis.",
|
|
466
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#selectordef-snapped-block"
|
|
417
467
|
}
|
|
418
468
|
],
|
|
419
469
|
"values": []
|