Skip to content

Commit f48a484

Browse files
andruudAnders Hartvoll Ruud
andauthored
[css-mixins-1] Consistently return a syntax string (#12245)
Perhaps these functions should indeed return a serialized <css-type> (#11908), but until then they should always return a valid syntax string. Co-authored-by: Anders Hartvoll Ruud <[email protected]>
1 parent ab4d234 commit f48a484

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css-mixins-1/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ interface CSSFunctionRule : CSSGroupingRule {
822822
The [=custom function/return type=] of the [=custom function=],
823823
represented as a [[css-properties-values-api-1#syntax-strings|syntax string]].
824824
If the [=custom function=] has no return type,
825-
returns <code>"type(*)"</code>.
825+
returns <code>"*"</code>.
826826
</dl>
827827

828828

@@ -843,7 +843,7 @@ dictionary FunctionParameter {
843843
<dd>
844844
The [=parameter type|type=] of the [=function parameter=],
845845
represented as a [[css-properties-values-api-1#syntax-strings|syntax string]],
846-
or <code>"type(*)"</code> if the [=function parameter|parameter=] has no type.
846+
or <code>"*"</code> if the [=function parameter|parameter=] has no type.
847847

848848
<dt>defaultValue
849849
<dd>

0 commit comments

Comments
 (0)