@@ -950,7 +950,8 @@ and consists of a name,
950950a list of [=mixin parameters=] ,
951951and a [=mixin body=] .
952952(Identical to ''@function'' ,
953- save that it lacks a [=custom function/return type=] .)
953+ save that it lacks a [=custom function/return type=] ,
954+ and that the parameter list and enclosing parentheses are optional.)
954955
955956<pre class="prod def">
956957 <<@mixin>> = @mixin [<<function-token>> <<function-parameter>> #? ) | <<ident-token>> ]
@@ -974,16 +975,19 @@ it is invalid within the body of a [=style rule=].
974975<h4 id=mixin-prelude>
975976The Mixin Prelude</h4>
976977
977- The <<function-token>> production
978+ The <<function-token>> or <<ident-token>> production
978979must start with two dashes (U+002D HYPHEN-MINUS),
979980similar to <<dashed-ident>> ,
980981or else the definition is invalid.
981982
982- The name of the resulting [=mixin=] is given by the name of the <<function-token>> .
983+ The name of the resulting [=mixin=] is given by the name of the <<function-token>> or <<ident-token>> .
983984The optional [=mixin parameters=]
984985are given by the <<function-parameter>> values
985986(defaulting to an empty set).
986987
988+ If an <<ident-token>> is used,
989+ it is equivalent to a <<function-token>> followed by an empty parameter list.
990+
987991The name of a ''@mixin'' rule is a [=tree-scoped name=] .
988992If more than one ''@mixin'' exists for a given name,
989993then the rule in the stronger cascade layer wins,
0 commit comments