зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1350463. Consider visibility: hidden frames to be not visible in nsIFrame::UpdateVisibilitySynchronously to match PresShell::MarkFramesInSubtreeApproximatelyVisible. r=mats
This commit is contained in:
Родитель
d040cb9cea
Коммит
b211ea35d7
|
@ -1726,11 +1726,11 @@ nsIFrame::UpdateVisibilitySynchronously()
|
|||
return;
|
||||
}
|
||||
|
||||
bool visible = true;
|
||||
bool visible = StyleVisibility()->IsVisible();
|
||||
nsIFrame* f = GetParent();
|
||||
nsRect rect = GetRectRelativeToSelf();
|
||||
nsIFrame* rectFrame = this;
|
||||
while (f) {
|
||||
while (f && visible) {
|
||||
nsIScrollableFrame* sf = do_QueryFrame(f);
|
||||
if (sf) {
|
||||
nsRect transformedRect =
|
||||
|
|
Загрузка…
Ссылка в новой задаче