зеркало из https://github.com/mozilla/pjs.git
Bug 658785 - Don't doubly add the box frame offset when calculating exclude glass regions. r=roc
This commit is contained in:
Родитель
dc0e04323f
Коммит
cf75665ba1
|
@ -1304,7 +1304,7 @@ nsBoxFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
|||
if (GetContent()->IsXUL()) {
|
||||
const nsStyleDisplay* styles = mStyleContext->GetStyleDisplay();
|
||||
if (styles && styles->mAppearance == NS_THEME_WIN_EXCLUDE_GLASS) {
|
||||
nsRect rect = mRect + aBuilder->ToReferenceFrame(this);
|
||||
nsRect rect = mRect + aBuilder->ToReferenceFrame(GetParent());
|
||||
aBuilder->AddExcludedGlassRegion(rect);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче