mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 10:15:41 +00:00
c1d6c26906
This gets set to a non-zero value when we have an inactive ContainerLayer ancestor (filter in this case). The current code assumes we'd never call BuildLayer on an image when that happen, but we force the pseudo-active state here because background-position is animated (all properties have a transition). MozReview-Commit-ID: 6pL8EJTNgWy --HG-- extra : rebase_source : 6370fc79d5f47f0b5c4bbe86c0b605b90256b653
21 lines
580 B
HTML
21 lines
580 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<style>
|
|
@keyframes holdBackgroundPosition {
|
|
from,to { background-position-x: 50%; }
|
|
}
|
|
#test {
|
|
height: 100px;
|
|
width: 100px;
|
|
background-repeat: no-repeat;
|
|
background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAMAAADzN3VRAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAZQTFRF/wAAAAAAQaMSAwAAABJJREFUeNpiYBgFo2AwAIAAAwACigABtnCV2AAAAABJRU5ErkJggg==); /* a 25x25 px red box */
|
|
animation: holdBackgroundPosition 100s infinite;
|
|
}
|
|
#wrapper {
|
|
filter: opacity(0.5);
|
|
}
|
|
</style>
|
|
<div id="wrapper">
|
|
<div id="test"></div>
|
|
</div>
|