mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Call CheckInvalidateSizeChange for nsHTMLScrollFrames. (Bug 438537) r=roc
This commit is contained in:
parent
5de5dfea69
commit
e6705a9c6d
@ -882,6 +882,9 @@ nsHTMLScrollFrame::Reflow(nsPresContext* aPresContext,
|
||||
state.mComputedBorder.TopBottom();
|
||||
|
||||
aDesiredSize.mOverflowArea = nsRect(0, 0, aDesiredSize.width, aDesiredSize.height);
|
||||
|
||||
CheckInvalidateSizeChange(aDesiredSize);
|
||||
|
||||
FinishAndStoreOverflow(&aDesiredSize);
|
||||
|
||||
if (!InInitialReflow() && !mInner.mHadNonInitialReflow) {
|
||||
|
10
layout/reftests/bugs/438537-1-ref.html
Normal file
10
layout/reftests/bugs/438537-1-ref.html
Normal file
@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Testcase, bug 438537</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="height:40px;border:solid 2px black;-moz-border-radius: 8px;overflow:hidden">
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
18
layout/reftests/bugs/438537-1.html
Normal file
18
layout/reftests/bugs/438537-1.html
Normal file
@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>Testcase, bug 438537</title>
|
||||
<script>
|
||||
window.addEventListener("MozReftestInvalidate",
|
||||
function() {
|
||||
var div = document.getElementById("div");
|
||||
div.style.height = "40px";
|
||||
document.documentElement.className = "";
|
||||
}, false);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="div" style="height:20px;border:solid 2px black;-moz-border-radius: 8px;overflow:hidden">
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
12
layout/reftests/bugs/526463-1-ref.html
Normal file
12
layout/reftests/bugs/526463-1-ref.html
Normal file
@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Testcase, bug 526463</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="-moz-border-radius: 50px;overflow:hidden;background:gold">
|
||||
outer div
|
||||
<div>inner div</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
20
layout/reftests/bugs/526463-1.html
Normal file
20
layout/reftests/bugs/526463-1.html
Normal file
@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>Testcase, bug 526463</title>
|
||||
<script>
|
||||
window.addEventListener("MozReftestInvalidate",
|
||||
function() {
|
||||
var div = document.getElementById("div");
|
||||
div.style.display = "";
|
||||
document.documentElement.className = "";
|
||||
}, false);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div style="-moz-border-radius: 50px;overflow:hidden;background:gold">
|
||||
outer div
|
||||
<div id="div" style="display:none">inner div</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -1059,6 +1059,7 @@ fails == 428810-3e-rtl-insets.html 428810-empty-rtl-insets-ref.html # bug 179596
|
||||
== 431341-2.html 431341-2-ref.html
|
||||
== 431520-1.html 431520-1-ref.html
|
||||
== 431948-1.html 431948-1-ref.html
|
||||
== 438537-1.html 438537-1-ref.html
|
||||
== 440112.html 440112-ref.html
|
||||
== 433640-1.html 433640-1-ref.html
|
||||
== 433700.html 433700-ref.html
|
||||
@ -1340,6 +1341,7 @@ fails-if(MOZ_WIDGET_TOOLKIT!="cocoa") == 488692-1.html 488692-1-ref.html # needs
|
||||
== 523096-1.html 523096-1-ref.html
|
||||
== 523468-1.html 523468-1-ref.html
|
||||
== 524175-1.html 524175-1-ref.html
|
||||
== 526463-1.html 526463-1-ref.html
|
||||
== 527464-1.html 527464-ref.html
|
||||
== 528038-1a.html 528038-1-ref.html
|
||||
== 528038-1b.html 528038-1-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user