зеркало из https://github.com/mozilla/gecko-dev.git
Bug 371864: Background images don't load until scrolled into the viewport. r+sr=roc.
This commit is contained in:
Родитель
f5b91b3a26
Коммит
2a126872b0
|
@ -7476,6 +7476,11 @@ nsCSSFrameConstructor::ConstructFrameInternal( nsFrameConstructorState& aState,
|
|||
{
|
||||
styleContext->GetStyleVisibility();
|
||||
}
|
||||
// Start background loads during frame construction. This is just
|
||||
// a hint; the paint code will do the right thing in any case.
|
||||
{
|
||||
styleContext->GetStyleBackground();
|
||||
}
|
||||
|
||||
nsIFrame* lastChild = frameItems->lastChild;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче