| OLD | NEW |
| (Empty) |
| 1 <!-- | |
| 2 Copyright 2012 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 <body>The shadows should slide back under the text. | |
| 19 <script> | |
| 20 var expected_failures = [ | |
| 21 { | |
| 22 browser_configurations: [{ firefox: true }], | |
| 23 tests: ['Autogenerated at t=(500|1000|1500)ms'], | |
| 24 message: 'Floating point issues.', | |
| 25 }, { | |
| 26 browser_configurations: [{ msie: true }], | |
| 27 tests: ['Autogenerated'], | |
| 28 message: 'Different shadow format result.', | |
| 29 } | |
| 30 ]; | |
| 31 </script> | |
| 32 <script src="../bootstrap.js"></script> | |
| 33 <script> | |
| 34 "use strict"; | |
| 35 document.timeline.play(new Animation(document.body, | |
| 36 [{textShadow: '100px 100px red, 0px 100px 20px red'}, {textShadow: '0px 0px'
}], {duration: 2 * 1000, fill: 'forwards'})); | |
| 37 </script> | |
| OLD | NEW |