Skip to content

Commit 31a0cb4

Browse files
author
Your Full Name
committed
Preprocessor tweaks.
--HG-- extra : rebase_source : f6949f4d7e641ba16caf8169270fa3b86d8fcad9
1 parent 9024160 commit 31a0cb4

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

css-variables/Overview.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ <h2 id="contents" class="no-num no-toc no-ref">Table of contents</h2>
6363
Introduction</a><ul class="toc"><li><a href="#module-interactions"><span class="secno">1.1 </span>
6464
Module Interactions</a></li><li><a href="#values"><span class="secno">1.2 </span>
6565
Values</a></li></ul></li><li><a href="#defining-variables"><span class="secno">2 </span>
66-
Defining Custom Properties: the </a><a data-autolink="property" class="property" title="var-*" href="#var-">var-*</a> family of properties</li><li><a href="#using-variables"><span class="secno">3 </span>
67-
Using Cascading Variables: the </a><a data-autolink="maybe" class="css">var()</a> notation<ul class="toc"><li><a href="#invalid-variables"><span class="secno">3.1 </span>
66+
Defining Custom Properties: the <span data-autolink="property" class="property" title="var-*">var-*</span> family of properties</a></li><li><a href="#using-variables"><span class="secno">3 </span>
67+
Using Cascading Variables: the <span data-autolink="maybe" class="css">var()</span> notation</a><ul class="toc"><li><a href="#invalid-variables"><span class="secno">3.1 </span>
6868
Invalid Variables</a></li></ul></li><li><a href="#cssom"><span class="secno">4 </span>
6969
APIs</a><ul class="toc"><li><a href="#the-cssstyledeclaration-interface"><span class="secno">4.1 </span>
7070
Extensions to the <code>CSSStyleDeclaration</code> Interface</a><ul class="toc"><li><a href="#serializing-custom-props"><span class="secno">4.1.1 </span>
@@ -126,23 +126,23 @@ <h2 id="introduction" data-level="1"><span class="secno">1 </span>
126126
</p><h3 id="values" data-level="1.2"><span class="secno">1.2 </span>
127127
Values</h3>
128128

129-
<p> This specification follows the <a href="http://www.w3.org/TR/CSS21/about.html#property-defs">CSS property definition conventions</a> from [[!CSS21]].
130-
Value types not defined in this specification are defined in CSS Level&#160;2 Revision&#160;1 [[!CSS21]].
129+
<p> This specification follows the <a href="http://www.w3.org/TR/CSS21/about.html#property-defs">CSS property definition conventions</a> from <a data-autolink="biblio" U00022="" data-biblio-type="normative" title="CSS21" href="#css21">[CSS21]</a>.
130+
Value types not defined in this specification are defined in CSS Level&#160;2 Revision&#160;1 <a data-autolink="biblio" U00022="" data-biblio-type="normative" title="CSS21" href="#css21">[CSS21]</a>.
131131
Other CSS modules may expand the definitions of these value types:
132-
for example [[CSS3COLOR]],
132+
for example <a data-autolink="biblio" U00022="" data-biblio-type="informative" title="CSS3COLOR" href="#css3color">[CSS3COLOR]</a>,
133133
when combined with this module,
134-
expands the definition of the &lt;color&gt; value type as used in this specification.
134+
expands the definition of the <color> value type as used in this specification.
135135

136136

137-
</p><h2 id="defining-variables" data-level="2"><span class="secno">2 </span>
137+
</color></p><h2 id="defining-variables" data-level="2"><span class="secno">2 </span>
138138
Defining Custom Properties: the <a data-autolink="property" class="property" title="var-*" href="#var-">var-*</a> family of properties</h2>
139139

140140
<p> This specification defines an open-ended set of properties called <a data-autolink="link" href="#custom-property">custom properties</a>,
141141
which are used to define <a data-autolink="link" href="#cascading-variable">variables</a>.
142142

