4 Group: CSSWG |
4 Group: CSSWG |
5 Shortname: css-values |
5 Shortname: css-values |
6 Level: 3 |
6 Level: 3 |
7 Status: ED |
7 Status: ED |
8 Work Status: Testing |
8 Work Status: Testing |
9 ED: http://dev.w3.org/csswg/css-values/ |
9 ED: https://drafts.csswg.org/css-values/ |
10 TR: http://www.w3.org/TR/css-values/ |
10 TR: http://www.w3.org/TR/css-values/ |
11 Previous Version: http://www.w3.org/TR/2015/CR-css-values-3-20150611/ |
11 Previous Version: http://www.w3.org/TR/2015/CR-css-values-3-20150611/ |
12 Previous Version: http://www.w3.org/TR/2013/CR-css3-values-20130730/ |
12 Previous Version: http://www.w3.org/TR/2013/CR-css3-values-20130730/ |
13 Previous Version: http://www.w3.org/TR/2013/CR-css3-values-20130404/ |
13 Previous Version: http://www.w3.org/TR/2013/CR-css3-values-20130404/ |
14 Previous Version: http://www.w3.org/TR/2012/CR-css3-values-20120828/ |
14 Previous Version: http://www.w3.org/TR/2012/CR-css3-values-20120828/ |
1731 |
1731 |
1732 The new syntax for the ''attr()'' expression is: |
1732 The new syntax for the ''attr()'' expression is: |
1733 |
1733 |
1734 <pre>attr( <<attr-name>> <<type-or-unit>>? [ , <<attr-fallback>> ]? )</pre> |
1734 <pre>attr( <<attr-name>> <<type-or-unit>>? [ , <<attr-fallback>> ]? )</pre> |
1735 |
1735 |
1736 where <dfn><attr-name></dfn> is a <a href="http://dev.w3.org/csswg/css3-namespace/#css-qnames">CSS qualified name</a> |
1736 where <dfn><attr-name></dfn> is a <a href="https://drafts.csswg.org/css3-namespace/#css-qnames">CSS qualified name</a> |
1737 (the qname production in [[!CSS3NAMESPACE]]) |
1737 (the qname production in [[!CSS3NAMESPACE]]) |
1738 that represents an attribute name. |
1738 that represents an attribute name. |
1739 (In the absence of namespacing, this will just be a CSS identifier.) |
1739 (In the absence of namespacing, this will just be a CSS identifier.) |
1740 |
1740 |
1741 The optional <dfn><type-or-unit></dfn> argument is a keyword drawn from the list below that tells the UA how to interpret the attribute value, |
1741 The optional <dfn><type-or-unit></dfn> argument is a keyword drawn from the list below that tells the UA how to interpret the attribute value, |
2091 <li>Clarified handling of ''toggle()'' when used in shorthand declarations. |
2091 <li>Clarified handling of ''toggle()'' when used in shorthand declarations. |
2092 <li>Clarified that stringing together re-orderable combinations allows interleaving. |
2092 <li>Clarified that stringing together re-orderable combinations allows interleaving. |
2093 <li>Changed syntax references from the 2.1 grammar to the Syntax spec. |
2093 <li>Changed syntax references from the 2.1 grammar to the Syntax spec. |
2094 </ul> |
2094 </ul> |
2095 |
2095 |
2096 <p>A <a href="http://dev.w3.org/csswg/css-values-3/issues-cr-2013">Disposition of Comments</a> is available. |
2096 <p>A <a href="https://drafts.csswg.org/css-values-3/issues-cr-2013">Disposition of Comments</a> is available. |
2097 |
2097 |
2098 Changes since the <a href="http://www.w3.org/TR/2012/CR-css3-values-20120828/">28 August 2012 Candidate Recommendation</a> are: |
2098 Changes since the <a href="http://www.w3.org/TR/2012/CR-css3-values-20120828/">28 August 2012 Candidate Recommendation</a> are: |
2099 |
2099 |
2100 <ul> |
2100 <ul> |
2101 <li>Corrected <code>wqname</code> in the ''attr()'' syntax to <code>qname</code> |
2101 <li>Corrected <code>wqname</code> in the ''attr()'' syntax to <code>qname</code> |