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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/shadowhost-keyframes.html

Issue 2521163002: CSS Animations: Reduce usage of webkit prefix in layout tests (Closed)
Patch Set: 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/fast/dom/shadow/shadowhost-keyframes.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/shadowhost-keyframes.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/shadowhost-keyframes.html
index b77cbd4a4e20c9ecae9af202ae7662fc6e41cdd5..143e4abc76b99ca79a67e0fb61c073e4770a6b16 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/shadowhost-keyframes.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/shadowhost-keyframes.html
@@ -2,7 +2,7 @@
<html>
<head>
<style>
-@-webkit-keyframes anim {
+@keyframes anim {
from {
background-color: red;
}
@@ -28,9 +28,9 @@ description('Test if @keyframes works for shadow host when using :host. i.e. crb
var host = document.getElementById('host');
var sr = host.createShadowRoot();
-sr.innerHTML = '<style>@-webkit-keyframes anim {'
+sr.innerHTML = '<style>@keyframes anim {'
+ 'from { color: red; } to { color: green; } }'
- + ':host { -webkit-animation: anim 0.5s both; color: red; }</style>'
+ + ':host { animation: anim 0.5s both; color: red; }</style>'
+ 'I should become green';
window.setTimeout(function() {

Powered by Google App Engine
This is Rietveld 408576698