Skip to content

Commit 3b05d7e

Browse files
committed
[css-values] We have no idea why calc() mentions a comma operator.
1 parent ec87d63 commit 3b05d7e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

css-values/Overview.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -1583,12 +1583,12 @@ <h4 id=calc-type-checking><span class=secno>8.1.2. </span> Type Checking</h4>
15831583
operators for simplicity):
15841584

15851585
<ul>
1586-
<li> At ‘<code class=css>,</code>, <code class=css>+</code>’, or
1587-
<code class=css>-</code>’, check that both sides have the same type,
1588-
or that one side is a <a href="#number-value"><var>&lt;number></var></a>
1589-
and the other is an <a href="#integer-value"><var>&lt;integer></var></a>.
1590-
If both sides are the same type, resolve to that type. If one side is a
1591-
<a href="#number-value"><var>&lt;number></var></a> and the other is an <a
1586+
<li> At ‘<code class=css>+</code> or <code class=css>-</code>’,
1587+
check that both sides have the same type, or that one side is a <a
1588+
href="#number-value"><var>&lt;number></var></a> and the other is an <a
1589+
href="#integer-value"><var>&lt;integer></var></a>. If both sides are the
1590+
same type, resolve to that type. If one side is a <a
1591+
href="#number-value"><var>&lt;number></var></a> and the other is an <a
15921592
href="#integer-value"><var>&lt;integer></var></a>, resolve to <a
15931593
href="#number-value"><var>&lt;number></var></a>.
15941594

css-values/Overview.src.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,7 @@ <h4 id='calc-type-checking'>
11121112

11131113
<ul>
11141114
<li>
1115-
At '','', ''+'', or ''-'',
1115+
At ''+'' or ''-'',
11161116
check that both sides have the same type,
11171117
or that one side is a <var>&lt;number></var> and the other is an <var>&lt;integer></var>.
11181118
If both sides are the same type,

0 commit comments

Comments
 (0)