File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -201,11 +201,17 @@ and optionally a <dfn>default value</dfn>.
201
201
<<declaration-rule-list>>
202
202
}
203
203
204
- <dfn><<function-parameter>></dfn> = <<custom-property-name>> <<css-type>> ? [ : <<declaration -value>> ]?
204
+ <dfn><<function-parameter>></dfn> = <<custom-property-name>> <<css-type>> ? [ : <<default -value>> ]?
205
205
<dfn><<css-type>></dfn> = <<syntax-component>> | <<type()>>
206
+ <dfn><<default-value>></dfn> = <<declaration-value>>
206
207
<dfn function lt="type()" for="@function"><type()></dfn> = type( <<syntax>> )
207
208
</pre>
208
209
210
+ If a [=default value=] and a [=parameter type=] are both provided,
211
+ then the [=default value=] must [=CSS/parse=] successfully
212
+ according to that [=parameter type=] 's syntax.
213
+ Otherwise, the ''@function'' rule is invalid.
214
+
209
215
<h4 id=function-preamble>
210
216
The Function Preamble</h4>
211
217
You can’t perform that action at this time.
0 commit comments