зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset e3853bd79051 (bug 1258843)
This commit is contained in:
Родитель
ded9534a6c
Коммит
3f5c176a1f
|
@ -3250,9 +3250,6 @@ SVGTextFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
|||
// painting.
|
||||
return;
|
||||
}
|
||||
if (!IsVisibleForPainting(aBuilder)) {
|
||||
return;
|
||||
}
|
||||
aLists.Content()->AppendNewToTop(
|
||||
new (aBuilder) nsDisplaySVGText(aBuilder, this));
|
||||
}
|
||||
|
|
|
@ -746,7 +746,7 @@ nsSVGOuterSVGFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
|||
nsDisplayListSet set(contentList, contentList, contentList,
|
||||
contentList, contentList, contentList);
|
||||
BuildDisplayListForNonBlockChildren(aBuilder, aDirtyRect, set);
|
||||
} else if (IsVisibleForPainting(aBuilder)) {
|
||||
} else {
|
||||
aLists.Content()->AppendNewToTop(
|
||||
new (aBuilder) nsDisplayOuterSVG(aBuilder, this));
|
||||
}
|
||||
|
|
|
@ -231,8 +231,7 @@ nsSVGPathGeometryFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
|||
const nsRect& aDirtyRect,
|
||||
const nsDisplayListSet& aLists)
|
||||
{
|
||||
if (!static_cast<const nsSVGElement*>(mContent)->HasValidDimensions() ||
|
||||
!IsVisibleForPainting(aBuilder)) {
|
||||
if (!static_cast<const nsSVGElement*>(mContent)->HasValidDimensions()) {
|
||||
return;
|
||||
}
|
||||
aLists.Content()->AppendNewToTop(
|
||||
|
|
Загрузка…
Ссылка в новой задаче