File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ and its syntax is:
113113<dfn><<function-dependency-list>></dfn> = <<function-parameter>> #
114114<dfn><<function-parameter>></dfn> = <<custom-property-name>> <<css-type>> ? [ : <<declaration-value>> ]?
115115<dfn><<css-type>></dfn> = <<syntax-component>> | <<type()>>
116- <dfn><type()></dfn> = type( <<syntax>> )
116+ <dfn function lt="type()" for="@function" ><type()></dfn> = type( <<syntax>> )
117117</pre>
118118
119119The <dfn><<function-name>></dfn> production
@@ -131,7 +131,7 @@ and the [=return type=] is optionally given by the <<css-type>> following the "r
131131 [=function dependency=] ,
132132 or [=custom function=] return value
133133 can be described by a single <<syntax-component>> ,
134- then the <code> type()</code> function may be omitted:
134+ then the '' type()'' function may be omitted:
135135
136136 <pre class='lang-css'>
137137 @function --foo(--a <length>) { /* ... */ }
@@ -141,7 +141,7 @@ and the [=return type=] is optionally given by the <<css-type>> following the "r
141141
142142 However,
143143 any <<syntax>> that requires a <<syntax-combinator>>
144- needs to be wrapped in the <code> type()</code> function:
144+ needs to be wrapped in the '' type()'' function:
145145
146146 <pre class='lang-css'>
147147 @function --foo(--a type(<number> | <percentage>)) { /* ... */ }
Original file line number Diff line number Diff line change @@ -1557,7 +1557,7 @@ Ian's proposal:
15571557 attr() = attr( <<attr-name>> <<attr-type>> ? , <<declaration-value>> ?)
15581558
15591559 <dfn><attr-name></dfn> = [ <<ident-token>> ? '|' ]? <<ident-token>>
1560- <dfn><attr-type></dfn> = type( <<syntax>> ) | string | <<attr-unit>>
1560+ <dfn><attr-type></dfn> = <dfn function lt=" type()" for="attr()">type( <<syntax>> )</dfn> | string | <<attr-unit>>
15611561 </pre>
15621562
15631563 The <dfn><attr-unit></dfn> production matches any [=identifier=]
You can’t perform that action at this time.
0 commit comments