Skip to content

Commit 8ede540

Browse files
committed
[css-cascade] Add references to css3-values
1 parent a4dc5b8 commit 8ede540

2 files changed

Lines changed: 29 additions & 8 deletions

File tree

css-cascade/Overview.html

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</a></p>
1313
<h1 class="p-name no-ref" id=title>CSS Cascading and Inheritance Level 3</h1>
1414
<h2 class="no-num no-toc no-ref" id=subtitle>Editor's Draft,
15-
<span class=dt-updated><span class=value-title title=20130703>3 July 2013</span></span></h2>
15+
<span class=dt-updated><span class=value-title title=20130708>8 July 2013</span></span></h2>
1616
<div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/css-cascade/>http://dev.w3.org/csswg/css-cascade/</a><dt>Latest version:<dd><a href=http://www.w3.org/TR/css3-cascade/>http://www.w3.org/TR/css3-cascade/</a><dt>Editor's Draft:<dd><a href=http://dev.w3.org/csswg/css-cascade/>http://dev.w3.org/csswg/css-cascade/</a><dt>Previous Versions:<dd><a href=http://www.w3.org/TR/2013/WD-css3-cascade-20130103/ rel=previous>http://www.w3.org/TR/2013/WD-css3-cascade-20130103/</a><dd><a href=http://www.w3.org/TR/2005/WD-css3-cascade-20051215/ rel=previous>http://www.w3.org/TR/2005/WD-css3-cascade-20051215/</a>
1717
<dt>Feedback:</dt>
1818
<dd><a href="mailto:www-style@w3.org?subject=%5Bcss-cascade%5D%20feedback">www-style@w3.org</a>
@@ -259,7 +259,7 @@ <h2 data-level=3 id=shorthand><span class=secno>3 </span>
259259
(In such cases, the <a data-autolink=link href=#shorthand-properties>shorthand</a> will explicitly define the expansion of its values.)
260260

261261
<p>
262-
If a <a data-autolink=link href=#shorthand-properties>shorthand</a> is specified as one of the <a href=http://www.w3.org/TR/css3-values/#common-keywords>CSS-wide keywords</a>,
262+
If a <a data-autolink=link href=#shorthand-properties>shorthand</a> is specified as one of the <a href=http://www.w3.org/TR/css3-values/#common-keywords>CSS-wide keywords</a> <a data-autolink=biblio data-biblio-type=normative href=#css3val title=CSS3VAL>[CSS3VAL]</a>,
263263
it sets all of its <a data-autolink=link href=#longhand-sub-properties>sub-properties</a> to that keyword.
264264
(Note that these keywords cannot be combined with other values in a single declaration, not even in a shorthand.)
265265

@@ -276,7 +276,7 @@ <h3 data-level=3.1 id=all-shorthand><span class=secno>3.1 </span>
276276
<th>Name:
277277
<td><dfn data-dfn-type=property id=all>all</dfn><tr>
278278
<th>Value:
279-
<td>initial | inherit
279+
<td>initial || inherit
280280
<tr>
281281
<th>Initial:
282282
<td>See individual properties
@@ -931,6 +931,12 @@ <h3 data-level=7.2 id=inheriting><span class=secno>7.2 </span>
931931
<h3 data-level=7.3 id=defaulting-keywords><span class=secno>7.3 </span>
932932
Explicit Defaulting<a class=section-link href=#defaulting-keywords>§</a></h3>
933933

934+
<p>
935+
Several CSS-wide property values are defined below;
936+
declaring a property to have these values explicitly specifies a particular defaulting behavior.
937+
As specified in <a href=http://www.w3.org/TR/css3-values/#common-keywords>CSS Values and Units Level 3</a> <a data-autolink=biblio data-biblio-type=normative href=#css3val title=CSS3VAL>[CSS3VAL]</a>,
938+
all CSS properties can accept these values.
939+
934940
<h4 data-level=7.3.1 id=initial><span class=secno>7.3.1 </span>
935941
Resetting a Property: the <a class=css data-autolink=maybe href=#initial-value0>initial</a> keyword<a class=section-link href=#initial>§</a></h4>
936942

@@ -956,6 +962,10 @@ <h4 data-level=7.3.3 id=inherit-initial><span class=secno>7.3.3 </span>
956962
correctly inheriting or not as appropriate for the property
957963
(or all longhands of a <a data-autolink=link href=#shorthand-properties>shorthand</a>).
958964

965+
<p class=issue>
966+
It might be appropriate to <a href=http://lists.w3.org/Archives/Public/www-style/2013Jul/0041.html>replace this syntax with a single keyword</a>.
967+
But what keyword?
968+
959969
<h2 data-level=8 id=changes><span class=secno>8 </span>
960970
Changes<a class=section-link href=#changes>§</a></h2>
961971

@@ -973,6 +983,7 @@ <h3 data-level=8.1 id=changes-2013><span class=secno>8.1 </span>
973983
<h2 class=no-num id=acknowledgments>Acknowledgments<a class=section-link href=#acknowledgments>§</a></h2>
974984

975985
<p>David Baron and Boris Zbarsky contributed to this specification.
986+
976987
<h2 class="no-ref no-num" id=conformance>
977988
Conformance<a class=section-link href=#conformance>§</a></h2>
978989

@@ -1098,7 +1109,7 @@ <h2 class="no-num no-ref" id=references>
10981109

10991110
<h3 class="no-num no-ref" id=normative>
11001111
Normative References<a class=section-link href=#normative>§</a></h3>
1101-
<div data-fill-with=normative-references><dl><dt id=css3-animations title=CSS3-ANIMATIONS>[CSS3-ANIMATIONS]<dd>Dean Jackson; et al. <a href=http://www.w3.org/TR/2012/WD-css3-animations-20120403/>CSS Animations</a>. 3 April 2012. W3C Working Draft. (Work in progress.) URL: <a href=http://www.w3.org/TR/2012/WD-css3-animations-20120403/>http://www.w3.org/TR/2012/WD-css3-animations-20120403/</a><dt id=css3-conditional title=CSS3-CONDITIONAL>[CSS3-CONDITIONAL]<dd>L. David Baron. <a href=http://www.w3.org/TR/2012/WD-css3-conditional-20121213/>CSS Conditional Rules Module Level 3</a>. 13 December 2012. W3C Working Draft. (Work in progress.) URL: <a href=http://www.w3.org/TR/2012/WD-css3-conditional-20121213/>http://www.w3.org/TR/2012/WD-css3-conditional-20121213/</a><dt id=css3-transitions title=CSS3-TRANSITIONS>[CSS3-TRANSITIONS]<dd>Dean Jackson; et al. <a href=http://www.w3.org/TR/2012/WD-css3-transitions-20120403/>CSS Transitions</a>. 3 April 2012. W3C Working Draft. (Work in progress.) URL: <a href=http://www.w3.org/TR/2012/WD-css3-transitions-20120403/>http://www.w3.org/TR/2012/WD-css3-transitions-20120403/</a><dt id=cssstyleattr title=CSSSTYLEATTR>[CSSSTYLEATTR]<dd>Tantek Çelik; Elika J. Etemad. <a href=http://www.w3.org/TR/2010/CR-css-style-attr-20101012/>CSS Style Attributes</a>. 12 October 2010. W3C Candidate Recommendation. (Work in progress.) URL: <a href=http://www.w3.org/TR/2010/CR-css-style-attr-20101012/>http://www.w3.org/TR/2010/CR-css-style-attr-20101012/</a><dt id=dom-level-2-style title=DOM-LEVEL-2-STYLE>[DOM-LEVEL-2-STYLE]<dd>Chris Wilson; Philippe Le Hégaret; Vidur Apparao. <a href=http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/>Document Object Model (DOM) Level 2 Style Specification</a>. 13 November 2000. W3C Recommendation. URL: <a href=http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/>http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/</a><dt id=mediaq title=MEDIAQ>[MEDIAQ]<dd>Florian Rivoal. <a href=http://www.w3.org/TR/2012/REC-css3-mediaqueries-20120619/>Media Queries</a>. 19 June 2012. W3C Recommendation. URL: <a href=http://www.w3.org/TR/2012/REC-css3-mediaqueries-20120619/>http://www.w3.org/TR/2012/REC-css3-mediaqueries-20120619/</a><dt id=rfc2119 title=RFC2119>[RFC2119]<dd>S. Bradner. <a href=http://www.ietf.org/rfc/rfc2119.txt>Key words for use in RFCs to Indicate Requirement Levels</a>. URL: <a href=http://www.ietf.org/rfc/rfc2119.txt>http://www.ietf.org/rfc/rfc2119.txt</a><dt id=select title=SELECT>[SELECT]<dd>Tantek Çelik; et al. <a href=http://www.w3.org/TR/2011/REC-css3-selectors-20110929/>Selectors Level 3</a>. 29 September 2011. W3C Recommendation. URL: <a href=http://www.w3.org/TR/2011/REC-css3-selectors-20110929/>http://www.w3.org/TR/2011/REC-css3-selectors-20110929/</a></dl></div>
1112+
<div data-fill-with=normative-references><dl><dt id=css3-animations title=CSS3-ANIMATIONS>[CSS3-ANIMATIONS]<dd>Dean Jackson; et al. <a href=http://www.w3.org/TR/2012/WD-css3-animations-20120403/>CSS Animations</a>. 3 April 2012. W3C Working Draft. (Work in progress.) URL: <a href=http://www.w3.org/TR/2012/WD-css3-animations-20120403/>http://www.w3.org/TR/2012/WD-css3-animations-20120403/</a><dt id=css3-conditional title=CSS3-CONDITIONAL>[CSS3-CONDITIONAL]<dd>L. David Baron. <a href=http://www.w3.org/TR/2012/WD-css3-conditional-20121213/>CSS Conditional Rules Module Level 3</a>. 13 December 2012. W3C Working Draft. (Work in progress.) URL: <a href=http://www.w3.org/TR/2012/WD-css3-conditional-20121213/>http://www.w3.org/TR/2012/WD-css3-conditional-20121213/</a><dt id=css3-transitions title=CSS3-TRANSITIONS>[CSS3-TRANSITIONS]<dd>Dean Jackson; et al. <a href=http://www.w3.org/TR/2012/WD-css3-transitions-20120403/>CSS Transitions</a>. 3 April 2012. W3C Working Draft. (Work in progress.) URL: <a href=http://www.w3.org/TR/2012/WD-css3-transitions-20120403/>http://www.w3.org/TR/2012/WD-css3-transitions-20120403/</a><dt id=css3val title=CSS3VAL>[CSS3VAL]<dd>Håkon Wium Lie; Tab Atkins; Elika J. Etemad. <a href=http://www.w3.org/TR/2012/CR-css3-values-20120828/>CSS Values and Units Module Level 3</a>. 28 August 2012. W3C Candidate Recommendation. (Work in progress.) URL: <a href=http://www.w3.org/TR/2012/CR-css3-values-20120828/>http://www.w3.org/TR/2012/CR-css3-values-20120828/</a><dt id=cssstyleattr title=CSSSTYLEATTR>[CSSSTYLEATTR]<dd>Tantek Çelik; Elika J. Etemad. <a href=http://www.w3.org/TR/2010/CR-css-style-attr-20101012/>CSS Style Attributes</a>. 12 October 2010. W3C Candidate Recommendation. (Work in progress.) URL: <a href=http://www.w3.org/TR/2010/CR-css-style-attr-20101012/>http://www.w3.org/TR/2010/CR-css-style-attr-20101012/</a><dt id=dom-level-2-style title=DOM-LEVEL-2-STYLE>[DOM-LEVEL-2-STYLE]<dd>Chris Wilson; Philippe Le Hégaret; Vidur Apparao. <a href=http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/>Document Object Model (DOM) Level 2 Style Specification</a>. 13 November 2000. W3C Recommendation. URL: <a href=http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/>http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/</a><dt id=mediaq title=MEDIAQ>[MEDIAQ]<dd>Florian Rivoal. <a href=http://www.w3.org/TR/2012/REC-css3-mediaqueries-20120619/>Media Queries</a>. 19 June 2012. W3C Recommendation. URL: <a href=http://www.w3.org/TR/2012/REC-css3-mediaqueries-20120619/>http://www.w3.org/TR/2012/REC-css3-mediaqueries-20120619/</a><dt id=rfc2119 title=RFC2119>[RFC2119]<dd>S. Bradner. <a href=http://www.ietf.org/rfc/rfc2119.txt>Key words for use in RFCs to Indicate Requirement Levels</a>. URL: <a href=http://www.ietf.org/rfc/rfc2119.txt>http://www.ietf.org/rfc/rfc2119.txt</a><dt id=select title=SELECT>[SELECT]<dd>Tantek Çelik; et al. <a href=http://www.w3.org/TR/2011/REC-css3-selectors-20110929/>Selectors Level 3</a>. 29 September 2011. W3C Recommendation. URL: <a href=http://www.w3.org/TR/2011/REC-css3-selectors-20110929/>http://www.w3.org/TR/2011/REC-css3-selectors-20110929/</a></dl></div>
11021113

11031114
<h3 class="no-num no-ref" id=informative>
11041115
Informative References<a class=section-link href=#informative>§</a></h3>
@@ -1140,7 +1151,7 @@ <h2 class="no-num no-ref" id=index>
11401151
<h2 class="no-num no-ref" id=property-index>
11411152
Property index<a class=section-link href=#property-index>§</a></h2>
11421153
<div data-fill-with=property-index><table class=proptable><thead><tr><th scope=col>Name<th scope=col>Value<th scope=col>Initial<th scope=col>Applies To<th scope=col>Inh.<th scope=col>%ages<th scope=col>Media<th scope=col>Computed value<th scope=col>Applies to<th scope=col>Animatable<tbody>
1143-
<tr><th scope=row><a data-property="">all</a><td>initial | inherit
1154+
<tr><th scope=row><a data-property="">all</a><td>initial || inherit
11441155
<td>See individual properties
11451156
<td><td>See individual properties
11461157
<td>See individual properties

css-cascade/Overview.src.html

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ <h2 id='shorthand'>
174174
(In such cases, the <i>shorthand</i> will explicitly define the expansion of its values.)
175175

176176
<p>
177-
If a <i>shorthand</i> is specified as one of the <a href="http://www.w3.org/TR/css3-values/#common-keywords">CSS-wide keywords</a>,
177+
If a <i>shorthand</i> is specified as one of the <a href="http://www.w3.org/TR/css3-values/#common-keywords">CSS-wide keywords</a> [[!CSS3VAL]],
178178
it sets all of its <i>sub-properties</i> to that keyword.
179179
(Note that these keywords cannot be combined with other values in a single declaration, not even in a shorthand.)
180180

@@ -192,7 +192,7 @@ <h3 id="all-shorthand">
192192
<td><dfn>all</dfn>
193193
<tr>
194194
<th>Value:
195-
<td>initial | inherit
195+
<td>initial || inherit
196196
<tr>
197197
<th>Initial:
198198
<td>See individual properties
@@ -850,6 +850,12 @@ <h3 id="inheriting">
850850
<h3 id="defaulting-keywords">
851851
Explicit Defaulting</h3>
852852

853+
<p>
854+
Several CSS-wide property values are defined below;
855+
declaring a property to have these values explicitly specifies a particular defaulting behavior.
856+
As specified in <a href="http://www.w3.org/TR/css3-values/#common-keywords">CSS Values and Units Level 3</a> [[!CSS3VAL]],
857+
all CSS properties can accept these values.
858+
853859
<h4 id="initial">
854860
Resetting a Property: the ''initial'' keyword</h4>
855861

@@ -875,6 +881,10 @@ <h4 id="inherit-initial">
875881
correctly inheriting or not as appropriate for the property
876882
(or all longhands of a <i>shorthand</i>).
877883

884+
<p class="issue">
885+
It might be appropriate to <a href="http://lists.w3.org/Archives/Public/www-style/2013Jul/0041.html">replace this syntax with a single keyword</a>.
886+
But what keyword?
887+
878888
<h2 id="changes">
879889
Changes</h2>
880890

@@ -891,4 +901,4 @@ <h3 id="changes-2013">
891901

892902
<h2 class="no-num" id="acknowledgments">Acknowledgments</h2>
893903

894-
<p>David Baron and Boris Zbarsky contributed to this specification.
904+
<p>David Baron and Boris Zbarsky contributed to this specification.

0 commit comments

Comments
 (0)