WebKit Bugzilla
Attachment 342943 Details for
Bug 186129
: REGRESSION (r232186): Hardware-accelerated CSS animations using steps() timing function no longer work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Testcase
186129.html (text/html), 1.20 KB, created by
Frédéric Wang (:fredw)
on 2018-06-18 09:09:26 PDT
(
hide
)
Description:
Testcase
Filename:
MIME Type:
Creator:
Frédéric Wang (:fredw)
Created:
2018-06-18 09:09:26 PDT
Size:
1.20 KB
patch
obsolete
><!DOCTYPE html> ><html> > <head> > <meta charset="utf-8"> > <title>Bug 186129</title> > <style> > #container { > position: absolute; > left: 0; > top: 3em; > } > #squareLinear, #squareSteps, #squareNonAccelerated { > width: 100px; > height: 100px; > background: lightblue; > position: absolute; > left: -50px; > } > #squareLinear { > top: 0px; > animation: moveByTransform 2s linear infinite; > } > #squareSteps { > top: 150px; > animation: moveByTransform 2s steps(4) infinite; > } > #squareNonAccelerated { > top: 300px; > animation: moveByLeft 2s steps(4) infinite; > } > @keyframes moveByTransform > { > 100% { > transform: translate(500px); > } > } > @keyframes moveByLeft > { > 0% { > left: -50px; > } > 100% { > left: 450px; > } > } > </style> > </head> > <body> > <div id="container"> > <div id="squareLinear"><tt>transform</tt> (linear)</div> > <div id="squareSteps"><tt>transform</tt> (steps)</div> > <div id="squareNonAccelerated"><tt>left</tt> (steps)</div> > </div> > </body> ></html>
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Bug 186129</title> <style> #container { position: absolute; left: 0; top: 3em; } #squareLinear, #squareSteps, #squareNonAccelerated { width: 100px; height: 100px; background: lightblue; position: absolute; left: -50px; } #squareLinear { top: 0px; animation: moveByTransform 2s linear infinite; } #squareSteps { top: 150px; animation: moveByTransform 2s steps(4) infinite; } #squareNonAccelerated { top: 300px; animation: moveByLeft 2s steps(4) infinite; } @keyframes moveByTransform { 100% { transform: translate(500px); } } @keyframes moveByLeft { 0% { left: -50px; } 100% { left: 450px; } } </style> </head> <body> <div id="container"> <div id="squareLinear"><tt>transform</tt> (linear)</div> <div id="squareSteps"><tt>transform</tt> (steps)</div> <div id="squareNonAccelerated"><tt>left</tt> (steps)</div> </div> </body> </html>
View Attachment As Raw
Actions:
View
Attachments on
bug 186129
:
341648
|
341744
| 342943 |
344178
|
344186