зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 0b20a0fd86ff (bug 1308876)
This commit is contained in:
Родитель
856f7d0a63
Коммит
209080d74e
|
@ -4716,7 +4716,6 @@ nsBlockFrame::PlaceLine(BlockReflowInput& aState,
|
|||
aState.mReflowStatus.SetInlineLineBreakBeforeAndReset();
|
||||
// Reflow the line again when we reflow at our new position.
|
||||
aLine->MarkDirty();
|
||||
*aKeepReflowGoing = false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -4728,7 +4727,6 @@ nsBlockFrame::PlaceLine(BlockReflowInput& aState,
|
|||
if (ShouldAvoidBreakInside(aState.mReflowInput)) {
|
||||
// All our content doesn't fit, start on the next page.
|
||||
aState.mReflowStatus.SetInlineLineBreakBeforeAndReset();
|
||||
*aKeepReflowGoing = false;
|
||||
} else {
|
||||
// Push aLine and all of its children and anything else that
|
||||
// follows to our next-in-flow.
|
||||
|
@ -4737,10 +4735,6 @@ nsBlockFrame::PlaceLine(BlockReflowInput& aState,
|
|||
return true;
|
||||
}
|
||||
|
||||
// Note that any early return before this update of aState.mBCoord
|
||||
// must either (a) return false or (b) set aKeepReflowGoing to false.
|
||||
// Otherwise we'll keep reflowing later lines at an incorrect
|
||||
// position, and we might not come back and clean up the damage later.
|
||||
aState.mBCoord = newBCoord;
|
||||
|
||||
// Add the already placed current-line floats to the line
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" dir="ltr">
|
||||
<meta charset="UTF-8"/>
|
||||
<title>Wikipedia References Multicol Bug</title>
|
||||
|
||||
<style>
|
||||
html { overflow: hidden }
|
||||
div { width: 15em; margin-right: 2em; float: left; }
|
||||
p { margin: 0 }
|
||||
</style>
|
||||
|
||||
<div>
|
||||
<p>abcdefghijkl0000000000 abcdefghijkl1111111111 abcdefghijkl2222222222</p>
|
||||
<p>abcdefghijkl0000000000 abcdefghijkl1111111111 abcdefghijkl2222222222 abcdefghijkl3333333333</p>
|
||||
<p>abcdefghijkl0000000000 abcdefghijkl1111111111 abcdefghijkl2222222222</p>
|
||||
</div>
|
||||
<div>
|
||||
<p>abcdefghijkl0000000000 abcdefghijkl1111111111 abcdefghijkl2222222222 abcdefghijkl3333333333</p>
|
||||
<p>abcdefghijkl0000000000 abcdefghijkl1111111111 abcdefghijkl2222222222</p>
|
||||
<p>abcdefghijkl0000000000 abcdefghijkl1111111111</p>
|
||||
</div>
|
|
@ -1,19 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" dir="ltr">
|
||||
<meta charset="UTF-8"/>
|
||||
<title>Wikipedia References Multicol Bug</title>
|
||||
|
||||
<style>
|
||||
html { overflow: hidden }
|
||||
div { width: 32em; column-count: 2; column-gap: 2em; }
|
||||
p { page-break-inside:avoid; margin: 0; }
|
||||
</style>
|
||||
|
||||
<div>
|
||||
<p>abcdefghijkl0000000000 abcdefghijkl1111111111 abcdefghijkl2222222222</p>
|
||||
<p>abcdefghijkl0000000000 abcdefghijkl1111111111 abcdefghijkl2222222222 abcdefghijkl3333333333</p>
|
||||
<p>abcdefghijkl0000000000 abcdefghijkl1111111111 abcdefghijkl2222222222</p>
|
||||
<p>abcdefghijkl0000000000 abcdefghijkl1111111111 abcdefghijkl2222222222 abcdefghijkl3333333333</p>
|
||||
<p>abcdefghijkl0000000000 abcdefghijkl1111111111 abcdefghijkl2222222222</p>
|
||||
<p>abcdefghijkl0000000000 abcdefghijkl1111111111</p>
|
||||
</div>
|
|
@ -38,4 +38,3 @@ fuzzy-if(browserIsRemote&&winWidget,140,276) == fieldset-columns-001.html fields
|
|||
== dynamic-change-with-overflow-1.html dynamic-change-with-overflow-1-ref.html
|
||||
== dynamic-text-indent-1.html dynamic-text-indent-1-ref.html
|
||||
== dynamic-text-indent-2.html dynamic-text-indent-2-ref.html
|
||||
== break-avoid-line-position-1.html break-avoid-line-position-1-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче