diff --git a/css-mixins-1/Overview.bs b/css-mixins-1/Overview.bs index 8f4245988b5..1e2e5f65b12 100644 --- a/css-mixins-1/Overview.bs +++ b/css-mixins-1/Overview.bs @@ -67,7 +67,7 @@ Defining Custom Functions {#defining-custom-functions}
A simple [=custom function=] to negate a value can be defined as follows:
-		@function --negative (--value) {
+		@function --negative(--value) {
 		  result: calc(-1 * var(--value));
 		}
 		
@@ -101,14 +101,13 @@ The ''@function'' rule defines a [=custom function=], and its syntax is:
-<@function> = @function <> [ ( <> ) ]?
+<@function> = @function <> <>? )
 	[ using ( <> ) ]?
 	[ returns <> ]?
 {
 	<>
 }
 
-<> = <>
 <> = <>#
 <> = <>#
 <> = <> <>? [ : <> ]?
@@ -116,6 +115,11 @@ and its syntax is:
 <type()> = type( <> )
 
+The <> production +is a <>, +with the additional restriction that it must start with two dashes +(U+002D HYPHEN-MINUS). + The name of the resulting [=custom function=] is given by the <>, the [=function parameters=] are optionally given by <>, the [=function dependencies=] are optionally given by <>,