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

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

Issue 1771733002: Web Animations: Use of hyphens is no longer supported (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 <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>
alancutter (OOO until 2018) 2016/03/07 03:08:53 We should update this test to check that hyphenate
Eric Willigers 2016/03/09 03:21:21 New test added: reject-hyphen.html
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698