WebKit Bugzilla
Attachment 356578 Details for
Bug 177484
: requestAnimationFrame should execute before the next frame
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Multiple paint commits between two requestAnimationFrames
test275.html (text/html), 264 bytes, created by
Said Abou-Hallawa
on 2018-12-04 21:06:14 PST
(
hide
)
Description:
Multiple paint commits between two requestAnimationFrames
Filename:
MIME Type:
Creator:
Said Abou-Hallawa
Created:
2018-12-04 21:06:14 PST
Size:
264 bytes
patch
obsolete
><style> > #box { > position: relative; > width: 200px; > height: 100px; > background-color: green; > } ></style> ><script> > var pos = 0; > setInterval(() => { > pos = (pos + 1) % 300; > box.style.left = pos + 'px'; > }, 8); ></script> ><body> > <div id="box"></div> ></body>
<style> #box { position: relative; width: 200px; height: 100px; background-color: green; } </style> <script> var pos = 0; setInterval(() => { pos = (pos + 1) % 300; box.style.left = pos + 'px'; }, 8); </script> <body> <div id="box"></div> </body>
View Attachment As Raw
Actions:
View
Attachments on
bug 177484
: 356578 |
361620
|
361621
|
361622
|
361623
|
361718
|
361727
|
361743
|
361749
|
361750
|
361752
|
361756
|
361760
|
361764
|
361769
|
361775
|
361776
|
361779
|
361783
|
361947
|
361963
|
361970
|
361973
|
361974
|
362845
|
362847
|
362848
|
362849
|
362850
|
362851
|
363268
|
363274
|
363286
|
363295
|
363309
|
363313
|
363417
|
363419
|
363420
|
363831
|
363846
|
363850
|
363857
|
363862
|
363940
|
366413
|
366416
|
366417
|
366418
|
366427
|
366731
|
366736
|
366740
|
366745
|
367083
|
367091
|
367145
|
367151
|
367160
|
367186