File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -239,7 +239,8 @@ Hinting at Future Behavior: the 'will-change' property</h2>
239
239
240
240
<dt> <dfn><<custom-ident>></dfn>
241
241
<dd>
242
- Indicates that the author expects to animate or change the property with the given name on the element in the near future.
242
+ If the <<custom-ident>> is an [=ASCII case-insensitive=] match for the name of a built-in CSS property,
243
+ it indicates that the author expects to animate or change the property with the given name on the element in the near future.
243
244
If the property given is a shorthand,
244
245
it indicates the expectation for all the longhands the shorthand expands to.
245
246
@@ -260,6 +261,12 @@ Hinting at Future Behavior: the 'will-change' property</h2>
260
261
which means that effects that happen through custom properties
261
262
do not count for the rules below that are conditioned on any non-initial value of a property causing something.
262
263
264
+ Note: Specifying a value that's not recognized as a property is fine;
265
+ it simply has no effect.
266
+ This allows you to safely specify <em> new</em> properties that exist in some user agents
267
+ without negatively affecting down-level user agents
268
+ that don't know about that property.
269
+
263
270
<p class='example'>
264
271
For example, browsers often handle elements with 'transform' set to a non-initial value very differently from normal elements,
265
272
perhaps rendering them to their own “GPU layer”
You can’t perform that action at this time.
0 commit comments