Bug 1504065 - Drop text in the child element inside background-color animated element to avoid fuzziness on Windows 7 GPU. r=birtles

Depends on D13002

Differential Revision: https://phabricator.services.mozilla.com/D13171

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Hiroyuki Ikezoe 2018-11-28 01:43:55 +00:00
Родитель 218b4e7038
Коммит d745109dfb
2 изменённых файлов: 8 добавлений и 4 удалений

Просмотреть файл

@ -6,11 +6,13 @@ div {
height: 100px;
background-color: blue;
}
span {
#child {
background-color: green;
width: 50px;
height: 50px;
}
</style>
<div>
<span>child</span>
<div id="child"></div>
</div>
</html>

Просмотреть файл

@ -9,12 +9,14 @@ Child element in animating element that display property is changed from none
width: 100px;
height: 100px;
}
span {
#child {
background-color: green;
width: 50px;
height: 50px;
}
</style>
<div id="test">
<span>child</span>
<div id="child"></div>
</div>
<script>
var anim = test.animate({ backgroundColor: [ 'blue', 'blue' ] },