@webref/css 6.4.1 → 6.4.3
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-animations-2.json +30 -1
- package/css-animations.json +1 -1
- package/css-backgrounds-4.json +127 -0
- package/css-backgrounds.json +38 -22
- package/css-box.json +8 -0
- package/css-cascade-6.json +5 -5
- package/css-color-5.json +75 -66
- package/css-conditional-5.json +0 -7
- package/css-display.json +3 -3
- package/css-fonts-5.json +1 -1
- package/css-fonts.json +1 -1
- package/css-grid.json +12 -12
- package/css-logical.json +30 -0
- package/css-multicol.json +1 -1
- package/css-nav.json +3 -0
- package/css-overflow-4.json +12 -4
- package/css-overflow.json +5 -1
- package/css-overscroll.json +4 -0
- package/css-position.json +8 -0
- package/css-rhythm.json +0 -5
- package/css-scroll-snap.json +16 -0
- package/css-shapes.json +3 -3
- package/css-sizing-4.json +4 -0
- package/css-sizing.json +10 -4
- package/css-speech.json +18 -18
- package/css-text-4.json +25 -29
- package/css-ui.json +1 -1
- package/css-values.json +103 -3
- package/css-view-transitions.json +1 -2
- package/html.json +1 -1
- package/motion.json +74 -29
- package/package.json +1 -1
- package/scroll-animations.json +64 -18
package/css-text-4.json
CHANGED
|
@@ -115,13 +115,13 @@
|
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
117
|
"name": "space",
|
|
118
|
-
"prose": "Instances of U+200B ZERO WIDTH SPACE within the text
|
|
118
|
+
"prose": "Instances of U+200B ZERO WIDTH SPACE within the child text of this element are replaced by U+0020 SPACE.",
|
|
119
119
|
"type": "value",
|
|
120
120
|
"value": "space"
|
|
121
121
|
},
|
|
122
122
|
{
|
|
123
123
|
"name": "ideographic-space",
|
|
124
|
-
"prose": "Instances of U+200B ZERO WIDTH SPACE within the text
|
|
124
|
+
"prose": "Instances of U+200B ZERO WIDTH SPACE within the child text of this element are replaced by U+3000 IDEOGRAPHIC SPACE.",
|
|
125
125
|
"type": "value",
|
|
126
126
|
"value": "ideographic-space"
|
|
127
127
|
}
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
135
|
"name": "white-space",
|
|
136
|
-
"value": "normal | pre | nowrap | pre-wrap |
|
|
136
|
+
"value": "normal | pre | nowrap | pre-wrap | pre-line | <'white-space-collapse'> || <'text-wrap'> || <'text-space-trim'>",
|
|
137
137
|
"initial": "normal",
|
|
138
138
|
"appliesTo": "text",
|
|
139
139
|
"inherited": "yes",
|
|
@@ -144,37 +144,21 @@
|
|
|
144
144
|
"values": [
|
|
145
145
|
{
|
|
146
146
|
"name": "normal",
|
|
147
|
-
"prose": "This value directs user agents to collapse sequences of white space into a single character (or in some cases, no character). Lines may wrap at allowed soft wrap opportunities, as determined by the line-breaking rules in effect, in order to minimize inline-axis overflow.",
|
|
148
147
|
"type": "value",
|
|
149
148
|
"value": "normal"
|
|
150
149
|
},
|
|
151
150
|
{
|
|
152
151
|
"name": "pre",
|
|
153
|
-
"prose": "This value prevents user agents from collapsing sequences of white space. Segment breaks such as line feeds are preserved as forced line breaks. Lines only break at forced line breaks; content that does not fit within the block container overflows it.",
|
|
154
152
|
"type": "value",
|
|
155
153
|
"value": "pre"
|
|
156
154
|
},
|
|
157
|
-
{
|
|
158
|
-
"name": "nowrap",
|
|
159
|
-
"prose": "Like normal, this value collapses white space; but like pre, it does not allow wrapping.",
|
|
160
|
-
"type": "value",
|
|
161
|
-
"value": "nowrap"
|
|
162
|
-
},
|
|
163
155
|
{
|
|
164
156
|
"name": "pre-wrap",
|
|
165
|
-
"prose": "Like pre, this value preserves white space; but like normal, it allows wrapping.",
|
|
166
157
|
"type": "value",
|
|
167
158
|
"value": "pre-wrap"
|
|
168
159
|
},
|
|
169
|
-
{
|
|
170
|
-
"name": "break-spaces",
|
|
171
|
-
"prose": "The behavior is identical to that of pre-wrap, except that: Any sequence of preserved white space or other space separators always takes up space, including at the end of the line. Tests white-space-intrinsic-size-001.html (live test) (source) white-space-intrinsic-size-002.html (live test) (source) A line breaking opportunity exists after every preserved white space character and after every other space separator (including between adjacent spaces). Tests overflow-wrap-break-word-002.html (live test) (source) overflow-wrap-anywhere-002.html (live test) (source) break-spaces-001.html (live test) (source) break-spaces-002.html (live test) (source) break-spaces-003.html (live test) (source) break-spaces-004.html (live test) (source) break-spaces-005.html (live test) (source) break-spaces-006.html (live test) (source) break-spaces-007.html (live test) (source) break-spaces-008.html (live test) (source) break-spaces-009.html (live test) (source) break-spaces-010.html (live test) (source) break-spaces-051.html (live test) (source) break-spaces-052.html (live test) (source) white-space-pre-034.html (live test) (source) textarea-break-spaces-001.html (live test) (source) textarea-break-spaces-002.html (live test) (source) break-spaces-before-first-char-001.html (live test) (source) break-spaces-before-first-char-002.html (live test) (source) break-spaces-before-first-char-003.html (live test) (source) break-spaces-before-first-char-004.html (live test) (source) break-spaces-before-first-char-005.html (live test) (source) break-spaces-before-first-char-006.html (live test) (source) break-spaces-before-first-char-007.html (live test) (source) break-spaces-before-first-char-008.html (live test) (source) break-spaces-before-first-char-009.html (live test) (source) break-spaces-before-first-char-010.html (live test) (source) break-spaces-before-first-char-011.html (live test) (source) break-spaces-before-first-char-012.html (live test) (source) break-spaces-before-first-char-013.html (live test) (source) break-spaces-before-first-char-014.html (live test) (source) break-spaces-before-first-char-015.html (live test) (source) break-spaces-before-first-char-016.html (live test) (source) break-spaces-before-first-char-017.html (live test) (source) break-spaces-before-first-char-018.html (live test) (source) break-spaces-before-first-ideographic-char-001.html (live test) (source) break-spaces-before-first-ideographic-char-002.html (live test) (source) break-spaces-before-first-ideographic-char-003.html (live test) (source) break-spaces-before-first-ideographic-char-004.html (live test) (source) break-spaces-before-first-ideographic-char-005.html (live test) (source) break-spaces-before-first-ideographic-char-006.html (live test) (source) break-spaces-before-first-ideographic-char-007.html (live test) (source) break-spaces-before-first-ideographic-char-008.html (live test) (source) break-spaces-before-first-ideographic-char-009.html (live test) (source) break-spaces-before-first-ideographic-char-010.html (live test) (source) break-spaces-before-first-ideographic-char-011.html (live test) (source) break-spaces-before-first-ideographic-char-012.html (live test) (source) break-spaces-before-first-ideographic-char-013.html (live test) (source) break-spaces-before-first-ideographic-char-014.html (live test) (source) break-spaces-before-first-ideographic-char-015.html (live test) (source) break-spaces-before-first-ideographic-char-016.html (live test) (source) break-spaces-before-first-ideographic-char-017.html (live test) (source) break-spaces-before-first-ideographic-char-018.html (live test) (source) tab-stop-threshold-005.html (live test) (source) tab-stop-threshold-006.html (live test) (source) word-break-break-all-017.html (live test) (source) break-spaces-tab-001.html (live test) (source) break-spaces-tab-002.html (live test) (source) break-spaces-tab-003.html (live test) (source) break-spaces-tab-004.html (live test) (source) break-spaces-tab-005.html (live test) (source) break-spaces-tab-006.html (live test) (source) break-spaces-with-overflow-wrap-001.html (live test) (source) break-spaces-with-overflow-wrap-002.html (live test) (source) break-spaces-with-overflow-wrap-003.html (live test) (source) break-spaces-with-overflow-wrap-004.html (live test) (source) break-spaces-with-overflow-wrap-005.html (live test) (source) break-spaces-with-overflow-wrap-006.html (live test) (source) break-spaces-with-overflow-wrap-007.html (live test) (source) break-spaces-with-overflow-wrap-008.html (live test) (source) break-spaces-with-overflow-wrap-009.html (live test) (source) break-spaces-with-overflow-wrap-010.html (live test) (source) break-spaces-with-ideographic-space-001.html (live test) (source) break-spaces-with-ideographic-space-002.html (live test) (source) break-spaces-with-ideographic-space-003.html (live test) (source) break-spaces-with-ideographic-space-004.html (live test) (source) break-spaces-with-ideographic-space-005.html (live test) (source) break-spaces-with-ideographic-space-006.html (live test) (source) break-spaces-with-ideographic-space-007.html (live test) (source) break-spaces-with-ideographic-space-008.html (live test) (source) break-spaces-with-ideographic-space-009.html (live test) (source) break-spaces-with-ideographic-space-010.html (live test) (source) line-break-anywhere-and-white-space-008.html (live test) (source) line-break-anywhere-and-white-space-009.html (live test) (source) ws-break-spaces-applies-to-001.html (live test) (source) ws-break-spaces-applies-to-002.html (live test) (source) ws-break-spaces-applies-to-003.html (live test) (source) ws-break-spaces-applies-to-005.html (live test) (source) ws-break-spaces-applies-to-006.html (live test) (source) ws-break-spaces-applies-to-007.html (live test) (source) ws-break-spaces-applies-to-008.html (live test) (source) ws-break-spaces-applies-to-009.html (live test) (source) ws-break-spaces-applies-to-010.html (live test) (source) ws-break-spaces-applies-to-011.html (live test) (source) ws-break-spaces-applies-to-012.html (live test) (source) ws-break-spaces-applies-to-013.html (live test) (source) ws-break-spaces-applies-to-014.html (live test) (source) ws-break-spaces-applies-to-015.html (live test) (source) break-spaces-newline-011.html (live test) (source) break-spaces-newline-012.html (live test) (source) break-spaces-newline-013.html (live test) (source) break-spaces-newline-014.html (live test) (source) break-spaces-newline-015.html (live test) (source) break-spaces-newline-016.html (live test) (source) trailing-ideographic-space-break-spaces-001.html (live test) (source) trailing-ideographic-space-break-spaces-002.html (live test) (source) trailing-ideographic-space-break-spaces-003.html (live test) (source) trailing-ideographic-space-break-spaces-004.html (live test) (source) trailing-ideographic-space-break-spaces-005.html (live test) (source) trailing-ideographic-space-break-spaces-006.html (live test) (source) trailing-ideographic-space-break-spaces-007.html (live test) (source) trailing-ideographic-space-break-spaces-008.html (live test) (source)",
|
|
172
|
-
"type": "value",
|
|
173
|
-
"value": "break-spaces"
|
|
174
|
-
},
|
|
175
160
|
{
|
|
176
161
|
"name": "pre-line",
|
|
177
|
-
"prose": "Like normal, this value collapses consecutive white space characters and allows wrapping, but it preserves segment breaks in the source as forced line breaks.",
|
|
178
162
|
"type": "value",
|
|
179
163
|
"value": "pre-line"
|
|
180
164
|
}
|
|
@@ -185,8 +169,8 @@
|
|
|
185
169
|
]
|
|
186
170
|
},
|
|
187
171
|
{
|
|
188
|
-
"name": "
|
|
189
|
-
"value": "collapse | discard | preserve | preserve-breaks | preserve-spaces",
|
|
172
|
+
"name": "white-space-collapse",
|
|
173
|
+
"value": "collapse | discard | preserve | preserve-breaks | preserve-spaces | break-spaces",
|
|
190
174
|
"initial": "collapse",
|
|
191
175
|
"appliesTo": "text",
|
|
192
176
|
"inherited": "yes",
|
|
@@ -203,32 +187,38 @@
|
|
|
203
187
|
},
|
|
204
188
|
{
|
|
205
189
|
"name": "preserve",
|
|
206
|
-
"prose": "This value prevents user agents from collapsing sequences of white space. Segment breaks are preserved as forced line breaks.",
|
|
190
|
+
"prose": "This value prevents user agents from collapsing sequences of white space. Segment breaks such as line feeds are preserved as forced line breaks.",
|
|
207
191
|
"type": "value",
|
|
208
192
|
"value": "preserve"
|
|
209
193
|
},
|
|
210
194
|
{
|
|
211
195
|
"name": "preserve-breaks",
|
|
212
|
-
"prose": "
|
|
196
|
+
"prose": "Like collapse, this value collapses consecutive white space characters, but preserves segment breaks in the source as forced line breaks.",
|
|
213
197
|
"type": "value",
|
|
214
198
|
"value": "preserve-breaks"
|
|
215
199
|
},
|
|
216
200
|
{
|
|
217
201
|
"name": "preserve-spaces",
|
|
218
|
-
"prose": "This value prevents user agents from collapsing sequences of white space, and converts tabs and segment breaks to spaces. (This value is intended to
|
|
202
|
+
"prose": "This value prevents user agents from collapsing sequences of white space, and converts tabs and segment breaks to spaces. (This value is intended to represent the behavior of xml:space=\"preserve\" in SVG.)",
|
|
219
203
|
"type": "value",
|
|
220
204
|
"value": "preserve-spaces"
|
|
221
205
|
},
|
|
206
|
+
{
|
|
207
|
+
"name": "break-spaces",
|
|
208
|
+
"prose": "The behavior is identical to that of preserve, except that: Any sequence of preserved white space or other space separators always takes up space, including at the end of the line. A line breaking opportunity exists after every preserved white space character and after every other space separator (including between adjacent spaces).",
|
|
209
|
+
"type": "value",
|
|
210
|
+
"value": "break-spaces"
|
|
211
|
+
},
|
|
222
212
|
{
|
|
223
213
|
"name": "discard",
|
|
224
|
-
"prose": "This value directs user agents to “discard” all white space in the element. Does this preserve line break opportunities or no? Do we need a \"hide\" value?",
|
|
214
|
+
"prose": "This value directs user agents to “discard” all white space in the element. Does this preserve line break opportunities or no? Do we need a distinct \"hide\" value? If it preserves line break opportunities, maybe it should be replaced with a word-boundary-expansion value?",
|
|
225
215
|
"type": "value",
|
|
226
216
|
"value": "discard"
|
|
227
217
|
}
|
|
228
218
|
],
|
|
229
219
|
"styleDeclaration": [
|
|
230
|
-
"
|
|
231
|
-
"
|
|
220
|
+
"white-space-collapse",
|
|
221
|
+
"whiteSpaceCollapse"
|
|
232
222
|
]
|
|
233
223
|
},
|
|
234
224
|
{
|
|
@@ -927,7 +917,7 @@
|
|
|
927
917
|
},
|
|
928
918
|
{
|
|
929
919
|
"name": "no-compress",
|
|
930
|
-
"prose": "Justification must not compress spacing controlled by text-spacing-trim or text-autospace. (If this value is not specified, the justification process may reduce such spacing except when the spacing is at the start or end of the line.) This keyword used to be part of text-spacing; it might need renaming to be more specific now that it’s here, as it implies that e.g. U+0020 cannot be compressed.",
|
|
920
|
+
"prose": "Justification must not compress spacing controlled by text-spacing-trim or text-autospace. (If this value is not specified, the justification process may reduce such spacing except when the spacing is at the start or end of the line.) This keyword used to be part of text-spacing; it might need renaming to be more specific now that it’s here, as it implies that e.g. U+0020 cannot be compressed. [Issue #7079]",
|
|
931
921
|
"type": "value",
|
|
932
922
|
"value": "no-compress"
|
|
933
923
|
}
|
|
@@ -1065,7 +1055,7 @@
|
|
|
1065
1055
|
},
|
|
1066
1056
|
{
|
|
1067
1057
|
"name": "text-autospace",
|
|
1068
|
-
"value": "normal | <autospace>",
|
|
1058
|
+
"value": "normal | <autospace> | auto",
|
|
1069
1059
|
"initial": "normal",
|
|
1070
1060
|
"appliesTo": "text",
|
|
1071
1061
|
"inherited": "yes",
|
|
@@ -1115,6 +1105,12 @@
|
|
|
1115
1105
|
"prose": "Creates extra non-breaking spacing around punctuation as required by language-specific typographic conventions. In this level, if the element’s content language is French, narrow no-break space (U+202F) and no-break space (U+00A0) is inserted where required by French typographic guidelines. Otherwise this value has no effect. However future specifications may add automatic spacing behavior for other languages.",
|
|
1116
1106
|
"type": "value",
|
|
1117
1107
|
"value": "punctuation"
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
"name": "auto",
|
|
1111
|
+
"prose": "The user agent chooses a set of typographically high quality spacing values. Different user agents running on different platforms may pick different values.",
|
|
1112
|
+
"type": "value",
|
|
1113
|
+
"value": "auto"
|
|
1118
1114
|
}
|
|
1119
1115
|
],
|
|
1120
1116
|
"styleDeclaration": [
|
package/css-ui.json
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"appliesTo": "all elements",
|
|
26
26
|
"inherited": "no",
|
|
27
27
|
"percentages": "N/A",
|
|
28
|
-
"computedValue": "absolute length; 0 if the outline style is none.",
|
|
28
|
+
"computedValue": "absolute length, snapped as a border width; 0 if the outline style is none.",
|
|
29
29
|
"canonicalOrder": "per grammar",
|
|
30
30
|
"animationType": "by computed value",
|
|
31
31
|
"styleDeclaration": [
|
package/css-values.json
CHANGED
|
@@ -50,23 +50,123 @@
|
|
|
50
50
|
{
|
|
51
51
|
"name": "url()",
|
|
52
52
|
"prose": "The <url> type, written with the url() and src() functions, represents a URL, which is a pointer to a resource.",
|
|
53
|
-
"type": "function"
|
|
53
|
+
"type": "function",
|
|
54
|
+
"value": "url( <string> <url-modifier>* ) | <url-token>"
|
|
54
55
|
},
|
|
55
56
|
{
|
|
56
57
|
"name": "src()",
|
|
57
58
|
"prose": "The <url> type, written with the url() and src() functions, represents a URL, which is a pointer to a resource.",
|
|
58
|
-
"type": "function"
|
|
59
|
+
"type": "function",
|
|
60
|
+
"value": "src( <string> <url-modifier>* )"
|
|
59
61
|
},
|
|
60
62
|
{
|
|
61
63
|
"name": "<url>",
|
|
62
64
|
"type": "type",
|
|
63
|
-
"value": "url(
|
|
65
|
+
"value": "<url()> | <src()>"
|
|
64
66
|
},
|
|
65
67
|
{
|
|
66
68
|
"name": "<url-modifier>",
|
|
67
69
|
"prose": "<url>s support specifying additional <url-modifier>s, which change the meaning or the interpretation of the URL somehow. A <url-modifier> is either an <ident> or a functional notation.",
|
|
68
70
|
"type": "type"
|
|
69
71
|
},
|
|
72
|
+
{
|
|
73
|
+
"name": "<request-url-modifier>",
|
|
74
|
+
"prose": "The <request-url-modifier>s represent <url-modifier>s that affect the resource’s request. Each <request-url-modifier> has a request modifier steps which accepts a request.",
|
|
75
|
+
"type": "type",
|
|
76
|
+
"value": "<crossorigin-modifier> | <integrity-modifier> | <referrerpolicy-modifier>",
|
|
77
|
+
"values": [
|
|
78
|
+
{
|
|
79
|
+
"name": "<crossorigin-modifier>",
|
|
80
|
+
"value": "crossorigin(anonymous | use-credentials)",
|
|
81
|
+
"type": "type"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "crossorigin()",
|
|
85
|
+
"prose": "<crossorigin-modifier> = crossorigin(anonymous | use-credentials)",
|
|
86
|
+
"type": "function"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "anonymous",
|
|
90
|
+
"prose": "<crossorigin-modifier> = crossorigin(anonymous | use-credentials)",
|
|
91
|
+
"type": "value",
|
|
92
|
+
"value": "anonymous"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "use-credentials",
|
|
96
|
+
"prose": "<crossorigin-modifier> = crossorigin(anonymous | use-credentials)",
|
|
97
|
+
"type": "value",
|
|
98
|
+
"value": "use-credentials"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "<integrity-modifier>",
|
|
102
|
+
"value": "integrity(<string>)",
|
|
103
|
+
"type": "type"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "integrity()",
|
|
107
|
+
"prose": "<integrity-modifier> = integrity(<string>)",
|
|
108
|
+
"type": "function"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "<referrerpolicy-modifier>",
|
|
112
|
+
"value": "referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
|
|
113
|
+
"type": "type"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "referrerpolicy()",
|
|
117
|
+
"prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
|
|
118
|
+
"type": "function"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "no-referrer",
|
|
122
|
+
"prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
|
|
123
|
+
"type": "value",
|
|
124
|
+
"value": "no-referrer"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "no-referrer-when-downgrade",
|
|
128
|
+
"prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
|
|
129
|
+
"type": "value",
|
|
130
|
+
"value": "no-referrer-when-downgrade"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "same-origin",
|
|
134
|
+
"prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
|
|
135
|
+
"type": "value",
|
|
136
|
+
"value": "same-origin"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "origin",
|
|
140
|
+
"prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
|
|
141
|
+
"type": "value",
|
|
142
|
+
"value": "origin"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"name": "strict-origin",
|
|
146
|
+
"prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
|
|
147
|
+
"type": "value",
|
|
148
|
+
"value": "strict-origin"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"name": "origin-when-cross-origin",
|
|
152
|
+
"prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
|
|
153
|
+
"type": "value",
|
|
154
|
+
"value": "origin-when-cross-origin"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"name": "strict-origin-when-cross-origin",
|
|
158
|
+
"prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
|
|
159
|
+
"type": "value",
|
|
160
|
+
"value": "strict-origin-when-cross-origin"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "unsafe-url",
|
|
164
|
+
"prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
|
|
165
|
+
"type": "value",
|
|
166
|
+
"value": "unsafe-url"
|
|
167
|
+
}
|
|
168
|
+
]
|
|
169
|
+
},
|
|
70
170
|
{
|
|
71
171
|
"name": "<integer>",
|
|
72
172
|
"prose": "Integer values are denoted by <integer>.",
|
|
@@ -37,8 +37,7 @@
|
|
|
37
37
|
"atrules": [],
|
|
38
38
|
"selectors": [
|
|
39
39
|
{
|
|
40
|
-
"name": "::view-transition"
|
|
41
|
-
"prose": "A tree-abiding pseudo-element that is also a pseudo-element root. Its originating element is the document’s document element. Its containing block is the snapshot root. The following is added to the HTML user agent style sheet: html::view-transition { position: fixed; inset: 0; }"
|
|
40
|
+
"name": "::view-transition"
|
|
42
41
|
},
|
|
43
42
|
{
|
|
44
43
|
"name": "::view-transition-group()",
|
package/html.json
CHANGED
package/motion.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"properties": [
|
|
7
7
|
{
|
|
8
8
|
"name": "offset-path",
|
|
9
|
-
"value": "none | <
|
|
9
|
+
"value": "none | <offset-path> || <coord-box>",
|
|
10
10
|
"initial": "none",
|
|
11
11
|
"appliesTo": "transformable elements",
|
|
12
12
|
"inherited": "no",
|
|
@@ -18,9 +18,39 @@
|
|
|
18
18
|
"values": [
|
|
19
19
|
{
|
|
20
20
|
"name": "none",
|
|
21
|
-
"prose": "
|
|
21
|
+
"prose": "The element does not have an offset transform.",
|
|
22
22
|
"type": "value",
|
|
23
23
|
"value": "none"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "<offset-path> || <coord-box>",
|
|
27
|
+
"prose": "The element has an offset transform, defined by some offset path. See § 2.7 Calculating The Offset Transform for details on how to calculate the offset transform. All the usual effects of having a transform apply (such as creating a stacking context, etc.) See CSS Transforms 1 § 2 The Transform Rendering Model for details. If <offset-path> is omitted, it defaults to inset(0 round X), where X is the value of border-radius on the element that establishes the containing block for this element. If <coord-box> is omitted, it defaults to border-box. See the specific values (below) for the interpretation of each component.",
|
|
28
|
+
"type": "value",
|
|
29
|
+
"value": "<offset-path> || <coord-box>"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "<ray()>",
|
|
33
|
+
"prose": "The offset path is a line extending from the offset starting position at some angle. See § 2.1.1 The ray() Function for details. The <coord-box> provides the reference box for the ray.",
|
|
34
|
+
"type": "value",
|
|
35
|
+
"value": "<ray()>"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "<url>",
|
|
39
|
+
"prose": "A URL reference to an SVG shape element. The offset path is the referenced element’s equivalent path. [SVG2] If the URL does not reference a shape element (because it references a different element, or resolves to a non-SVG document, or doesn’t resolve at all, etc) this behaves as path(\"m 0 0\") (a <basic-shape>) instead. The <coord-box> defines the viewport and user coordinate system for the shape element, with the origin (the 0,0 point) at the top left corner, and units being 1px in size.",
|
|
40
|
+
"type": "value",
|
|
41
|
+
"value": "<url>"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "<basic-shape>",
|
|
45
|
+
"prose": "The offset path is the equivalent path of the <basic-shape> function. If circle() or ellipse() is used, and an explicit center position is not given, they default to using the offset starting position, rather than their standard default. The <coord-box> provides the [=/reference box=] for the <basic-shape>.",
|
|
46
|
+
"type": "value",
|
|
47
|
+
"value": "<basic-shape>"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "<coord-box>",
|
|
51
|
+
"prose": "Defines the box that the <offset-path> sizes into. In CSS contexts, the boxes being referenced are from the element that establishes the containing block for this element. In SVG contexts, all values behave as view-box.",
|
|
52
|
+
"type": "value",
|
|
53
|
+
"value": "<coord-box>"
|
|
24
54
|
}
|
|
25
55
|
],
|
|
26
56
|
"styleDeclaration": [
|
|
@@ -34,7 +64,7 @@
|
|
|
34
64
|
"initial": "0",
|
|
35
65
|
"appliesTo": "transformable elements",
|
|
36
66
|
"inherited": "no",
|
|
37
|
-
"percentages": "
|
|
67
|
+
"percentages": "relative to the offset path length",
|
|
38
68
|
"computedValue": "a computed <length-percentage> value",
|
|
39
69
|
"canonicalOrder": "per grammar",
|
|
40
70
|
"animationType": "by computed value",
|
|
@@ -51,20 +81,20 @@
|
|
|
51
81
|
"appliesTo": "transformable elements",
|
|
52
82
|
"inherited": "no",
|
|
53
83
|
"percentages": "Refer to the size of containing block",
|
|
54
|
-
"computedValue": "
|
|
84
|
+
"computedValue": "The auto keyword or a computed <position>",
|
|
55
85
|
"canonicalOrder": "per grammar",
|
|
56
86
|
"animationType": "by computed value",
|
|
57
87
|
"media": "visual",
|
|
58
88
|
"values": [
|
|
59
89
|
{
|
|
60
90
|
"name": "auto",
|
|
61
|
-
"prose": "
|
|
91
|
+
"prose": "The offset starting position is the top-left corner of the box.",
|
|
62
92
|
"type": "value",
|
|
63
93
|
"value": "auto"
|
|
64
94
|
},
|
|
65
95
|
{
|
|
66
96
|
"name": "<position>",
|
|
67
|
-
"prose": "
|
|
97
|
+
"prose": "The offset starting position is the result of using the <position> to position a 0x0 object area within the box’s containing block.",
|
|
68
98
|
"type": "value",
|
|
69
99
|
"value": "<position>"
|
|
70
100
|
}
|
|
@@ -80,11 +110,25 @@
|
|
|
80
110
|
"initial": "auto",
|
|
81
111
|
"appliesTo": "transformable elements",
|
|
82
112
|
"inherited": "no",
|
|
83
|
-
"percentages": "
|
|
84
|
-
"computedValue": "
|
|
113
|
+
"percentages": "relative to the width and the height of the element’s reference box",
|
|
114
|
+
"computedValue": "the auto keyword or a computed <position>",
|
|
85
115
|
"canonicalOrder": "per grammar",
|
|
86
116
|
"animationType": "by computed value",
|
|
87
117
|
"media": "visual",
|
|
118
|
+
"values": [
|
|
119
|
+
{
|
|
120
|
+
"name": "auto",
|
|
121
|
+
"prose": "The anchor point is the same as the point indicated by transform-origin. Specifically, the computed value of transform-origin is resolved as a <position> against the element’s reference box.",
|
|
122
|
+
"type": "value",
|
|
123
|
+
"value": "auto"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "<position>",
|
|
127
|
+
"prose": "The anchor point is the result of resolving the <position> against the element’s reference box.",
|
|
128
|
+
"type": "value",
|
|
129
|
+
"value": "<position>"
|
|
130
|
+
}
|
|
131
|
+
],
|
|
88
132
|
"styleDeclaration": [
|
|
89
133
|
"offset-anchor",
|
|
90
134
|
"offsetAnchor"
|
|
@@ -104,15 +148,21 @@
|
|
|
104
148
|
"values": [
|
|
105
149
|
{
|
|
106
150
|
"name": "auto",
|
|
107
|
-
"prose": "
|
|
151
|
+
"prose": "The offset transform will have a rotation component equal to the difference between the offset path’s direction at the offset position and the direction of the positive X axis (that is, a line going toward the right). See SVG’s direction of a path for details on how to calculate this. If specified with an <angle>, the angle is added to the rotation component.",
|
|
108
152
|
"type": "value",
|
|
109
153
|
"value": "auto"
|
|
110
154
|
},
|
|
111
155
|
{
|
|
112
156
|
"name": "reverse",
|
|
113
|
-
"prose": "
|
|
157
|
+
"prose": "Identical to auto, but adds an additional 180deg to the rotation.",
|
|
114
158
|
"type": "value",
|
|
115
159
|
"value": "reverse"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "<angle>",
|
|
163
|
+
"prose": "When specified on its own, adds a rotation component to the offset transform of the specified angle. (That is, offset-rotate: 45deg; is similar to transform: rotate(45deg); it’s just ordered to be part of the offset transform.)",
|
|
164
|
+
"type": "value",
|
|
165
|
+
"value": "<angle>"
|
|
116
166
|
}
|
|
117
167
|
],
|
|
118
168
|
"styleDeclaration": [
|
|
@@ -138,26 +188,31 @@
|
|
|
138
188
|
"atrules": [],
|
|
139
189
|
"selectors": [],
|
|
140
190
|
"values": [
|
|
191
|
+
{
|
|
192
|
+
"name": "<offset-path>",
|
|
193
|
+
"type": "type",
|
|
194
|
+
"value": "<ray()> | <url> | <basic-shape>"
|
|
195
|
+
},
|
|
141
196
|
{
|
|
142
197
|
"name": "ray()",
|
|
143
198
|
"type": "function",
|
|
144
|
-
"value": "ray( <angle> && <ray-size
|
|
199
|
+
"value": "ray( <angle> && <ray-size>? && contain? )",
|
|
145
200
|
"values": [
|
|
146
201
|
{
|
|
147
202
|
"name": "<angle>",
|
|
148
|
-
"prose": "The offset path is a line segment that starts from the
|
|
203
|
+
"prose": "The offset path is a single line segment that starts from the offset starting position and proceeds in the direction defined by the specified <angle>. (Its length is determined by the other arguments.) As with gradient functions, <angle> values are interpreted as bearing angles, with 0deg pointing up and positive angles representing clockwise rotation.",
|
|
149
204
|
"type": "value",
|
|
150
205
|
"value": "<angle>"
|
|
151
206
|
},
|
|
152
207
|
{
|
|
153
208
|
"name": "<ray-size>",
|
|
154
|
-
"prose": "Specifies the length of the offset path (the distance between the offset-distance: 0% and offset-distance: 100% points) relative to the containing box. Individual keywords are:",
|
|
209
|
+
"prose": "Specifies the length of the offset path (the distance between the offset-distance: 0% and offset-distance: 100% points) relative to the containing box. If no <ray-size> is specified it defaults to closest-side. Individual keywords are:",
|
|
155
210
|
"type": "value",
|
|
156
211
|
"value": "<ray-size>"
|
|
157
212
|
},
|
|
158
213
|
{
|
|
159
214
|
"name": "contain",
|
|
160
|
-
"prose": "The
|
|
215
|
+
"prose": "The length of the offset path is reduced so that the element stays within the containing block even at offset-distance: 100%. Specifically, the path’s length is reduced by half the width or half the height of the element’s border box, whichever is larger, and floored at zero.",
|
|
161
216
|
"type": "value",
|
|
162
217
|
"value": "contain"
|
|
163
218
|
}
|
|
@@ -170,45 +225,35 @@
|
|
|
170
225
|
"values": [
|
|
171
226
|
{
|
|
172
227
|
"name": "closest-side",
|
|
173
|
-
"prose": "The distance from the
|
|
228
|
+
"prose": "The distance from the ray’s starting point to whichever side of the containing block is closest.",
|
|
174
229
|
"type": "value",
|
|
175
230
|
"value": "closest-side"
|
|
176
231
|
},
|
|
177
232
|
{
|
|
178
233
|
"name": "closest-corner",
|
|
179
|
-
"prose": "The distance from the
|
|
234
|
+
"prose": "The distance from the ray’s starting point to whichever corner of the containing block is closest.",
|
|
180
235
|
"type": "value",
|
|
181
236
|
"value": "closest-corner"
|
|
182
237
|
},
|
|
183
238
|
{
|
|
184
239
|
"name": "farthest-side",
|
|
185
|
-
"prose": "The distance from the
|
|
240
|
+
"prose": "The distance from the ray’s starting point to whichever side of the containing block is farthest.",
|
|
186
241
|
"type": "value",
|
|
187
242
|
"value": "farthest-side"
|
|
188
243
|
},
|
|
189
244
|
{
|
|
190
245
|
"name": "farthest-corner",
|
|
191
|
-
"prose": "The distance from the
|
|
246
|
+
"prose": "The distance from the ray’s starting point to whichever corner of the containing block is farthest.",
|
|
192
247
|
"type": "value",
|
|
193
248
|
"value": "farthest-corner"
|
|
194
249
|
},
|
|
195
250
|
{
|
|
196
251
|
"name": "sides",
|
|
197
|
-
"prose": "The distance from the
|
|
252
|
+
"prose": "The distance from the ray’s starting point to the point where the offset path intersects the containing block’s boundary. If the ray’s starting point is on the containing block’s boundary, or outside its bounds entirely, the distance is zero.",
|
|
198
253
|
"type": "value",
|
|
199
254
|
"value": "sides"
|
|
200
255
|
}
|
|
201
256
|
]
|
|
202
257
|
}
|
|
203
|
-
],
|
|
204
|
-
"warnings": [
|
|
205
|
-
{
|
|
206
|
-
"msg": "Dangling value",
|
|
207
|
-
"name": "path()",
|
|
208
|
-
"value": "path( <string> )",
|
|
209
|
-
"pureSyntax": true,
|
|
210
|
-
"type": "function",
|
|
211
|
-
"for": "offsetpath-pathfunc"
|
|
212
|
-
}
|
|
213
258
|
]
|
|
214
259
|
}
|