OLD | NEW |
1 <!-- | 1 <!-- |
2 Copyright 2012 Google Inc. All Rights Reserved. | 2 Copyright 2012 Google Inc. All Rights Reserved. |
3 | 3 |
4 Licensed under the Apache License, Version 2.0 (the "License"); | 4 Licensed under the Apache License, Version 2.0 (the "License"); |
5 you may not use this file except in compliance with 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 | 6 You may obtain a copy of the License at |
7 | 7 |
8 http://www.apache.org/licenses/LICENSE-2.0 | 8 http://www.apache.org/licenses/LICENSE-2.0 |
9 | 9 |
10 Unless required by applicable law or agreed to in writing, software | 10 Unless required by applicable law or agreed to in writing, software |
(...skipping 23 matching lines...) Expand all Loading... |
34 <body> | 34 <body> |
35 <div class='test target' style='font-weight: 900;'>Testing font-weight!</div> | 35 <div class='test target' style='font-weight: 900;'>Testing font-weight!</div> |
36 <div class='test' style='font-weight: 100' id='test'>Testing font-weight!</div> | 36 <div class='test' style='font-weight: 100' id='test'>Testing font-weight!</div> |
37 <script src="../bootstrap.js"></script> | 37 <script src="../bootstrap.js"></script> |
38 <script> | 38 <script> |
39 "use strict"; | 39 "use strict"; |
40 document.timeline.play(new Animation(document.querySelector('#test'), | 40 document.timeline.play(new Animation(document.querySelector('#test'), |
41 [{fontWeight: '100'}, {fontWeight: '900'}], | 41 [{fontWeight: '100'}, {fontWeight: '900'}], |
42 {duration: 1 * 1000, delay: 1 * 1000, fill: 'forwards'})); | 42 {duration: 1 * 1000, delay: 1 * 1000, fill: 'forwards'})); |
43 </script> | 43 </script> |
OLD | NEW |