@webref/css 6.4.0 → 6.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/css-text-4.json CHANGED
@@ -133,7 +133,7 @@
133
133
  },
134
134
  {
135
135
  "name": "white-space",
136
- "value": "normal | pre | nowrap | pre-wrap | break-spaces | pre-line",
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": "text-space-collapse",
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": "This value collapses white space as for collapse, but preserves segment breaks as forced line breaks.",
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 match the behavior of xml:space=\"preserve\" in SVG.)",
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
- "text-space-collapse",
231
- "textSpaceCollapse"
220
+ "white-space-collapse",
221
+ "whiteSpaceCollapse"
232
222
  ]
233
223
  },
234
224
  {
@@ -880,7 +870,7 @@
880
870
  },
881
871
  {
882
872
  "name": "text-justify",
883
- "value": "auto | none | inter-word | inter-character",
873
+ "value": "[ auto | none | inter-word | inter-character ] || no-compress",
884
874
  "initial": "auto",
885
875
  "appliesTo": "text",
886
876
  "inherited": "yes",
@@ -924,6 +914,12 @@
924
914
  "prose": "Justification adjusts spacing as for auto except: Justification opportunities are disabled at word separators. Justification opportunities are disabled between Bopomofo characters",
925
915
  "type": "value",
926
916
  "value": "ruby"
917
+ },
918
+ {
919
+ "name": "no-compress",
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]",
921
+ "type": "value",
922
+ "value": "no-compress"
927
923
  }
928
924
  ],
929
925
  "styleDeclaration": [
@@ -1058,10 +1054,10 @@
1058
1054
  ]
1059
1055
  },
1060
1056
  {
1061
- "name": "text-spacing",
1062
- "value": "normal | none | auto | no-compress || [ trim-start | space-start | space-first ] || [ trim-end | space-end | allow-end ] || [ trim-adjacent | space-adjacent ] || ideograph-alpha || ideograph-numeric || punctuation",
1057
+ "name": "text-autospace",
1058
+ "value": "normal | <autospace> | auto",
1063
1059
  "initial": "normal",
1064
- "appliesTo": "block containers",
1060
+ "appliesTo": "text",
1065
1061
  "inherited": "yes",
1066
1062
  "percentages": "N/A",
1067
1063
  "computedValue": "specified keyword(s)",
@@ -1070,93 +1066,145 @@
1070
1066
  "values": [
1071
1067
  {
1072
1068
  "name": "normal",
1073
- "prose": "Specifies the baseline behavior, equivalent to space-start trim-end trim-adjacent ideograph-alpha ideograph-numeric.",
1069
+ "prose": "Same behavior as ideograph-alpha ideograph-numeric.",
1074
1070
  "type": "value",
1075
1071
  "value": "normal"
1076
1072
  },
1077
1073
  {
1078
- "name": "none",
1079
- "prose": "Turns off all text-spacing features. All fullwidth characters are set with full-width glyphs.",
1074
+ "name": "no-autospace",
1075
+ "prose": "No automatic space is inserted.",
1080
1076
  "type": "value",
1081
- "value": "none"
1077
+ "value": "no-autospace"
1082
1078
  },
1083
1079
  {
1084
- "name": "auto",
1085
- "prose": "The user agent chooses a set of typographically high quality spacing values. Different user agents running on different platforms may pick different values.",
1080
+ "name": "insert",
1081
+ "prose": "The specified spacing is automatically inserted if there are no space characters of any kind (Unicode general category Z) already there. If neither insert nor replace are specified, the behavior is the same as insert.",
1086
1082
  "type": "value",
1087
- "value": "auto"
1083
+ "value": "insert"
1088
1084
  },
1089
1085
  {
1090
- "name": "no-compress",
1091
- "prose": "Justification must not compress text-spacing. (If this value is not specified, the justification process may reduce autospacing except when the spacing is at the start or end of the line.)",
1086
+ "name": "replace",
1087
+ "prose": "The specified spacing is automatically inserted even if there is already a space (U+0020) at that point; additionally, the space (U+0020) is removed. Other types of space characters (Unicode general category Z) suppress automatic spacing, as for insert.",
1092
1088
  "type": "value",
1093
- "value": "no-compress"
1089
+ "value": "replace"
1094
1090
  },
1095
1091
  {
1096
- "name": "space-start",
1097
- "prose": "Set fullwidth opening punctuation with full-width glyphs (spaced) at the start of each line.",
1092
+ "name": "ideograph-alpha",
1093
+ "prose": "Creates extra spacing between runs of ideographs and non-ideographic letters, see § 8.4.1 Inter-script Spacing.",
1098
1094
  "type": "value",
1099
- "value": "space-start"
1095
+ "value": "ideograph-alpha"
1100
1096
  },
1101
1097
  {
1102
- "name": "trim-start",
1103
- "prose": "Set fullwidth opening punctuation with half-width glyphs (flush) at the start of each line.",
1098
+ "name": "ideograph-numeric",
1099
+ "prose": "Creates extra spacing between runs of ideographs and non-ideographic numerals, see § 8.4.1 Inter-script Spacing.",
1104
1100
  "type": "value",
1105
- "value": "trim-start"
1101
+ "value": "ideograph-numeric"
1106
1102
  },
1107
1103
  {
1108
- "name": "space-first",
1109
- "prose": "Behaves as space-start on the first line the block container and each line after a forced line break but as trim-start on all other lines.",
1104
+ "name": "punctuation",
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.",
1110
1106
  "type": "value",
1111
- "value": "space-first"
1107
+ "value": "punctuation"
1112
1108
  },
1113
1109
  {
1114
- "name": "allow-end",
1115
- "prose": "Set fullwidth closing punctuation with half-width glyphs (flush) at the end of each line if it does not otherwise fit prior to justification; otherwise set the punctuation with full-width glyphs.",
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.",
1116
1112
  "type": "value",
1117
- "value": "allow-end"
1113
+ "value": "auto"
1114
+ }
1115
+ ],
1116
+ "styleDeclaration": [
1117
+ "text-autospace",
1118
+ "textAutospace"
1119
+ ]
1120
+ },
1121
+ {
1122
+ "name": "text-spacing-trim",
1123
+ "value": "<spacing-trim> | auto",
1124
+ "initial": "space-first",
1125
+ "appliesTo": "text",
1126
+ "inherited": "yes",
1127
+ "percentages": "N/A",
1128
+ "computedValue": "specified keyword(s)",
1129
+ "canonicalOrder": "per grammar",
1130
+ "animationType": "discrete",
1131
+ "values": [
1132
+ {
1133
+ "name": "space-all",
1134
+ "prose": "All fullwidth punctuation characters are set with full-width glyphs (spaced).",
1135
+ "type": "value",
1136
+ "value": "space-all"
1118
1137
  },
1119
1138
  {
1120
- "name": "space-end",
1121
- "prose": "Set fullwidth closing punctuation with full-width glyphs (spaced) at the end of each line.",
1139
+ "name": "trim-auto",
1140
+ "prose": "Set fullwidth opening punctuation with half-width glyphs (flush) at the start of each line; set fullwidth closing punctuation with half-width glyphs (flush) at the end of each line; and collapse spacing between punctuation glyphs as described below.",
1122
1141
  "type": "value",
1123
- "value": "space-end"
1142
+ "value": "trim-auto"
1124
1143
  },
1125
1144
  {
1126
- "name": "trim-end",
1127
- "prose": "Set fullwidth closing punctuation with half-width glyphs (flush) at the end of each line.",
1145
+ "name": "space-first",
1146
+ "prose": "Set fullwidth opening punctuation with full-width glyphs (spaced) on the first line the block container. Otherwise as trim-auto (unless allow-end is also specified).",
1128
1147
  "type": "value",
1129
- "value": "trim-end"
1148
+ "value": "space-first"
1130
1149
  },
1131
1150
  {
1132
- "name": "space-adjacent",
1133
- "prose": "Set fullwidth opening punctuation with full-width glyphs (spaced) when not at the start of the line. Set fullwidth closing punctuation with full-width glyphs (spaced) when not at the end of the line.",
1151
+ "name": "allow-end",
1152
+ "prose": "Set fullwidth closing punctuation with half-width glyphs (flush) at the end of each line if it does not otherwise fit prior to justification, else set the punctuation with full-width glyphs. Otherwise as trim-auto (unless space-first is also specified).",
1134
1153
  "type": "value",
1135
- "value": "space-adjacent"
1154
+ "value": "allow-end"
1136
1155
  },
1137
1156
  {
1138
- "name": "trim-adjacent",
1139
- "prose": "Collapse spacing between punctuation glyphs as described below.",
1157
+ "name": "auto",
1158
+ "prose": "The user agent chooses a set of typographically high quality spacing values. Different user agents running on different platforms may pick different values. Do we need auto? It would be weird for the author to choose platform-dependent behavior at the start of the first line, and it should otherwise use trim-auto.",
1140
1159
  "type": "value",
1141
- "value": "trim-adjacent"
1160
+ "value": "auto"
1161
+ }
1162
+ ],
1163
+ "styleDeclaration": [
1164
+ "text-spacing-trim",
1165
+ "textSpacingTrim"
1166
+ ]
1167
+ },
1168
+ {
1169
+ "name": "text-spacing",
1170
+ "value": "normal | none | auto | <autospace> || <spacing-trim>",
1171
+ "initial": "see individual properties",
1172
+ "appliesTo": "text",
1173
+ "inherited": "yes",
1174
+ "percentages": "N/A",
1175
+ "computedValue": "specified keyword(s)",
1176
+ "animationType": "discrete",
1177
+ "canonicalOrder": "per grammar",
1178
+ "values": [
1179
+ {
1180
+ "name": "normal",
1181
+ "prose": "Specifies the baseline behavior, setting each sub-property to its initial value. Equivalent to space-first ideograph-alpha ideograph-numeric.",
1182
+ "type": "value",
1183
+ "value": "normal"
1142
1184
  },
1143
1185
  {
1144
- "name": "ideograph-alpha",
1145
- "prose": "Creates extra spacing between runs of ideographs and non-ideographic letters, see § 8.4.1 Inter-script Spacing.",
1186
+ "name": "none",
1187
+ "prose": "Turns off all text-spacing features: sets text-spacing-trim to space-all and text-autospace to no-autospace.",
1146
1188
  "type": "value",
1147
- "value": "ideograph-alpha"
1189
+ "value": "none"
1148
1190
  },
1149
1191
  {
1150
- "name": "ideograph-numeric",
1151
- "prose": "Creates extra spacing between runs of ideographs and non-ideographic numerals, see § 8.4.1 Inter-script Spacing.",
1192
+ "name": "auto",
1193
+ "prose": "Sets both text-spacing-trim and text-autospace to auto.",
1152
1194
  "type": "value",
1153
- "value": "ideograph-numeric"
1195
+ "value": "auto"
1154
1196
  },
1155
1197
  {
1156
- "name": "punctuation",
1157
- "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. Integrate rules for correcting incorrect spaces? Issue 318",
1198
+ "name": "<spacing-trim>",
1199
+ "prose": "Sets text-spacing-trim to the specified value. If no <autospace> value is given, text-autospace is set to its initial value.",
1158
1200
  "type": "value",
1159
- "value": "punctuation"
1201
+ "value": "<spacing-trim>"
1202
+ },
1203
+ {
1204
+ "name": "<autospace>",
1205
+ "prose": "Sets text-autospace to the specified value. If no <spacing-trim> value is given, text-spacing-trim is set to its initial value.",
1206
+ "type": "value",
1207
+ "value": "<autospace>"
1160
1208
  }
1161
1209
  ],
1162
1210
  "styleDeclaration": [
@@ -1224,7 +1272,7 @@
1224
1272
  },
1225
1273
  {
1226
1274
  "name": "first",
1227
- "prose": "An opening bracket or quote at the start of the first formatted line of an element hangs. This applies to all characters in the Unicode categories Ps, Pf, Pi plus the ASCII quote marks U+0027 ' APOSTROPHE and U+0022 \" QUOTATION MARK.",
1275
+ "prose": "An opening bracket, quote, or ideographic space at the start of the first formatted line of an element hangs. This applies to all characters in the Unicode categories Ps, Pf, Pi plus the ASCII quote marks U+0027 ' APOSTROPHE and U+0022 \" QUOTATION MARK and the IDEOGRAPHIC SPACE U+3000.",
1228
1276
  "type": "value",
1229
1277
  "value": "first"
1230
1278
  },
@@ -1255,5 +1303,16 @@
1255
1303
  ],
