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
not even with the "just flip at 50% progress" like everything else?
154
154
155
-
<pclass=issue>
156
-
Should the global values initial/inherit/default be interpreted?
157
-
I'm guessing no,
158
-
because we're not meant to interpret *anything*.
159
-
You can get switch it back to inheriting by setting it to a guaranteed-invalid value,
160
-
like <spanclass=cssdata-link-type=maybetitle=var-foo>var-foo: var(foo);</span>,
161
-
but you can't get <spanclass=cssdata-link-type=maybe>default</span> behavior.
162
-
163
-
<pclass=issue>
164
-
What's the relationship of custom properties and the <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-cascade-3/#propdef-alltitle=all>all</a> property?
165
-
Does it reset all the variables?
166
-
If <spanclass=cssdata-link-type=maybetitle=var-foo>var-foo: initial;</span> isn't interpreted by CSS,
167
-
what effect does <aclass=cssdata-link-type=maybehref=http://dev.w3.org/csswg/css-cascade-3/#propdef-alltitle=all>all: initial;</a> have?
168
-
169
155
<p> A <dfndata-dfn-type=dfndata-noexport="" id=custom-property>custom property</dfn> is any property
while using <spanclass=cssdata-link-type=maybe>var(FOO)</span> will refer to the second.
219
205
</div>
220
206
207
+
<p> Custom properties are <strong>not</strong> reset by the <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-cascade-3/#propdef-alltitle=all>all</a> property.
208
+
<spanclass=note>We may define a <aclass=propertydata-link-type=propdesctitle=var>var</a> property in the future that resets all variables.</span>
209
+
210
+
<p> The <adata-link-spec=css-valueshref=http://dev.w3.org/csswg/css-values-3/#css-wide-keywords>CSS-wide keywords</a> can be used in custom properties,
211
+
with the same meaning as in any another property.
212
+
213
+
<pclass=note> Note: That is, they're interpreted at cascaded-value time as normal,
214
+
and are not preserved as the custom property's value,
215
+
and thus are not substituted in by the corresponding variable.
Abstract: This module introduces cascading variables as a new primitive value type that is accepted by all CSS properties, and custom properties for defining them.
0 commit comments