fune/testing/web-platform/tests/css/css-animations/animation-delay-011.html
Emilio Cobos Álvarez fe34ff622f Bug 1426246: Fix inheritance of animation and transition properties of mismatched length. r=hiro
At least when the animation-name length is bigger than the animation properties,
we mess up inheritance and only set properly the specified counts, then don't
cycle it.

The nicer fix for this is making these vectors properly, and move the cycling
logic at used-value time (bug 1420928). Same for transitions.

MozReview-Commit-ID: 3cguzIvfMFU
2017-12-21 14:04:54 +01:00

24 lines
704 B
HTML

<!doctype html>
<meta charset="utf-8">
<title>CSS Animations Test: inherited animation-delay with mismatched animation-name length</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="help" href="https://drafts.csswg.org/css-animations-1/#animations">
<link rel="match" href="animation-common-ref.html">
<style>
div:after {
content: '';
display: block;
width: 100px;
height: 100px;
background: red;
animation: doesntmatter 50s linear infinite,
bg 100s step-end infinite;
animation-play-state: paused;
animation-delay: inherit;
}
@keyframes bg {
50% { background: green; }
}
</style>
<div style="animation-delay: -50s"></div>