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
<h2class="no-num no-toc no-ref heading settled heading" id=status><spanclass=content>Status of this document</span></h2>
36
-
<divdata-fill-with=status><p><em>This section describes the status of this document at the time of
37
-
its publication. Other documents may supersede this document. A list of
38
-
current W3C publications and the latest revision of this technical report
39
-
can be found in the <ahref=http://www.w3.org/TR/>W3C technical reports
40
-
index at http://www.w3.org/TR/.</a></em>
41
-
42
-
<p>This document is a <b>First Public Working Draft</b>.
43
-
44
-
<p>Publication as a First Public Working Draft does not imply endorsement by the W3C
45
-
Membership. This is a draft document and may be updated, replaced or
46
-
obsoleted by other documents at any time. It is inappropriate to cite this
47
-
document as other than work in progress.
48
-
49
-
<p>The (<ahref=http://lists.w3.org/Archives/Public/www-style/>archived</a>) public
50
-
mailing list <ahref=mailto:www-style@w3.org>www-style@w3.org</a> (see
51
-
<ahref=http://www.w3.org/Mail/Request>instructions</a>) is preferred
52
-
for discussion of this specification. When sending e-mail, please put the
53
-
text “css-will-change” in the subject, preferably like this:
54
-
“[css-will-change] <em>…summary of comment…</em>”
55
-
56
-
<p>This document was produced by the <ahref=http://www.w3.org/Style/CSS/members>CSS Working Group</a> (part of
57
-
the <ahref=http://www.w3.org/Style/>Style Activity</a>).
58
-
59
-
<p>This document was produced by a group operating under the <ahref=http://www.w3.org/Consortium/Patent-Policy-20040205/>5 February
60
-
2004 W3C Patent Policy</a>. W3C maintains a <ahref=http://www.w3.org/2004/01/pp-impl/32061/statusrel=disclosure>public list of any patent disclosures</a> made in
61
-
connection with the deliverables of the group; that page also includes
62
-
instructions for disclosing a patent. An individual who has actual
63
-
knowledge of a patent which the individual believes contains <ahref=http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential>Essential
64
-
Claim(s)</a> must disclose the information in accordance with <ahref=http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure>section
65
-
6 of the W3C Patent Policy</a>.</p>
66
-
</div>
77
+
<divdata-fill-with=status><p>
78
+
This is a public copy of the editors’ draft.
79
+
It is provided for discussion only and may change at any moment.
80
+
Its publication here does not imply endorsement of its contents by W3C.
81
+
Don’t cite this document other than as work in progress.
82
+
83
+
<p>
84
+
The (<ahref=http://lists.w3.org/Archives/Public/www-style/>archived</a>) public mailing list
(see <ahref=http://www.w3.org/Mail/Request>instructions</a>)
87
+
is preferred for discussion of this specification.
88
+
When sending e-mail,
89
+
please put the text “css-will-change” in the subject,
90
+
preferably like this:
91
+
“[css-will-change] <em>…summary of comment…</em>”
92
+
93
+
<p>
94
+
This document was produced by the <ahref=http://www.w3.org/Style/CSS/members>CSS Working Group</a>
95
+
(part of the <ahref=http://www.w3.org/Style/>Style Activity</a>).
96
+
97
+
<p>
98
+
This document was produced by a group operating under
99
+
the <ahref=http://www.w3.org/Consortium/Patent-Policy-20040205/>5 February 2004 W3C Patent Policy</a>.
100
+
W3C maintains a <ahref=http://www.w3.org/2004/01/pp-impl/32061/statusrel=disclosure>public list of any patent disclosures</a>
101
+
made in connection with the deliverables of the group;
102
+
that page also includes instructions for disclosing a patent.
103
+
An individual who has actual knowledge of a patent which the individual believes contains <ahref=http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential>Essential Claim(s)</a>
104
+
must disclose the information in accordance with <ahref=http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure>section 6 of the W3C Patent Policy</a>.</div>
67
105
<divdata-fill-with=at-risk></div>
68
106
69
107
<h2class="no-num no-toc no-ref heading settled heading" id=contents><spanclass=content>Table of Contents</span></h2>
<p>However, setting up the element in a fresh layer is a relatively expensive operation,
109
-
which can delay the start of a <aclass=propertydata-link-type=propdeschref=http://www.w3.org/TR/css3-transforms/#propdef-transformtitle=transform>transform</a> animation by a noticeable fraction of a second.
147
+
which can delay the start of a <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-transforms-1/#propdef-transformtitle=transform>transform</a> animation by a noticeable fraction of a second.
110
148
</div><p></p>
111
149
112
150
<p>The <aclass=propertydata-link-type=propdeschref=#propdef-will-changetitle=will-change>will-change</a> property defined in this specification allows an author to declare ahead-of-time what properties are likely to change in the future,
<p>The <aclass=propertydata-link-type=propdeschref=#propdef-will-changetitle=will-change>will-change</a> property provides a rendering hint to the user agent,
247
285
stating what kinds of changes the author expects to perform on the element.
Indicates that the author expects to animate or change the property with the given name on the element in the near future.
295
333
296
-
<p>The <aclass="production css-code" data-link-type=typehref=http://www.w3.org/TR/css3-values/#identifier-valuetitle="<custom-ident>"><custom-ident></a> production used here excludes the keywords <spanclass=cssdata-link-type=maybetitle=will-change>will-change</span>, <spanclass=cssdata-link-type=maybetitle=none>none</span>, <spanclass=cssdata-link-type=maybetitle=all>all</span>, <aclass=cssdata-link-type=maybehref=#valuedef-autotitle=auto>auto</a>, <aclass=cssdata-link-type=maybehref=#valuedef-scroll-positiontitle=scroll-position>scroll-position</a>, and <aclass=cssdata-link-type=maybehref=#valuedef-contentstitle=contents>contents</a>,
297
-
in addition to the keywords normally excluded from <aclass="production css-code" data-link-type=typehref=http://www.w3.org/TR/css3-values/#identifier-valuetitle="<custom-ident>"><custom-ident></a>.</p>
334
+
<p>The <aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-values-3/#identifier-valuetitle="<custom-ident>"><custom-ident></a> production used here excludes the keywords <spanclass=cssdata-link-type=maybetitle=will-change>will-change</span>, <spanclass=cssdata-link-type=maybetitle=none>none</span>, <spanclass=cssdata-link-type=maybetitle=all>all</span>, <aclass=cssdata-link-type=maybehref=#valuedef-autotitle=auto>auto</a>, <aclass=cssdata-link-type=maybehref=#valuedef-scroll-positiontitle=scroll-position>scroll-position</a>, and <aclass=cssdata-link-type=maybehref=#valuedef-contentstitle=contents>contents</a>,
335
+
in addition to the keywords normally excluded from <aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-values-3/#identifier-valuetitle="<custom-ident>"><custom-ident></a>.</p>
298
336
299
337
<pclass=note>Note: Note that most properties will have no effect when specified,
300
338
as the user agent doesn’t perform any special optimizations for changes in most properties.
301
339
It is still <em>safe</em> to specify them, though;
302
340
it’ll simply have no effect.</p>
303
341
304
342
<pclass=example>
305
-
For example, browsers often handle elements with <aclass=propertydata-link-type=propdeschref=http://www.w3.org/TR/css3-transforms/#propdef-transformtitle=transform>transform</a> set to a non-initial value very differently from normal elements,
343
+
For example, browsers often handle elements with <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-transforms-1/#propdef-transformtitle=transform>transform</a> set to a non-initial value very differently from normal elements,
306
344
perhaps rendering them to their own “GPU layer”
307
-
or using other mechanisms to make it easier to quickly make the sort of transformations that <aclass=propertydata-link-type=propdeschref=http://www.w3.org/TR/css3-transforms/#propdef-transformtitle=transform>transform</a> can produce.
308
-
A browser might take a value of <aclass=propertydata-link-type=propdeschref=http://www.w3.org/TR/css3-transforms/#propdef-transformtitle=transform>transform</a> as a signal
345
+
or using other mechanisms to make it easier to quickly make the sort of transformations that <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-transforms-1/#propdef-transformtitle=transform>transform</a> can produce.
346
+
A browser might take a value of <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-transforms-1/#propdef-transformtitle=transform>transform</a> as a signal
309
347
that it should go ahead and promote the element to its own layer immediately,
310
348
before the element starts to be transformed,
311
349
to avoid any delay involved in rerendering the old and new layers.
to avoid sudden rendering differences when the property is eventually changed.</p>
323
361
324
362
<pclass=example>
325
-
For example, setting <aclass=propertydata-link-type=propdeschref=http://www.w3.org/TR/css3-color/#opacitytitle=opacity>opacity</a> to any value other than <spanclass=cssdata-link-type=maybetitle=1>1</span> creates a stacking context on the element.
363
+
For example, setting <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-color-3/#opacitytitle=opacity>opacity</a> to any value other than <spanclass=cssdata-link-type=maybetitle=1>1</span> creates a stacking context on the element.
326
364
Thus, setting <aclass=cssdata-link-type=propdeschref=#propdef-will-changetitle=will-change>will-change: opacity</a> also creates a stacking context,
327
-
even if <aclass=propertydata-link-type=propdeschref=http://www.w3.org/TR/css3-color/#opacitytitle=opacity>opacity</a> is <em>currently</em> still equal to <spanclass=cssdata-link-type=maybetitle=1>1</span>.
365
+
even if <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-color-3/#opacitytitle=opacity>opacity</a> is <em>currently</em> still equal to <spanclass=cssdata-link-type=maybetitle=1>1</span>.
328
366
</dl>
329
367
330
368
<p>The <aclass=propertydata-link-type=propdeschref=#propdef-will-changetitle=will-change>will-change</a> property has no <em>direct</em> effect on the element it is specified on,
0 commit comments