Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(490)

Unified Diff: third_party/WebKit/LayoutTests/animations/wrong-keyframe-name.html

Issue 2518273002: Remove unnecessary webkit prefixes from animation layout tests (Closed)
Patch Set: remove trailing space Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/animations/wrong-keyframe-name.html
diff --git a/third_party/WebKit/LayoutTests/animations/wrong-keyframe-name.html b/third_party/WebKit/LayoutTests/animations/wrong-keyframe-name.html
index 72ed1c630fe3b7095e733188b487805ae3f469a5..9cccd80a328e0e673160944fd2d8cb864ccdd2c9 100644
--- a/third_party/WebKit/LayoutTests/animations/wrong-keyframe-name.html
+++ b/third_party/WebKit/LayoutTests/animations/wrong-keyframe-name.html
@@ -1,20 +1,20 @@
<!DOCTYPE html>
<style>
#test1 {
- -webkit-animation-fill-mode: forwards;
- -webkit-animation-duration: 1s;
- -webkit-animation-name: green;
+ animation-fill-mode: forwards;
+ animation-duration: 1s;
+ animation-name: green;
}
#test2 {
- -webkit-animation-fill-mode: forwards;
- -webkit-animation-duration: 1s;
+ animation-fill-mode: forwards;
+ animation-duration: 1s;
}
#test3 {
- -webkit-animation-fill-mode: forwards;
- -webkit-animation-duration: 1s;
- -webkit-animation-name: notredorgreen;
+ animation-fill-mode: forwards;
+ animation-duration: 1s;
+ animation-name: notredorgreen;
}
-@-webkit-keyframes green {
+@keyframes green {
from {
background-color: white;
}
@@ -22,7 +22,7 @@
background-color: green;
}
}
-@-webkit-keyframes red {
+@keyframes red {
from {
background-color: white;
}
@@ -42,15 +42,15 @@ if (window.testRunner) {
testRunner.waitUntilDone();
}
var pass = true;
-test1.addEventListener('webkitAnimationStart', function() {
- test2.style.webkitAnimationName = 'green';
+test1.addEventListener('animationstart', function() {
+ test2.style.animationName = 'green';
});
-test2.addEventListener('webkitAnimationStart', function() {
+test2.addEventListener('animationstart', function() {
result.innerText = pass ? 'PASS' : 'FAIL';
if (window.testRunner)
testRunner.notifyDone();
});
-test3.addEventListener('webkitAnimationStart', function() {
+test3.addEventListener('animationstart', function() {
pass = false;
});
</script>

Powered by Google App Engine
This is Rietveld 408576698