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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/deprecated-hyphen.html

Issue 2526233002: Web Animations: Retire warning for hyphenated property names (Closed)
Patch Set: retire deprecation warning Created 4 years 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/deprecated-hyphen-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <div id="target"></div>
5 <script>
6 'use strict';
7
8 test(() => {
9 var WebAnimationHyphenatedProperty = 1243; // From UseCounter.h
10 var target = document.getElementById('target');
11 var timing = {fill: 'both'};
12 target.animate([{'borderRadius': "1em"}], timing);
13 assert_false(internals.isUseCounted(document, WebAnimationHyphenatedProperty ));
14 target.animate([{'border-radius': "1em"}], timing);
15 assert_true(internals.isUseCounted(document, WebAnimationHyphenatedProperty) );
16 }, 'Calling element.animate() with hyphenated property is use counted.');
17 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/deprecated-hyphen-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698