File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4050,11 +4050,16 @@ Syntax</h3>
40504050 <dfn><calc-sum></dfn> = <<calc-product>> [ [ '+' | '-' ] <<calc-product>> ]*
40514051 <dfn><calc-product></dfn> = <<calc-value>> [ [ '*' | '/' ] <<calc-value>> ]*
40524052 <dfn><calc-value></dfn> = <<number>> | <<dimension>> | <<percentage>> |
4053- <<calc-constant >> | ( <<calc-sum>> )
4054- <dfn><calc-constant ></dfn> = e | pi | infinity | -infinity | NaN
4053+ <<calc-keyword >> | ( <<calc-sum>> )
4054+ <dfn><calc-keyword ></dfn> = e | pi | infinity | -infinity | NaN
40554055 <<rounding-strategy>> = nearest | up | down | to-zero
40564056 </pre>
40574057
4058+ In some contexts, additional <<calc-keyword>> values
4059+ can be defined to be valid.
4060+ (For example, in [=relative color=] syntax,
4061+ appropriate channel keywords are allowed.)
4062+
40584063 In addition, [=whitespace=]
40594064 is required on both sides of the <css> +</css> and <css> -</css> operators.
40604065 (The <css> *</css> and <css> /</css> operators can be used without white space around them.)
You can’t perform that action at this time.
0 commit comments