No subject
Wed Aug 1 07:28:53 PDT 2012
pt & library using rAF detects all prefixes and the unprefixed standard=
version.</div>
<div><br></div><div>More than nearly any other prefixed API I can think of,=
shipping unprefixed rAF without the prefixed alias should be safe.<br><br>=
<div class=3D"gmail_quote">On Thu, Oct 11, 2012 at 5:29 PM, James Simonsen =
<span dir=3D"ltr"><<a href=3D"mailto:simonjam at chromium.org" target=3D"_b=
lank">simonjam at chromium.org</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div style=3D"font-family:arial,sans-serif;f=
ont-size:13px">I've posted a patch to remove the "webkit" pre=
fix from requestAnimationFrame. [1] The question is whether or not to conti=
nue to support the prefixed version. I propose dropping it for the followin=
g reasons:</div>
<div style=3D"font-family:arial,sans-serif;font-size:13px"><br></div><div s=
tyle=3D"font-family:arial,sans-serif;font-size:13px">1. We're changing =
the callback semantics to match the spec. [2]</div><div style=3D"font-famil=
y:arial,sans-serif;font-size:13px">
<br></div><div style=3D"font-family:arial,sans-serif;font-size:13px">2. IE1=
0 is shipping with this unprefixed. [3]</div><div style=3D"font-family:aria=
l,sans-serif;font-size:13px"><br></div><div style=3D"font-family:arial,sans=
-serif;font-size:13px">
3. Toolkits already use the unprefixed version. [4]</div><div style=3D"font=
-family:arial,sans-serif;font-size:13px"><br></div><div style=3D"font-famil=
y:arial,sans-serif;font-size:13px">4. The advice on the internet recommends=
everyone use the polyfill technique. [5]</div>
<div style=3D"font-family:arial,sans-serif;font-size:13px"><br></div><div s=
tyle=3D"font-family:arial,sans-serif;font-size:13px">I'm curious what e=
veryone else thinks.</div><div style=3D"font-family:arial,sans-serif;font-s=
ize:13px">
<br></div><div style=3D"font-family:arial,sans-serif;font-size:13px">James<=
/div><div style=3D"font-family:arial,sans-serif;font-size:13px"><br></div><=
div style=3D"font-family:arial,sans-serif;font-size:13px">[1]=A0<a href=3D"=
https://bugs.webkit.org/show_bug.cgi?id=3D99116" target=3D"_blank">https://=
bugs.webkit.org/show_bug.cgi?id=3D99116</a></div>
<div style=3D"font-family:arial,sans-serif;font-size:13px">[2]=A0<a href=3D=
"https://bugs.webkit.org/show_bug.cgi?id=3D66683" target=3D"_blank">https:/=
/bugs.webkit.org/show_bug.cgi?id=3D66683</a></div><div style=3D"font-family=
:arial,sans-serif;font-size:13px">
[3]=A0<a href=3D"http://caniuse.com/#feat=3Drequestanimationframe" target=
=3D"_blank">http://caniuse.com/#feat=3Drequestanimationframe</a></div><div =
style=3D"font-family:arial,sans-serif;font-size:13px">[4]=A0<a href=3D"http=
s://gist.github.com/1579671" target=3D"_blank">https://gist.github.com/1579=
671</a></div>
<div style=3D"font-family:arial,sans-serif;font-size:13px">[5]=A0<a href=3D=
"https://developer.mozilla.org/en-US/docs/DOM/window.requestAnimationFrame"=
target=3D"_blank">https://developer.mozilla.org/en-US/docs/DOM/window.requ=
estAnimationFrame</a></div>
<br>_______________________________________________<br>
webkit-dev mailing list<br>
<a href=3D"mailto:webkit-dev at lists.webkit.org">webkit-dev at lists.webkit.org<=
/a><br>
<a href=3D"http://lists.webkit.org/mailman/listinfo/webkit-dev" target=3D"_=
blank">http://lists.webkit.org/mailman/listinfo/webkit-dev</a><br>
<br></blockquote></div><br></div>
--047d7b2e432c55e76304cbd573ef--
More information about the webkit-dev
mailing list