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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/keyframe-unprefixed-string.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 @keyframes "anim" {
6 from { background: red; }
7 to { background: red; }
8 }
9
10 #target {
11 animation: anim 1s forwards;
12 background: green;
13 }
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 keyframe names cannot be strings');
20 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698