Skip to content

Only allow <transform-list> #415

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 19, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions css-properties-values-api/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ The following syntax strings are supported:
:: Any valid <<time>> value
: "&lt;resolution>"
:: Any valid <<resolution>> value
: "&lt;transform-function>"
:: Any valid <<transform-function>> value
: "&lt;transform-list>"
:: A list of valid <<transform-function>> values
: "&lt;custom-ident>"
:: Any valid <<custom-ident>> value
: Any sequence consisting of a <a>name-start code point</a>,
Expand All @@ -350,8 +350,11 @@ The following syntax strings are supported:
It is recommended that idents be restricted to ASCII and written in lower-case,
to match CSS conventions.

: Any one of the preceding strings, followed by '+'
: One of the preceding strings, followed by '+'
:: A space-separated list of one or more repetitions of the type specified by the string.
Note: Since &lt;transform-list> is already a space separated list, &lt;transform-list>+
is invalid.

: Any combination of the preceding, separated by '|'
:: Any value that matches one of the items in the combination, matched in specified order.

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

For &lt;transform-function> values, the computed value is as specified but with
all lengths resolved to their computed values.
For &lt;&lt;transform-function> values contained in &lt;transform-list> values,
the computed value is as specified but with all lengths resolved to their
computed values.

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