@@ -33,6 +33,11 @@ Repository: w3c/css-houdini-drafts
33
33
}
34
34
</pre>
35
35
36
+ <pre class='link-defaults'>
37
+ spec:css-transforms-1; type:type; text:<transform-function>
38
+ spec:css-conditional-3; type:method; text:supports(property, value)
39
+ </pre>
40
+
36
41
Introduction {#intro}
37
42
=====================
38
43
@@ -57,7 +62,7 @@ Registering custom properties {#registering-custom-properties}
57
62
<pre class='idl'>
58
63
dictionary PropertyDescriptor {
59
64
required DOMString name;
60
- DOMString syntax = '*' ;
65
+ DOMString syntax = "*" ;
61
66
boolean inherits = false;
62
67
DOMString initialValue;
63
68
};
@@ -121,16 +126,6 @@ values for that property are turned into computed values is defined
121
126
fully by the type selected, as described in
122
127
<a section href="#calculation-of-computed-values"></a> .
123
128
124
- Note: As defined by [[css3-animations]] and [[css3-transitions]] , it is possible to
125
- specify animations and transitions that reference custom properties.
126
-
127
- When referenced by animations and transitions, custom properties will interpolate
128
- in a manner defined by their types.
129
- If the start and end of an interpolation have matching types, then they
130
- will interpolate as specified in [[!css3-animations]] .
131
- Otherwise, the interpolation falls back to the default 50% flip described in
132
- [[!css3-animations]] .
133
-
134
129
If {{registerProperty()}} is called with a descriptor name that matches an already registered property,
135
130
then an {{InvalidModificationError}} is thrown and the re-registration fails.
136
131
@@ -278,6 +273,34 @@ matches to the specified value.
278
273
For list values, the computed value is a list of the computed values of the
279
274
primitives in the list.
280
275
276
+ Behavior of Custom Properties {#behavior-of-custom-properties}
277
+ ==============================================================
278
+
279
+ Animation Behavior of Custom Properties {#animation-behavior-of-custom-properties}
280
+ ----------------------------------------------------------------------------------
281
+
282
+ Note: As defined by [[css3-animations]] and [[css3-transitions]] , it is possible to
283
+ specify animations and transitions that reference custom properties.
284
+
285
+ When referenced by animations and transitions, custom properties interpolate
286
+ in a manner defined by their types.
287
+ If the start and end of an interpolation have matching types, then they
288
+ will interpolate as specified in [[!css3-animations]] .
289
+ Otherwise, the interpolation falls back to the default 50% flip described in
290
+ [[!css3-animations]] .
291
+
292
+ Conditional Rules {#conditional-rules}
293
+ --------------------------------------
294
+
295
+ @supports rules and the <a method for=CSS>supports()</a> method behave as specified
296
+ in [[!css-variables]] .
297
+
298
+ Note: In other words, for the purpose of determining whether a value is
299
+ supported by a given custom property, the type registered for the custom property is
300
+ ignored and any value consisting of at least one token is considered valid.
301
+
302
+ Issue(118): should @supports pay attention to type when considering custom properties?
303
+
281
304
Examples {#examples}
282
305
====================
283
306
0 commit comments