зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1169881 - Recompute image visibility when display port margins change. r=tn
This commit is contained in:
Родитель
6d33a9a76e
Коммит
115caea9d3
|
@ -1110,6 +1110,10 @@ nsLayoutUtils::SetDisplayPortMargins(nsIContent* aContent,
|
|||
}
|
||||
}
|
||||
|
||||
// Display port margins changing means that the set of visible images may
|
||||
// have drastically changed. Schedule an update.
|
||||
aPresShell->ScheduleImageVisibilityUpdate();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче