Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / animations / animation-unprefixed-string.html
blob96c3f7695d5289eb88d443cd9f5024679630f620
1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <style>
5 @keyframes anim {
6 from { background: red; }
7 to { background: red; }
10 #target {
11 animation: "anim" 1s forwards;
12 background: green;
14 </style>
15 <div id="target"></div>
16 <script>
17 test(function() {
18 assert_equals(getComputedStyle(target).backgroundColor, 'rgb(0, 128, 0)');
19 }, 'Check that unprefixed quoted animation name is illegal');
20 </script>