Skip to content

Commit b91b770

Browse files
committed
[css-variables] Add issue about the global keywords in custom properties.
1 parent 85f0500 commit b91b770

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

css-variables/Overview.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,15 @@ <h2 id="introduction" data-level="1"><span class="secno">1 </span>
155155
such that they just never animate,
156156
not even with the "just flip at 50% progress" like everything else?
157157

158+
</p><p class="issue">
159+
Should the global values initial/inherit/default be interpreted?
160+
I'm guessing no,
161+
because we're not meant to interpret *anything*.
162+
You can get switch it back to inheriting by setting it to a guaranteed-invalid value,
163+
like <span data-autolink="maybe" class="css">var-foo: var(foo);</span>,
164+
but you can't get <span data-autolink="maybe" class="css">default</span> behavior.
165+
166+
158167
</p><p> A <dfn id="custom-property">custom property</dfn> is any property
159168
whose name starts with "var-",
160169
and contains at least one additional character.

css-variables/Overview.src.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,15 @@ <h2 id='defining-variables'>
8484
such that they just never animate,
8585
not even with the "just flip at 50% progress" like everything else?
8686

87+
<p class='issue'>
88+
Should the global values initial/inherit/default be interpreted?
89+
I'm guessing no,
90+
because we're not meant to interpret *anything*.
91+
You can get switch it back to inheriting by setting it to a guaranteed-invalid value,
92+
like ''var-foo: var(foo);'',
93+
but you can't get ''default'' behavior.
94+
95+
8796
A <dfn>custom property</dfn> is any property
8897
whose name starts with "var-",
8998
and contains at least one additional character.

0 commit comments

Comments
 (0)