@@ -11,6 +11,7 @@ Editor: Miriam E. Suzanne, Invited Expert, http://miriamsuzanne.com/contact, w3c
1111Editor : Tab Atkins-Bittner, Google, http://xanthir.com/contact/, w3cid 42199
1212Abstract : This module provides the ability to define custom functional notations.
1313Default Highlight : css
14+ Ignored Terms : cssText
1415</pre>
1516
1617<pre class=link-defaults>
@@ -24,7 +25,7 @@ spec:css-properties-values-api; type:dfn;
2425 text:supported syntax component name
2526 text:syntax component
2627spec:css-syntax-3; type:dfn;
27- text:declaration
28+ text:declaration; for:CSS
2829 text:descriptor;
2930spec:css-values-4; type:dfn;
3031 text:keyword;
@@ -241,7 +242,7 @@ Additionally, it accepts the following descriptors:
241242 * The '@function/result' descriptor,
242243 which determines the result of [=evaluating a custom function|evaluating the function=] .
243244 * [=Custom properties=] ,
244- providing [= local variables=] .
245+ providing <dfn> local variables</dfn> .
245246
246247Unknown descriptors are invalid and ignored,
247248but do not make the ''@function'' rule itself invalid.
@@ -264,7 +265,7 @@ it can reference [=function parameters=], [=local variables=],
264265as well as other [=custom functions=] via <<dashed-function>> s.
265266
266267The '@function/result' descriptor itself does not have a type,
267- but its [=resolved local value |resolved=] value is type checked
268+ but its [=resolve function styles |resolved=] value is type checked
268269during the [=substitute a dashed function|substitution=] of a <<dashed-function>> .
269270
270271
@@ -373,10 +374,10 @@ with its [=function parameters=] overriding "inherited" custom properties of the
373374<div algorithm>
374375 To <dfn>evaluate a custom function</dfn> |custom function|,
375376 given a [=calling context=] |calling context|
376- and an [=argument list=] |arguments|,
377+ and a list of CSS values |arguments|,
377378 returning a CSS value:
378379
379- 1. If the number of values in |arguments|
380+ 1. If the number of items in |arguments|
380381 is greater than the number of [=function parameters=] in |custom function|,
381382 return the [=guaranteed-invalid value=] .
382383 2. Let |registrations| be an initially empty set of [=custom property registrations=] .
@@ -429,7 +430,7 @@ with its [=function parameters=] overriding "inherited" custom properties of the
429430 |el| is [=featureless=] ,
430431 and only [=custom properties=]
431432 and the '@function/result' descriptor apply to it.
432- 2. Apply |rule| to |el| to the [=specified style =] stage,
433+ 2. Apply |rule| to |el| to the [=specified value =] stage,
433434 with the following changes:
434435
435436 * Only the [=custom property registrations=] in |registrations| are visible;
0 commit comments