зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset b8eeddf07480 (bug 1437374) for failing builds/worker/workspace/build/tests/reftest/tests/layout/reftests/display-list/1437374-1.html a=backout on a CLOSED TREE
This commit is contained in:
Родитель
73cdb9f334
Коммит
fbd74d8452
|
@ -819,6 +819,10 @@ ProcessFrame(nsIFrame* aFrame, nsDisplayListBuilder& aBuilder,
|
|||
/* aStopAtStackingContextAndDisplayPortAndOOFFrame = */ true,
|
||||
¤tFrame);
|
||||
MOZ_ASSERT(currentFrame);
|
||||
aOverflow.IntersectRect(aOverflow, currentFrame->GetVisualOverflowRectRelativeToSelf());
|
||||
if (aOverflow.IsEmpty()) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (nsLayoutUtils::FrameHasDisplayPort(currentFrame)) {
|
||||
CRR_LOG("Frame belongs to displayport frame %p\n", currentFrame);
|
||||
|
@ -852,13 +856,8 @@ ProcessFrame(nsIFrame* aFrame, nsDisplayListBuilder& aBuilder,
|
|||
} else {
|
||||
// Don't contribute to the root dirty area at all.
|
||||
aOverflow.SetEmpty();
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
aOverflow.IntersectRect(aOverflow, currentFrame->GetVisualOverflowRectRelativeToSelf());
|
||||
}
|
||||
|
||||
if (aOverflow.IsEmpty()) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (currentFrame != aBuilder.RootReferenceFrame() &&
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body>
|
||||
<div style="width:400px; height:500px; border:2px solid black">
|
||||
<div style="height:450px"></div>
|
||||
<div style="height:50px; background:purple"></div>
|
||||
</div>
|
||||
</html>
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html reftest-async-scroll class="reftest-wait reftest-snapshot-all">
|
||||
<body>
|
||||
<div style="width:400px; height:500px; overflow:hidden; border:2px solid black"
|
||||
reftest-displayport-x="0" reftest-displayport-y="0"
|
||||
reftest-displayport-w="800" reftest-displayport-h="2000"
|
||||
reftest-async-scroll-x="0" reftest-async-scroll-y="50">
|
||||
<div style="height:500px"></div>
|
||||
<div style="height:100px; background-color:red" id="scrolled"></div>
|
||||
</div>
|
||||
<script>
|
||||
|
||||
function doTest()
|
||||
{
|
||||
var scrolled = document.getElementById("scrolled");
|
||||
scrolled.style.backgroundColor = "purple";
|
||||
document.documentElement.setAttribute("class", "reftest-snapshot-all");
|
||||
}
|
||||
|
||||
document.addEventListener("MozReftestInvalidate", doTest);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -21,5 +21,4 @@ needs-focus == 1429027-1.html 1429027-1-ref.html
|
|||
== 1432553-1.html 1432553-1-ref.html
|
||||
== 1432553-2.html 1432553-2-ref.html
|
||||
== 1436189-1.html 1436189-1-ref.html
|
||||
== 1437374-1.html 1437374-1-ref.html
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче