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

Side by Side Diff: third_party/WebKit/LayoutTests/web-animations-api/reject-hyphen.html

Issue 2910883002: Clean up duplicate tests in web-animations-api (Closed)
Patch Set: Rebase and remove one more reference to deleted test Created 3 years, 6 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
6 div { font-size: 10px; }
7
8 </style>
9 <div id='element'></div>
10 <script>
11
12 var element = document.getElementById('element');
13
14 test(function() {
15 element.animate({'font-size': '20px'}, {fill: 'forwards'});
16 assert_equals(getComputedStyle(element).fontSize, '10px');
17
18 element.animate({'fontSize': '30px'}, {fill: 'forwards'});
19 assert_equals(getComputedStyle(element).fontSize, '30px');
20 }, 'Hyphenated propery names are ignored.');
21
22 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698