summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-animations/parsing/animation-shorthand.tentative.html
blob: ac3613cf825c0e739c3ed5a27db248aeeaa2aabc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-animations/#propdef-animation">
<link rel="help" href="https://drafts.csswg.org/scroll-animations-1/">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/shorthand-testcommon.js"></script>
<script>
// TODO(https://github.com/w3c/csswg-drafts/issues/8054): When support for
// animation-delay-start and -end is added to the animation shorthand, this
// file should just merge with animation-shorthand.html.
test_shorthand_value('animation', 'anim paused both reverse 4 1s -3s cubic-bezier(0, -2, 1, 3)', {
  'animation-duration': '1s',
  'animation-timing-function': 'cubic-bezier(0, -2, 1, 3)',
  'animation-delay-start': '-3s',
  'animation-delay-end': '0s',
  'animation-iteration-count': '4',
  'animation-direction': 'reverse',
  'animation-fill-mode': 'both',
  'animation-play-state': 'paused',
  'animation-name': 'anim',
  'animation-timeline': 'auto'
});
</script>