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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/string-keyframes-identifier.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
(Empty)
1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <style>
5 @-webkit-keyframes "string id" {
6 from { background: green; }
7 to { background: green; }
8 }
9 #target {
10 background: red;
11 -webkit-animation: "string id" 1s forwards;
12 }
13 </style>
14 <div id="target"></div>
15 <script>
16 test(function() {
17 assert_equals(getComputedStyle(target).backgroundColor, 'rgb(0, 128, 0)');
18 }, 'Check that strings are permitted as @keyframes identifiers');
19 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698