Backed out changeset 62050554681e (bug 1688004) for causing failure on test_disable_scroll_frame_plain.html. CLOSED TREE

This commit is contained in:
Butkovits Atila
2021-01-22 22:57:33 +02:00
parent 97b6403847
commit 6b679b873e
6 changed files with 75 additions and 106 deletions

View File

@@ -2565,7 +2565,7 @@ void nsCSSFrameConstructor::SetUpDocElementContainingBlock(
isScrollable = presContext->HasPaginatedScrolling();
} else if (isXUL) {
isScrollable = false;
} else if (aDocElement->OwnerDoc()->AllowXULXBL() &&
} else if (nsContentUtils::IsInChromeDocshell(aDocElement->OwnerDoc()) &&
aDocElement->AsElement()->AttrValueIs(
kNameSpaceID_None, nsGkAtoms::scrolling, nsGkAtoms::_false,
eCaseMatters)) {