Skip to content

Commit f9dd0c0

Browse files
authored
Only allow <transform-list> (w3c#415)
* Rename CSSFontFaceValue.fontFaceName to fontFamilyName * Update <transform-function> in Properties and Values * Revert "Rename CSSFontFaceValue.fontFaceName to fontFamilyName" This reverts commit b9538d7. * Adjust <syntax>+ description to disallow <transform-list>+ * Try to revert spurious changes to typed om spec, because I am bad at merging
1 parent 7670868 commit f9dd0c0

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

css-properties-values-api/Overview.bs

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,8 @@ The following syntax strings are supported:
331331
:: Any valid <<time>> value
332332
: "&lt;resolution>"
333333
:: Any valid <<resolution>> value
334-
: "&lt;transform-function>"
335-
:: Any valid <<transform-function>> value
334+
: "&lt;transform-list>"
335+
:: A list of valid <<transform-function>> values
336336
: "&lt;custom-ident>"
337337
:: Any valid <<custom-ident>> value
338338
: Any sequence consisting of a <a>name-start code point</a>,
@@ -350,8 +350,11 @@ The following syntax strings are supported:
350350
It is recommended that idents be restricted to ASCII and written in lower-case,
351351
to match CSS conventions.
352352

353-
: Any one of the preceding strings, followed by '+'
353+
: One of the preceding strings, followed by '+'
354354
:: A space-separated list of one or more repetitions of the type specified by the string.
355+
Note: Since &lt;transform-list> is already a space separated list, &lt;transform-list>+
356+
is invalid.
357+
355358
: Any combination of the preceding, separated by '|'
356359
:: Any value that matches one of the items in the combination, matched in specified order.
357360

@@ -421,8 +424,9 @@ computed value is as specified. Calc expressions that are
421424
&lt;number> and &lt;percentage> values get reduced during computation to simple
422425
numbers and percentages respectively.
423426

424-
For &lt;transform-function> values, the computed value is as specified but with
425-
all lengths resolved to their computed values.
427+
For &lt;&lt;transform-function> values contained in &lt;transform-list> values,
428+
the computed value is as specified but with all lengths resolved to their
429+
computed values.
426430

427431
For values specified by a syntax string that include "|" clauses, the computed
428432
value is given by applying the calculation rules for the first clause that

0 commit comments

Comments
 (0)