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

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

Issue 2513413007: 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/shadowroot-keyframes.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/shadowroot-keyframes.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/shadowroot-keyframes.html
index 5cc6206754cbb2fb4fc91b2700f8329cf674c009..cb6ff81794927dc2c2c44b33ce7d83bd430439d9 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/shadowroot-keyframes.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/shadowroot-keyframes.html
@@ -2,7 +2,7 @@
<html>
<head>
<style>
-@-webkit-keyframes anim {
+@keyframes anim {
from {
background-color: red;
}
@@ -26,16 +26,16 @@ function getBackgroundColor(element) {
}
var shadowRootWithKeyframe = document.getElementById("d1").createShadowRoot();
-shadowRootWithKeyframe.innerHTML = '<style>@-webkit-keyframes anim {' +
+shadowRootWithKeyframe.innerHTML = '<style>@keyframes anim {' +
'from { background-color:red; } to { background-color: blue; } }' +
'#box { height: 100px; width: 100px; background: red; ' +
- '-webkit-animation: anim 0.5s both; }</style>' +
+ 'animation: anim 0.5s both; }</style>' +
'<div id="box"></div>';
var shadowRootWithoutKeyframe = document.getElementById("d2").createShadowRoot();
shadowRootWithoutKeyframe.innerHTML = '<style>' +
'#box { height: 100px; width: 100px; background: red; ' +
- '-webkit-animation: anim 0.5s both; }</style>' +
+ 'animation: anim 0.5s both; }</style>' +
'<div id="box"></div>';
window.setTimeout(function() {

Powered by Google App Engine
This is Rietveld 408576698