Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / animations / string-keyframes-identifier.html
blob0b9bc74091f2cca7e3cb082a92e4cd9f39d5e019
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; }
9 #target {
10 background: red;
11 -webkit-animation: "string id" 1s forwards;
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>