зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1398983 - Remove warning about assuming gecko style system. r=me
MozReview-Commit-ID: BCeG81uxLvS
This commit is contained in:
Родитель
0b357acd98
Коммит
6b2dbc2b82
|
@ -13490,7 +13490,8 @@ nsIDocument::UpdateStyleBackendType()
|
||||||
// Enable stylo for SVG-as-image.
|
// Enable stylo for SVG-as-image.
|
||||||
mStyleBackendType = StyleBackendType::Servo;
|
mStyleBackendType = StyleBackendType::Servo;
|
||||||
} else if (!mDocumentContainer) {
|
} else if (!mDocumentContainer) {
|
||||||
NS_WARNING("stylo: No docshell yet, assuming Gecko style system");
|
// Not docshell, assume Gecko. Various callers can end up setting this
|
||||||
|
// explicitly afterwards to inherit it in various situations.
|
||||||
} else if (!IsXULDocument() && IsContentDocument()) {
|
} else if (!IsXULDocument() && IsContentDocument()) {
|
||||||
// Disable stylo for about: pages other than about:blank, since
|
// Disable stylo for about: pages other than about:blank, since
|
||||||
// they tend to use unsupported selectors like XUL tree pseudos.
|
// they tend to use unsupported selectors like XUL tree pseudos.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче