Skip to content

Commit

Permalink
[css-values-3] Copy over grammar fix from issue #1241, which afaict w…
Browse files Browse the repository at this point in the history
…as intended for L3.
  • Loading branch information
fantasai committed May 17, 2017
1 parent ae6068c commit a492cc2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
16 changes: 13 additions & 3 deletions css-values-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1557,8 +1557,11 @@ Syntax</h4>
<pre class='prod'>
<<calc()>> = calc( <<calc-sum>> )
<dfn>&lt;calc-sum></dfn> = <<calc-product>> [ [ '+' | '-' ] <<calc-product>> ]*
<dfn>&lt;calc-product></dfn> = <<calc-value>> [ '*' <<calc-value>> | '/' <<number>> ]*
<dfn>&lt;calc-product></dfn> = <<calc-value>> [ '*' <<calc-value>> | '/' <<calc-number-value>> ]*
<dfn>&lt;calc-value></dfn> = <<number>> | <<dimension>> | <<percentage>> | ( <<calc-sum>> )
dfn>&lt;calc-number-sum></dfn> = <<calc-number-product>> [ [ '+' | '-' ] <<calc-number-product>> ]*
<dfn>&lt;calc-number-product></dfn> = <<calc-number-value>> [ '*' <<calc-number-value>> | '/' <<calc-number-value>> ]*
<dfn>&lt;calc-number-value></dfn> = <<number>> | ( <<calc-number-sum>> )
</pre>

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

A <a href="https://drafts.csswg.org/css-values-3/issues-cr-2016">Disposition of Comments</a> is available.

Changes since the <a href="https://www.w3.org/TR/2015/CR-css-values-3-20150611/">11 June 2015 Candidate Recomendation</a> are:

<ul>
Expand Down
2 changes: 1 addition & 1 deletion css-values-3/issues-cr-2016.bsi
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Summary: Categorize high-res screens with low-res screens, not print.
From: Patrick Lauke
Comment: https://github.com/w3c/csswg-drafts/issues/708
Response: https://github.com/w3c/csswg-drafts/issues/708#issuecomment-260529072
Open: Needs edits
Open: Edits are problematic, see https://github.com/w3c/csswg-drafts/issues/708#issuecomment-302240095
Resolved: https://lists.w3.org/Archives/Public/www-style/2016Nov/0085.html
----
Issue 9.
Expand Down
2 changes: 1 addition & 1 deletion css-values-3/issues-cr-2016.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ <h1>CSS Values and Units Level 3 Disposition of Comments for 2016-09-29 CR</h1>
<span>From: Patrick Lauke</span>
<span>Comment: <a href='https://github.com/w3c/csswg-drafts/issues/708'>https://github.com/w3c/csswg-drafts/issues/708</a></span>
<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>
<span class="">Open: Needs edits</span>
<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>
<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>
<pre class=' a' id='issue-9'>
<span>Issue 9. <a href='#issue-9'>#</a></span>
Expand Down

0 comments on commit a492cc2

Please sign in to comment.