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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/prefixed/string-keyframes-identifier-prefixed.html

Issue 2970883003: Separate out animations tests with prefixing (Closed)
Patch Set: Rebaseline virtual/threaded version of test too Created 3 years, 5 months 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script> 2 <script src="../../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script> 3 <script src="../../resources/testharnessreport.js"></script>
4 <style> 4 <style>
5 @-webkit-keyframes "string id" { 5 @-webkit-keyframes "string id" {
6 from { background: green; } 6 from { background: green; }
7 to { background: green; } 7 to { background: green; }
8 } 8 }
9 #target { 9 #target {
10 background: red; 10 background: red;
11 -webkit-animation: "string id" 1s forwards; 11 -webkit-animation: "string id" 1s forwards;
12 } 12 }
13 </style> 13 </style>
14 <div id="target"></div> 14 <div id="target"></div>
15 <script> 15 <script>
16 test(function() { 16 test(function() {
17 assert_equals(getComputedStyle(target).backgroundColor, 'rgb(0, 128, 0)'); 17 assert_equals(getComputedStyle(target).backgroundColor, 'rgb(0, 128, 0)');
18 }, 'Check that strings are permitted as @keyframes identifiers'); 18 }, 'Check that strings are permitted as @-webkit-keyframes identifiers');
19 </script> 19 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698