Skip to content

Commit 5a4a12f

Browse files
committed
[css-values-3] Make <'property'> notation drop any top-level #-multiplier so it's actually usable with list-valued property patterns. w3c#3146
1 parent e842010 commit 5a4a12f

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

css-values-3/Overview.bs

+13-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,11 @@ Component value types</h3>
9797
types that have the same range of values as a property bearing the same name
9898
(e.g., <<'border-width'>>, <<'background-attachment'>>, etc.).
9999
In this case, the type name is the property name (complete with quotes) between the brackets.
100-
Such a type does <em>not</em> include <a href="#common-keywords">CSS-wide keywords</a> such as ''inherit''.
100+
Such a type does <em>not</em> include <a href="#common-keywords">CSS-wide keywords</a> such as ''inherit'',
101+
and also does not include any top-level <a href="#mult-comma">comma-separated-list multiplier</a>
102+
(i.e. if property <css>pairing</css> is defined as <css>[ <<custom-ident>> <<integer>>? ]#</css>,
103+
then <<'pairing'>> is equivalent to <css>[ <<custom-ident>> <<integer>>? ]</css>,
104+
not <css><<custom-ident>> <<integer>> ]#</css>).
101105

102106
<li>
103107
non-terminals that do not share the same name as a property.
@@ -2149,6 +2153,14 @@ Acknowledgments</h2>
21492153
<h2 class="no-num" id="changes">
21502154
Changes</h2>
21512155

2156+
Changes since the <a href="https://www.w3.org/TR/2018/CR-css-values-3-20180814/">14 August 2018 Candidate Recommendation</a> are:
2157+
2158+
<ul>
2159+
<li>Defined <<'property'>> syntax to refer to the property without any top-level #-multiplier,
2160+
to make the notation usable with common list-valued property patterns.
2161+
(<a href="https://github.com/w3c/csswg-drafts/issues/3146">Issue 3146</a>)
2162+
</ul>
2163+
21522164
Changes since the <a href="https://www.w3.org/TR/2016/CR-css-values-3-20160929/">29 September 2016 Candidate Recommendation</a> are:
21532165

21542166
<ul>

css-values-4/Overview.bs

+5-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,11 @@ Component value types</h3>
8989
types that have the same range of values as a property bearing the same name
9090
(e.g., <<'border-width'>>, <<'background-attachment'>>, etc.).
9191
In this case, the type name is the property name (complete with quotes) between the brackets.
92-
Such a type does <em>not</em> include <a href="#common-keywords">CSS-wide keywords</a> such as ''inherit''.
92+
Such a type does <em>not</em> include <a href="#common-keywords">CSS-wide keywords</a> such as ''inherit'',
93+
and also does not include any top-level <a href="#mult-comma">comma-separated-list multiplier</a>
94+
(i.e. if property <css>pairing</css> is defined as <css>[ <<custom-ident>> <<integer>>? ]#</css>,
95+
then <<'pairing'>> is equivalent to <css>[ <<custom-ident>> <<integer>>? ]</css>,
96+
not <css><<custom-ident>> <<integer>> ]#</css>).
9397

9498
<li>
9599
non-terminals that do not share the same name as a property.

0 commit comments

Comments
 (0)