зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
218b4e7038
Коммит
d745109dfb
|
@ -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' ] },
|
||||
|
|
Загрузка…
Ссылка в новой задаче