1256
1304
  "atrules": [],
1257
1305
  "selectors": [],
1258
- "values": []
1306
+ "values": [
1307
+ {
1308
+ "name": "<autospace>",
1309
+ "type": "type",
1310
+ "value": "no-autospace | [ ideograph-alpha || ideograph-numeric || punctuation ] || [ insert | replace ]"
1311
+ },
1312
+ {
1313
+ "name": "<spacing-trim>",
1314
+ "type": "type",
1315
+ "value": "space-all | trim-auto | [ allow-end || space-first ]"
1316
+ }
1317
+ ]
1259
1318
  }
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/motion.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "properties": [
7
7
  {
8
8
  "name": "offset-path",
9
- "value": "none | <ray()> | <path()> | <url> | [ <basic-shape> && <coord-box>? ] | <coord-box>",
9
+ "value": "none | <ray()> | <url> | [ <basic-shape> && <coord-box>? ] | <coord-box>",
10
10
  "initial": "none",
11
11
  "appliesTo": "transformable elements",
12
12
  "inherited": "no",
@@ -51,20 +51,20 @@
51
51
  "appliesTo": "transformable elements",
52
52
  "inherited": "no",
53
53
  "percentages": "Refer to the size of containing block",
54
- "computedValue": "For <length> the absolute value, otherwise a percentage.",
54
+ "computedValue": "The auto keyword or a computed <position>",
55
55
  "canonicalOrder": "per grammar",
56
56
  "animationType": "by computed value",
57
57
  "media": "visual",
58
58
  "values": [
59
59
  {
60
60
  "name": "auto",
61
- "prose": "Indicates the initial position is the position of the box specified with position property.",
61
+ "prose": "The initial position is the top-left corner of the box.",
62
62
  "type": "value",
63
63
  "value": "auto"
64
64
  },
65
65
  {
66
66
  "name": "<position>",
67
- "prose": "Specifies the initial position, with the the containing block as the positioning area and a dimensionless point (zero-sized box) as the object area.",
67
+ "prose": "The initial position is the result of using the <position> to position a 0x0 object area within the box’s containing block.",
68
68
  "type": "value",
69
69
  "value": "<position>"
70
70
  }
@@ -80,11 +80,25 @@
80
80
  "initial": "auto",
81
81
  "appliesTo": "transformable elements",
82
82
  "inherited": "no",
83
- "percentages": "Relative to the width and the height of a box",
84
- "computedValue": "For <length> the absolute value, otherwise a percentage.",
83
+ "percentages": "relative to the width and the height of the element’s reference box",
84
+ "computedValue": "the auto keyword or a computed <position>",
85
85
  "canonicalOrder": "per grammar",
86
86
  "animationType": "by computed value",
87
87
  "media": "visual",
88
+ "values": [
89
+ {
90
+ "name": "auto",
91
+ "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.",
92
+ "type": "value",
93
+ "value": "auto"
94
+ },
95
+ {
96
+ "name": "<position>",
97
+ "prose": "The anchor point is the result of resolving the <position> against the element’s reference box.",
98
+ "type": "value",
99
+ "value": "<position>"
100
+ }
101
+ ],
88
102
  "styleDeclaration": [
89
103
  "offset-anchor",
90
104
  "offsetAnchor"
@@ -113,6 +127,12 @@
113
127
  "prose": "Indicates that the object is rotated (over time if offset-distance is animated) by the angle of the direction (i.e., directional tangent vector) of the offset path, relative to the positive x-axis, plus 180 degrees. If specified in combination with <angle>, the computed value of <angle> is added to the computed value of reverse.",
114
128
  "type": "value",
115
129
  "value": "reverse"
130
+ },
131
+ {
132
+ "name": "<angle>",
133
+ "prose": "Indicates that the box has a constant clockwise rotation transformation applied to it by the specified rotation angle. See definitions of auto or reverse if specified in combination with either one of the keywords.",
134
+ "type": "value",
135
+ "value": "<angle>"
116
136
  }
117
137
  ],
118
138
  "styleDeclaration": [
@@ -141,7 +161,7 @@
141
161
  {
142
162
  "name": "ray()",
143
163
  "type": "function",
144
- "value": "ray( <angle> && <ray-size> && contain? )",
164
+ "value": "ray( <angle> && <ray-size>? && contain? )",
145
165
  "values": [
146
166
  {
147
167
  "name": "<angle>",
@@ -151,7 +171,7 @@
151
171
  },
152
172
  {
153
173
  "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:",
174
+ "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
175
  "type": "value",
156
176
  "value": "<ray-size>"
157
177
  },
@@ -200,15 +220,5 @@
200
220
  }
201
221
  ]
202
222
  }
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
223
  ]
214
224
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webref/css",
3
3
  "description": "CSS definitions of the web platform",
4
- "version": "6.4.0",
4
+ "version": "6.4.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -223,7 +223,7 @@
223
223
  "percentages": "relative to the specified named timeline range",
224
224
  "computedValue": "list, each item either the keyword normal or a timeline range and progress percentage",
225
225
  "canonicalOrder": "per grammar",
226
- "animatable": "no",
226
+ "animationType": "not animatable",
227
227
  "values": [
228
228
  {
229
229
  "name": "normal",
@@ -252,7 +252,7 @@
252
252
  "percentages": "relative to the specified named timeline range",
253
253
  "computedValue": "list, each item either the keyword normal or a timeline range and progress percentage",
254
254
  "canonicalOrder": "per grammar",
255
- "animatable": "no",
255
+ "animationType": "not animatable",
256
256
  "values": [
257
257
  {
258
258
  "name": "normal",
@@ -367,7 +367,7 @@
367
367
  {
368
368
  "msg": "Dangling value",
369
369
  "name": "entry",
370
- "prose": "Represents the range during which the principal box is entering the view progress visibility range. 0% is equivalent to 0% of the cover range. 100% is equivalent to 0% of the contain range. Should this be entry or enter?",
370
+ "prose": "Represents the range during which the principal box is entering the view progress visibility range. 0% is equivalent to 0% of the cover range. 100% is equivalent to 0% of the contain range.",
371
371
  "type": "value",
372
372
  "value": "entry",
373
373
  "for": "animation-timeline-range"
@@ -379,6 +379,22 @@
379
379
  "type": "value",
380
380
  "value": "exit",
381
381
  "for": "animation-timeline-range"
382
+ },
383
+ {
384
+ "msg": "Dangling value",
385
+ "name": "entry-crossing",
386
+ "prose": "Represents the range during which the principal box crosses the end border edge 0% progress represents the position at which the start border edge of the element’s principal box coincides with the end edge of its view progress visibility range. 100% progress represents the position at which the end border edge of the element’s principal box coincides with the end edge of its view progress visibility range.",
387
+ "type": "value",
388
+ "value": "entry-crossing",
389
+ "for": "animation-timeline-range"
390
+ },
391
+ {
392
+ "msg": "Dangling value",
393
+ "name": "exit-crossing",
394
+ "prose": "Represents the range during which the principal box crosses the start border edge 0% progress represents the position at which the start border edge of the element’s principal box coincides with the start edge of its view progress visibility range. 100% progress represents the position at which the end border edge of the element’s principal box coincides with the start edge of its view progress visibility range.",
395
+ "type": "value",
396
+ "value": "exit-crossing",
397
+ "for": "animation-timeline-range"
382
398
  }
383
399
  ]
384
400
  }