On Thu, Dec 8, 2011 at 3:16 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 12/8/11 5:22 PM, James Robinson wrote:
>
>> Thanks for the feedback. I've pushed
>> https://dvcs.w3.org/hg/**webperf/rev/435e89478579<https://dvcs.w3.org/hg/webperf/rev/435e89478579>to the editor's draft to
>> rename from cancelRequestAnimationFrame() to cancelAnimationFrame(). You
>> can see the version of the spec with this change here:
>> https://dvcs.w3.org/hg/**webperf/raw-file/435e89478579/**
>> specs/RequestAnimationFrame/**Overview.html<https://dvcs.w3.org/hg/webperf/raw-file/435e89478579/specs/RequestAnimationFrame/Overview.html>
>> .
>> I expect to update the WebKit vendor-prefixed implementation soon to
>> reflect this change.
>>
>
> I suspect you won't be able to, actually, due to web compat issues.
> Certainly Gecko won't be able to without keeping the old name as an alias;
> at least Google maps looks for mozCancelRequestAnimationFrame and breaks if
> that's not present.
> So when we unprefix we'll unprefix to cancelAnimationFrame, but the
> prefixed version might stay as-is for now or grow the other alongside it.
Right, I'll leave an alias for the old vendor-prefixed name. This won't
have any impact on the unprefixed version once that ships, however.
- James
>
>
> -Boris
>