You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
unit : [ NUMBER | DIMENSION | PERCENTAGE | "(" S* sum S* ")" | calc | attr ];
1138
-
</pre>
1139
-
<pclass=note> Note: Note that the grammar requires spaces around binary <spanclass=cssdata-link-type=maybetitle=+>+</span> and <spanclass=cssdata-link-type=maybetitle=->-</span> operators.
1140
-
The <spanclass=cssdata-link-type=maybetitle=*>*</span> and <spanclass=cssdata-link-type=maybetitle=/>/</span> operators do not require spaces.
1141
-
1142
-
<p> Additionally, the following redefinition is made to the informative grammar appearing in
<pdata-noexport="">Where a <dfnclass=css-codedata-dfn-type=typedata-noexport="" id=typedef-dimension><dimension><aclass=self-linkhref=#typedef-dimension></a></dfn> is a <adata-link-type=dfnhref=#dimensiontitle=dimension>dimension</a>.
1137
+
1138
+
<p> In addition, whitespace is required on both sides of the <spanclass=cssdata-link-type=maybetitle=+>+</span> and <spanclass=cssdata-link-type=maybetitle=->-</span> operators.
1139
+
(The <spanclass=cssdata-link-type=maybetitle=*>*</span> and <spanclass=cssdata-link-type=maybetitle=/>/</span> operaters can be used without whitespace around them.)
1140
+
1152
1141
<p> UAs must support <aclass=cssdata-link-type=maybehref=#funcdef-calctitle=calc()>calc()</a> expressions of at least 20 terms,
1153
1142
where each <code>NUMBER</code>, <code>DIMENSION</code>, or <code>PERCENTAGE</code> is a term.
1154
1143
If a <aclass=cssdata-link-type=maybehref=#funcdef-calctitle=calc()>calc()</a> expression contains more than the supported number of terms,
0 commit comments