mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset a0db951f9f08 (bug 810726) for reftest asserts.
This commit is contained in:
parent
b93e289edd
commit
557dbd0a40
@ -1,8 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<iframe width="1200" height="1024" src="810726-2.html">
|
||||
</body>
|
||||
</html>
|
@ -1,21 +0,0 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
.outer-bound {
|
||||
max-width: 980px;
|
||||
}
|
||||
|
||||
.cols {
|
||||
-moz-column-width: 700px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="outer-bound">
|
||||
<div class="cols">
|
||||
<p>There once was a guy.</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -428,4 +428,3 @@ test-pref(layout.css.flexbox.enabled,true) load 798235-1.html
|
||||
test-pref(layout.css.flexbox.enabled,true) load 799207-1.html
|
||||
asserts(12) test-pref(layout.css.flexbox.enabled,true) load 799207-2.html
|
||||
test-pref(layout.css.flexbox.enabled,true) load 804089-1.xhtml
|
||||
load 810726.html
|
||||
|
@ -735,10 +735,7 @@ nsColumnSetFrame::ReflowChildren(nsHTMLReflowMetrics& aDesiredSize,
|
||||
}
|
||||
|
||||
if (columnCount >= aConfig.mBalanceColCount) {
|
||||
if (contentBottom > aReflowState.mComputedMaxHeight ||
|
||||
contentBottom > aReflowState.ComputedHeight()) {
|
||||
aColData.mShouldRevertToAuto = true;
|
||||
} else {
|
||||
if (contentBottom >= aReflowState.availableHeight) {
|
||||
// No more columns allowed here. Stop.
|
||||
aStatus |= NS_FRAME_REFLOW_NEXTINFLOW;
|
||||
kidNextInFlow->AddStateBits(NS_FRAME_IS_DIRTY);
|
||||
@ -750,6 +747,12 @@ nsColumnSetFrame::ReflowChildren(nsHTMLReflowMetrics& aDesiredSize,
|
||||
}
|
||||
child = nullptr;
|
||||
break;
|
||||
} else if (contentBottom > aReflowState.mComputedMaxHeight ||
|
||||
contentBottom > aReflowState.ComputedHeight()) {
|
||||
aColData.mShouldRevertToAuto = true;
|
||||
} else {
|
||||
// The number of columns required is too high.
|
||||
allFit = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user