Skip to content

Commit a492cc2

Browse files
committed
[css-values-3] Copy over grammar fix from issue w3c#1241, which afaict was intended for L3.
1 parent ae6068c commit a492cc2

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

css-values-3/Overview.bs

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1557,8 +1557,11 @@ Syntax</h4>
15571557
<pre class='prod'>
15581558
<<calc()>> = calc( <<calc-sum>> )
15591559
<dfn>&lt;calc-sum></dfn> = <<calc-product>> [ [ '+' | '-' ] <<calc-product>> ]*
1560-
<dfn>&lt;calc-product></dfn> = <<calc-value>> [ '*' <<calc-value>> | '/' <<number>> ]*
1560+
<dfn>&lt;calc-product></dfn> = <<calc-value>> [ '*' <<calc-value>> | '/' <<calc-number-value>> ]*
15611561
<dfn>&lt;calc-value></dfn> = <<number>> | <<dimension>> | <<percentage>> | ( <<calc-sum>> )
1562+
dfn>&lt;calc-number-sum></dfn> = <<calc-number-product>> [ [ '+' | '-' ] <<calc-number-product>> ]*
1563+
<dfn>&lt;calc-number-product></dfn> = <<calc-number-value>> [ '*' <<calc-number-value>> | '/' <<calc-number-value>> ]*
1564+
<dfn>&lt;calc-number-value></dfn> = <<number>> | ( <<calc-number-sum>> )
15621565
</pre>
15631566

15641567
In addition, <a href="https://www.w3.org/TR/css-syntax/#whitespace">white space</a>
@@ -2097,10 +2100,17 @@ Changes</h2>
20972100
This effectively removes that syntax from 'object-position',
20982101
but allows <<position>> to be re-used e.g. in [[CSS-TRANSFORMS-1]] for 3D positions.
20992102
(See <a href="https://lists.w3.org/Archives/Public/www-style/2017Feb/0052.html">discussion</a>.)
2100-
<li>Clarified handling of font-relative units outside the context of an element.
2101-
<li>Clarified definition of ''url()'' to normatively accept unquoted syntax.
2103+
<li>Fixed grammar error that disallowed numeric expressions as denominators in ''calc()''.
2104+
(<a href="https://drafts.csswg.org/css-values-3/issues-cr-2016#issue-12">Issue 12</a>)
2105+
<li>Defined handling of font-relative units outside the context of an element.
2106+
(<a href="https://drafts.csswg.org/css-values-3/issues-cr-2016#issue-9">Issue 9</a>)
2107+
<li>Clarified that high-resolution screens should anchor on device pixels, not physical units.
2108+
(<a href="https://drafts.csswg.org/css-values-3/issues-cr-2016#issue-8">Issue 8</a>)
2109+
<li>Clarified definition of ''url()'' to normatively say that it accepts unquoted syntax.
21022110
</ul>
21032111

2112+
A <a href="https://drafts.csswg.org/css-values-3/issues-cr-2016">Disposition of Comments</a> is available.
2113+
21042114
Changes since the <a href="https://www.w3.org/TR/2015/CR-css-values-3-20150611/">11 June 2015 Candidate Recomendation</a> are:
21052115

21062116
<ul>

css-values-3/issues-cr-2016.bsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Summary: Categorize high-res screens with low-res screens, not print.
5656
From: Patrick Lauke
5757
Comment: https://github.com/w3c/csswg-drafts/issues/708
5858
Response: https://github.com/w3c/csswg-drafts/issues/708#issuecomment-260529072
59-
Open: Needs edits
59+
Open: Edits are problematic, see https://github.com/w3c/csswg-drafts/issues/708#issuecomment-302240095
6060
Resolved: https://lists.w3.org/Archives/Public/www-style/2016Nov/0085.html
6161
----
6262
Issue 9.

css-values-3/issues-cr-2016.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ <h1>CSS Values and Units Level 3 Disposition of Comments for 2016-09-29 CR</h1>
9191
<span>From: Patrick Lauke</span>
9292
<span>Comment: <a href='https://github.com/w3c/csswg-drafts/issues/708'>https://github.com/w3c/csswg-drafts/issues/708</a></span>
9393
<span>Response: <a href='https://github.com/w3c/csswg-drafts/issues/708#issuecomment-260529072'>https://github.com/w3c/csswg-drafts/issues/708#issuecomment-260529072</a></span>
94-
<span class="">Open: Needs edits</span>
94+
<span class="">Open: Edits are problematic, see <a href='https://github.com/w3c/csswg-drafts/issues/708#issuecomment-302240095'>https://github.com/w3c/csswg-drafts/issues/708#issuecomment-302240095</a></span>
9595
<span>Resolved: <a href='https://lists.w3.org/Archives/Public/www-style/2016Nov/0085.html'>https://lists.w3.org/Archives/Public/www-style/2016Nov/0085.html</a> <a href="https://www.w3.org/Mail/flatten/index?subject=https%3A%2F%2Flists.w3.org%2FArchives%2FPublic%2Fwww-style/2016Nov/0085.html"><abbr title="Thread">&#x2208;</abbr></a></span></pre>
9696
<pre class=' a' id='issue-9'>
9797
<span>Issue 9. <a href='#issue-9'>#</a></span>

0 commit comments

Comments
 (0)