mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 813722. Create layers for opacity:0 elements with animated opacity. r=mattwoodrow
--HG-- extra : rebase_source : 5dbcb7966983f040f340f661dd8a585dc92dae1e
This commit is contained in:
parent
94646e9056
commit
374246c82f
@ -2715,7 +2715,8 @@ already_AddRefed<Layer>
|
||||
nsDisplayOpacity::BuildLayer(nsDisplayListBuilder* aBuilder,
|
||||
LayerManager* aManager,
|
||||
const ContainerParameters& aContainerParameters) {
|
||||
if (mFrame->GetStyleDisplay()->mOpacity == 0) {
|
||||
if (mFrame->GetStyleDisplay()->mOpacity == 0 && mFrame->GetContent() &&
|
||||
!nsLayoutUtils::HasAnimationsForCompositor(mFrame->GetContent(), eCSSProperty_opacity)) {
|
||||
return nullptr;
|
||||
}
|
||||
nsRefPtr<Layer> container = aManager->GetLayerBuilder()->
|
||||
|
Loading…
Reference in New Issue
Block a user