mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 2b29602d9850 (bug 995519) for suspicion of causing Reftest 20 test failure on a CLOSED TREE
This commit is contained in:
parent
a0e0efbee0
commit
f6a5f99ba1
@ -2436,6 +2436,11 @@ ScrollFrameHelper::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
||||
bool addScrollBars = mIsRoot &&
|
||||
nsLayoutUtils::GetDisplayPort(mOuter->GetContent()) &&
|
||||
!aBuilder->IsForEventDelivery();
|
||||
// For now, don't add them for display root documents, cause we've never
|
||||
// had them there.
|
||||
if (aBuilder->RootReferenceFrame()->PresContext() == mOuter->PresContext()) {
|
||||
addScrollBars = false;
|
||||
}
|
||||
|
||||
if (addScrollBars) {
|
||||
// Add classic scrollbars.
|
||||
|
Loading…
Reference in New Issue
Block a user