gecko/layout/reftests/transform/animate-layer-scale-inherit-2.html
L. David Baron 0339c0adea Bug 1122526 patch 2 - Only do OMTA transform scale choosing for layers that are for transform display items. r=roc
This fixes the scaling choice when we have more than one layer for the
same element, e.g., because it animates both transform and opacity.
2015-06-29 16:46:16 -07:00

32 lines
608 B
HTML

<!DOCTYPE HTML>
<title>Testcase, bug 1122526</title>
<style>
#outer, #inner {
display: inline-block;
background: white;
color: black;
}
#outer { transform: scale(5) }
#inner { animation: HoldTransform linear infinite 1s,
HoldOpacity linear infinite 1s; }
#inner {
vertical-align: top;
height: 100px;
width: 100px;
background: repeating-linear-gradient(to top left, yellow, blue 10px);
}
@keyframes HoldTransform {
from, to { transform: scale(0.2) }
}
@keyframes HoldOpacity {
from, to { opacity: 0.6 }
}
</style>
<div id="outer">
<div id="inner">
</div>
</div>