You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Defining Custom Properties: the </a><adata-autolink="property" class="property" title="var-*"href="#var-">var-*</a> family of properties</li><li><ahref="#using-variables"><spanclass="secno">3 </span>
67
-
Using Cascading Variables: the </a><adata-autolink="maybe" class="css">var()</a> notation<ulclass="toc"><li><ahref="#invalid-variables"><spanclass="secno">3.1 </span>
66
+
Defining Custom Properties: the <spandata-autolink="property" class="property" title="var-*">var-*</span> family of properties</a></li><li><ahref="#using-variables"><spanclass="secno">3 </span>
67
+
Using Cascading Variables: the <spandata-autolink="maybe" class="css">var()</span> notation</a><ulclass="toc"><li><ahref="#invalid-variables"><spanclass="secno">3.1 </span>
<p> This specification follows the <ahref="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 2 Revision 1 [[!CSS21]].
129
+
<p> This specification follows the <ahref="http://www.w3.org/TR/CSS21/about.html#property-defs">CSS property definition conventions</a> from <adata-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 2 Revision 1 <adata-autolink="biblio" U00022="" data-biblio-type="normative" title="CSS21" href="#css21">[CSS21]</a>.
131
131
Other CSS modules may expand the definitions of these value types:
132
-
for example [[CSS3COLOR]],
132
+
for example <adata-autolink="biblio" U00022="" data-biblio-type="informative" title="CSS3COLOR" href="#css3color">[CSS3COLOR]</a>,
133
133
when combined with this module,
134
-
expands the definition of the <color> value type as used in this specification.
134
+
expands the definition of the <color> value type as used in this specification.
Defining Custom Properties: the <adata-autolink="property" class="property" title="var-*" href="#var-">var-*</a> family of properties</h2>
139
139
140
140
<p> This specification defines an open-ended set of properties called <adata-autolink="link" href="#custom-property">custom properties</a>,
141
141
which are used to define <adata-autolink="link" href="#cascading-variable">variables</a>.
142
142
143
143
</p><tableclass="propdef"><tbody><tr><th>Name:</th><td><dfnid="var-">var-*</dfn></td></tr><tr><th>Values:</th><td>[ <adata-autolink="link" class="production" href="#value-production"><var><value></var></a> | <adata-autolink="link" class="production" href="#cdo-production"><var><CDO></var></a> | <adata-autolink="link" class="production" href="#cdc-production"><var><CDC></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 <dfntitle="custom property|custom properties" id="custom-property">custom property</dfn> is any property
145
-
whose name is composed of "var-" followed by an <code><ident></code> [[!CSS3VAL]]
144
+
<p> A <dfnid="custom-property">custom property</dfn> is any property
145
+
whose name is composed of "var-" followed by an <adata-autolink="link" class="production"><var><ident></var></a><adata-autolink="biblio" U00022="" data-biblio-type="normative" title="CSS3VAL" href="#css3val">[CSS3VAL]</a>.
146
146
<adata-autolink="link" href="#custom-property">Custom properties</a> are solely for use by authors and users;
147
147
CSS will never give them a meaning beyond what is presented here.
<divdata-fill-with="informative-references"><dl><dtid="css3color" title="CSS3COLOR">[CSS3COLOR]</dt><dd>Tantek Çelik; Chris Lilley; L. David Baron. <ahref="http://www.w3.org/TR/2011/REC-css3-color-20110607">CSS Color Module Level 3</a>. 7 June 2011. W3C Recommendation. URL: <ahref="http://www.w3.org/TR/2011/REC-css3-color-20110607">http://www.w3.org/TR/2011/REC-css3-color-20110607</a></dd></dl></div>
0 commit comments