File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1331,7 +1331,8 @@ <h3 id=calc><span class=secno>9.1. </span> Mathematical Expressions:
13311331 class =css > -3</ code > ’ or ‘< code class =css > 2</ code > ’?</ p >
13321332 <!-- http://lists.w3.org/Archives/Public/www-style/2010May/0001.html
13331333 This has notes on how we should handle things when calc() is extended to
1334- handle unit mult/div. -->
1334+ handle unit mult/div. Related to this is <unit>mod<unit>, which can return
1335+ 0 and thus introduce computed-time division-by-zero. -->
13351336
13361337 < div class =example >
13371338 < pre >
@@ -1433,8 +1434,8 @@ <h3 id=calc><span class=secno>9.1. </span> Mathematical Expressions:
14331434
14341435 < li > At ‘< code class =css > /</ code > ’ or ‘< code
14351436 class =css > mod</ code > ’, check that the right side is ‘< code
1436- class =css > <number> </ code > ’; resolve to the type of the left side
1437-
1437+ class =css > <number> </ code > ’; resolve to the type of the left
1438+ side.
14381439 </ ul >
14391440
14401441 < p > If an operator does not pass the above checks, the expression is
Original file line number Diff line number Diff line change @@ -890,7 +890,8 @@ <h3 id="calc">
890890
891891 <!-- http://lists.w3.org/Archives/Public/www-style/2010May/0001.html
892892 This has notes on how we should handle things when calc() is extended to
893- handle unit mult/div. -->
893+ handle unit mult/div. Related to this is <unit>mod<unit>, which can return
894+ 0 and thus introduce computed-time division-by-zero. -->
894895
895896 < div class ="example ">
896897 < pre >
@@ -979,7 +980,7 @@ <h3 id="calc">
979980 resolve to the type of the other side</ li >
980981
981982 < li > At ''/'' or ''mod'', check that the right side is ''<number> '';
982- resolve to the type of the left side
983+ resolve to the type of the left side. </ li >
983984 </ ul >
984985
985986 < p > If an operator does not pass the above checks, the expression is invalid.
You can’t perform that action at this time.
0 commit comments