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

Side by Side Diff: bower_components/web-animations-js/test/testcases/auto-test-box-shadow.html

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 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 <!--
2 Copyright 2013 Google Inc. All Rights Reserved.
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15 -->
16
17 <!DOCTYPE html><meta charset="UTF-8">
18 <script src="../bootstrap.js"></script>
19 <style>
20 .anim {
21 margin: 50px;
22 width: 50px;
23 height: 50px;
24 background-color: black;
25 display: inline-block;
26 }
27 </style>
28
29 <div class="anim" id="a"></div>
30 <div class="anim" id="b"></div>
31 <div class="anim" id="c"></div>
32 <div class="anim" id="d"></div>
33
34 <script>
35 'use strict';
36 a.animate([{boxShadow: '-20px -20px blue'}, {boxShadow: '20px 20px 12px 8px gree n'}], {duration: 4 * 1000, fill: 'forwards'});
37 b.animate([{boxShadow: 'inset -20px -20px 8px blue'}, {boxShadow: 'inset 20px 20 px 12px 8px green'}], {duration: 4 * 1000, fill: 'forwards'});
38 c.animate([{boxShadow: 'inset 20px 20px 8px blue'}, {boxShadow: '20px 20px 12px 8px green'}], {duration: 4 * 1000, fill: 'forwards'});
39 d.animate([{boxShadow: '20px 20px 12px 8px green'}], {duration: 4 * 1000, fill: 'forwards'});
40 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698