143143
</p><table class="propdef"><tbody><tr><th>Name:</th><td><dfn id="var-">var-*</dfn></td></tr><tr><th>Values:</th><td>[ <a data-autolink="link" class="production" href="#value-production"><var>&lt;value&gt;</var></a> | <a data-autolink="link" class="production" href="#cdo-production"><var>&lt;CDO&gt;</var></a> | <a data-autolink="link" class="production" href="#cdc-production"><var>&lt;CDC&gt;</var></a> ]</td></tr><tr><th>Initial:</th><td>(nothing, see prose)</td></tr><tr><th>Applies To:</th><td>all elements</td></tr><tr><th>Inherited:</th><td>yes</td></tr><tr><th>Computed Value:</th><td>specified value with variables substituted (but see prose for "invalid variables")</td></tr><tr><th>Media:</th><td>all</td></tr></tbody></table>
144-
<p> A <dfn title="custom property|custom properties" id="custom-property">custom property</dfn> is any property
145-
whose name is composed of "var-" followed by an <code>&lt;ident&gt;</code> [[!CSS3VAL]]
144+
<p> A <dfn id="custom-property">custom property</dfn> is any property
145+
whose name is composed of "var-" followed by an <a data-autolink="link" class="production"><var>&lt;ident&gt;</var></a> <a data-autolink="biblio" U00022="" data-biblio-type="normative" title="CSS3VAL" href="#css3val">[CSS3VAL]</a>.
146146
<a data-autolink="link" href="#custom-property">Custom properties</a> are solely for use by authors and users;
147147
CSS will never give them a meaning beyond what is presented here.
148148

@@ -186,7 +186,7 @@ <h2 id="introduction" data-level="1"><span class="secno">1 </span>
186186

187187
<p> <a data-autolink="link" href="#custom-property">Custom properties</a> have an extremely permissive value grammar.
188188
The <dfn id="value-production">&lt;value&gt;</dfn> in its grammar corresponds to the "value" production
189-
in <a href="http://www.w3.org/TR/CSS2/syndata.html#tokenization">CSS 2.1 Chapter 4.1</a> [[!CSS21]],
189+
in <a href="http://www.w3.org/TR/CSS2/syndata.html#tokenization">CSS 2.1 Chapter 4.1</a> <a data-autolink="biblio" U00022="" data-biblio-type="normative" title="CSS21" href="#css21">[CSS21]</a>,
190190
while <dfn id="cdo-production">&lt;CDO&gt;</dfn> and <dfn id="cdc-production">&lt;CDC&gt;</dfn> correspond to the tokens of the same name
191191
from the same chapter
192192
(they represent HTML comments showing up in CSS text - "&lt;!--" and "--&gt;").
@@ -728,7 +728,7 @@ <h3 class="no-ref" id="conventions">
728728
letters in this specification.
729729

730730
</p><p>All of the text of this specification is normative except sections
731-
explicitly marked as non-normative, examples, and notes. [[!RFC2119]]</p>
731+
explicitly marked as non-normative, examples, and notes. <a data-autolink="biblio" U00022="" data-biblio-type="normative" title="RFC2119" href="#rfc2119">[RFC2119]</a></p>
732732

733733
<p>Examples in this specification are introduced with the words "for example"
734734
or are set apart from the normative text with <code>class="example"</code>,
@@ -837,15 +837,15 @@ <h3 class="no-ref" id="testing">
837837

838838
<h3 id="normative" class="no-num no-ref">
839839
Normative References</h3>
840-
<div data-fill-with="normative-references"><dl></dl></div>
840+
<div data-fill-with="normative-references"><dl><dt id="css3val" title="CSS3VAL">[CSS3VAL]</dt><dd>H&#229;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></dd><dt id="css21" title="CSS21">[CSS21]</dt><dd>Bert Bos; et al. <a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/">Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification</a>. 7 June 2011. W3C Recommendation. URL: <a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/">http://www.w3.org/TR/2011/REC-CSS2-20110607/</a></dd><dt id="rfc2119" title="RFC2119">[RFC2119]</dt><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></dd></dl></div>
841841

842842
<h3 id="informative" class="no-num no-ref">
843843
Informative References</h3>
844-
<div data-fill-with="informative-references"><dl></dl></div>
844+
<div data-fill-with="informative-references"><dl><dt id="css3color" title="CSS3COLOR">[CSS3COLOR]</dt><dd>Tantek &#199;elik; Chris Lilley; L. David Baron. <a href="http://www.w3.org/TR/2011/REC-css3-color-20110607">CSS Color Module Level 3</a>. 7 June 2011. W3C Recommendation. URL: <a href="http://www.w3.org/TR/2011/REC-css3-color-20110607">http://www.w3.org/TR/2011/REC-css3-color-20110607</a></dd></dl></div>
845845

