forked from mirrors/gecko-dev
So, we don't create a stacking context for this case. Besides, we also make sure FindAnimationsForCompositor() work properly for motion-path if offset-path is not effective (i.e. none and no animations). Differential Revision: https://phabricator.services.mozilla.com/D51895 --HG-- extra : moz-landing-system : lando
24 lines
421 B
HTML
24 lines
421 B
HTML
<!DOCTYPE html>
|
|
<title>
|
|
offset-distance animation doesn't create a stacking context if
|
|
offset-path is none
|
|
</title>
|
|
<style>
|
|
span {
|
|
height: 100px;
|
|
width: 100px;
|
|
position: fixed;
|
|
background: green;
|
|
top: 50px;
|
|
}
|
|
@keyframes distance {
|
|
from, to { offset-distance: 0% }
|
|
}
|
|
#test {
|
|
width: 100px; height: 100px;
|
|
background: blue;
|
|
animation: distance 100s infinite;
|
|
}
|
|
</style>
|
|
<span></span>
|
|
<div id="test"></div>
|