| <title>CSS Animations Test: animation-name - blank value</title> |
| <link rel="author" title="Nokia Inc." href="http://www.nokia.com"> |
| <link rel="author" title="Intel" href="http://www.intel.com"> |
| <link rel="reviewer" title="Zhiqiang Zhang" href="mailto:zhiqiang.zhang@intel.com"> <!-- 2015-05-06 --> |
| <link rel="help" href="https://drafts.csswg.org/css-animations-1/#animation-name"> |
| <link rel="help" href="https://drafts.csswg.org/css-animations-1/#animation-duration"> |
| <meta name="flags" content="animated"> |
| <meta name="assert" content="Check that animation-name is set without any value, |
| there will be no animation."> |
| Test passes if there is a filled blue square with 'Filler Text', |
| which starts staying left about 2 seconds, then moves from right to left. |
| setTimeout(setAnimationName, 2000); |
| function setAnimationName () { |
| var div = document.getElementsByTagName("div"); |
| div[0].style.animationName = "sample"; |