Bug 1820280 - Be consistent for which URIs we expose chrome rules. r=dshin
Differential Revision: https://phabricator.services.mozilla.com/D171640
This commit is contained in:
@@ -2716,7 +2716,7 @@ void nsCSSFrameConstructor::SetUpDocElementContainingBlock(
|
||||
if (isXUL) {
|
||||
return false;
|
||||
}
|
||||
if (aDocElement->OwnerDoc()->IsDocumentURISchemeChrome() &&
|
||||
if (aDocElement->OwnerDoc()->ChromeRulesEnabled() &&
|
||||
aDocElement->AsElement()->AttrValueIs(
|
||||
kNameSpaceID_None, nsGkAtoms::scrolling, nsGkAtoms::_false,
|
||||
eCaseMatters)) {
|
||||
|
||||
Reference in New Issue
Block a user