846846
<h2 id="index" class="no-num no-ref">
847847
Index</h2>
848-
<div data-fill-with="index"><ul class="indexlist"><li>authoring tool, <a href="#authoring-tool" title="section ??">??</a></li><li>cascading variable, <a href="#cascading-variable" title="section 2">2</a></li><li>&lt;CDC&gt;, <a href="#cdc-production" title="section 2">2</a></li><li>&lt;CDO&gt;, <a href="#cdo-production" title="section 2">2</a></li><li>creator, <a href="#cssvariablesdeclaration-creator" title="section 4.2">4.2</a></li><li>CSS declaration block declarations, <a href="#css-declaration-block-declarations" title="section 4.2">4.2</a></li><li>CSSStyleDeclaration, <a href="#cssstyledeclaration" title="section 4.1">4.1</a></li><li>CSSVariablesDeclaration, <a href="#cssvariablesdeclaration" title="section 4.2">4.2</a></li><li>custom properties, <a href="#custom-property" title="section 2">2</a></li><li>custom property, <a href="#custom-property" title="section 2">2</a></li><li>deleter, <a href="#cssvariablesdeclaration-deleter" title="section 4.2">4.2</a></li><li>getter, <a href="#cssvariablesdeclaration-getter" title="section 4.2">4.2</a></li><li>invalid at computed-value time, <a href="#invalid-at-computed-value-time" title="section 3.1">3.1</a></li><li>invalid variable, <a href="#invalid-variable" title="section 3.1">3.1</a></li><li>renderer, <a href="#renderer" title="section ??">??</a></li><li>setter, <a href="#cssvariablesdeclaration-setter" title="section 4.2">4.2</a></li><li>style sheet!!as conformance class, <a href="#style-sheet" title="section ??">??</a></li><li>&lt;value&gt;, <a href="#value-production" title="section 2">2</a></li><li>var-*, <a href="#var-" title="section 2">2</a></li><li>&lt;variable&gt;, <a href="#default-var-type" title="section 3">3</a></li><li>variable, <a href="#cascading-variable" title="section 2">2</a></li></ul></div>
848+
<div data-fill-with="index"><ul class="indexlist"><li>authoring tool, <a href="#authoring-tool" title="section ??">??</a></li><li>cascading variable, <a href="#cascading-variable" title="section 2">2</a></li><li>&lt;CDC&gt;, <a href="#cdc-production" title="section 2">2</a></li><li>&lt;CDO&gt;, <a href="#cdo-production" title="section 2">2</a></li><li>creator, <a href="#cssvariablesdeclaration-creator" title="section 4.2">4.2</a></li><li>CSS declaration block declarations, <a href="#css-declaration-block-declarations" title="section 4.2">4.2</a></li><li>CSSStyleDeclaration, <a href="#cssstyledeclaration" title="section 4.1">4.1</a></li><li>CSSVariablesDeclaration, <a href="#cssvariablesdeclaration" title="section 4.2">4.2</a></li><li>custom property, <a href="#custom-property" title="section 2">2</a></li><li>deleter, <a href="#cssvariablesdeclaration-deleter" title="section 4.2">4.2</a></li><li>getter, <a href="#cssvariablesdeclaration-getter" title="section 4.2">4.2</a></li><li>invalid at computed-value time, <a href="#invalid-at-computed-value-time" title="section 3.1">3.1</a></li><li>invalid variable, <a href="#invalid-variable" title="section 3.1">3.1</a></li><li>renderer, <a href="#renderer" title="section ??">??</a></li><li>setter, <a href="#cssvariablesdeclaration-setter" title="section 4.2">4.2</a></li><li>style sheet!!as conformance class, <a href="#style-sheet" title="section ??">??</a></li><li>&lt;value&gt;, <a href="#value-production" title="section 2">2</a></li><li>var-*, <a href="#var-" title="section 2">2</a></li><li>&lt;variable&gt;, <a href="#default-var-type" title="section 3">3</a></li><li>variable, <a href="#cascading-variable" title="section 2">2</a></li></ul></div>
849849

850850
<h2 id="property-index" class="no-num no-ref">
851851
Property index</h2>

css-variables/Overview.src.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ <h2 id='defining-variables'>
7676
Media: all
7777
</xmp>
7878

79-
A <dfn title="custom property|custom properties">custom property</dfn> is any property
80-
whose name is composed of "var-" followed by an <code>&lt;ident></code> [[!CSS3VAL]]
79+
A <dfn>custom property</dfn> is any property
80+
whose name is composed of "var-" followed by an <<ident>> [[!CSS3VAL]].
8181
<a>Custom properties</a> are solely for use by authors and users;
8282
CSS will never give them a meaning beyond what is presented here.
8383

0 commit comments

Comments
 (0)