mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 06:05:44 +00:00
Bug 1301356 - Correct output of nsDisplayFilter::PrintEffects & nsDisplayMask::PrintEffects. r=mstange
MozReview-Commit-ID: LNd4OKAwxJ8 --HG-- extra : rebase_source : 2ee2e4fdc82989011a1b326b1aadfb4d51220ecc
This commit is contained in:
parent
658b898375
commit
2cc23811aa
@ -6854,7 +6854,7 @@ nsDisplayMask::PrintEffects(nsACString& aTo)
|
||||
nsSVGClipPathFrame *clipPathFrame = effectProperties.GetClipPathFrame(&isOK);
|
||||
bool first = true;
|
||||
aTo += " effects=(";
|
||||
if (mFrame->StyleEffects()->mOpacity != 1.0f) {
|
||||
if (mFrame->StyleEffects()->mOpacity != 1.0f && mHandleOpacity) {
|
||||
first = false;
|
||||
aTo += nsPrintfCString("opacity(%f)", mFrame->StyleEffects()->mOpacity);
|
||||
}
|
||||
@ -7009,7 +7009,7 @@ nsDisplayFilter::PrintEffects(nsACString& aTo)
|
||||
nsSVGEffects::GetEffectProperties(firstFrame);
|
||||
bool first = true;
|
||||
aTo += " effects=(";
|
||||
if (mFrame->StyleEffects()->mOpacity != 1.0f) {
|
||||
if (mFrame->StyleEffects()->mOpacity != 1.0f && mHandleOpacity) {
|
||||
first = false;
|
||||
aTo += nsPrintfCString("opacity(%f)", mFrame->StyleEffects()->mOpacity);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user