Skip to content

Commit 5498ef1

Browse files
committed
Added issue about the definition of 'mod' in calc().
1 parent 66d8a77 commit 5498ef1

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

css3-values/Overview.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1324,7 +1324,11 @@ <h3 id=calc><span class=secno>9.1. </span> Mathematical Expressions:
13241324
href="#frequency-value"><code>&lt;frequency&gt;</code></a>, <a
13251325
href="#angle-value"><code>&lt;angle&gt;</code></a>, <a
13261326
href="#time-value"><code>&lt;time&gt;</code></a>, or <a
1327-
href="#number-value"><code>&lt;number&gt;</code></a> values are allowed.</p>
1327+
href="#number-value"><code>&lt;number&gt;</code></a> values are allowed.
1328+
1329+
<p class=issue>What definition of "mod" do we use? Should &lsquo;<code
1330+
class=css>calc(-3mod5)</code>&rsquo; return &lsquo;<code
1331+
class=css>-3</code>&rsquo; or &lsquo;<code class=css>2</code>&rsquo;?</p>
13281332
<!-- http://lists.w3.org/Archives/Public/www-style/2010May/0001.html
13291333
This has notes on how we should handle things when calc() is extended to
13301334
handle unit mult/div. -->

css3-values/Overview.src.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -885,6 +885,9 @@ <h3 id="calc">
885885
<code>&lt;number&gt;</code>
886886
values are allowed.</p>
887887

888+
<p class='issue'>What definition of "mod" do we use? Should ''calc(-3mod5)''
889+
return ''-3'' or ''2''?</p>
890+
888891
<!-- http://lists.w3.org/Archives/Public/www-style/2010May/0001.html
889892
This has notes on how we should handle things when calc() is extended to
890893
handle unit mult/div. -->

0 commit comments

Comments
 (0)