Commit ac5a007d authored by Iulian Moraru's avatar Iulian Moraru
Browse files

Backed out changeset a13beb2f76da (bug 1824490) for causing wp failures on...

Backed out changeset a13beb2f76da (bug 1824490) for causing wp failures on page-name-002-print.html. CLOSED TREE
parent 696a4577
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2856,7 +2856,7 @@ void nsBlockFrame::ReflowDirtyLines(BlockReflowState& aState) {
        while (prevFrame && prevFrame->IsPlaceholderFrame()) {
          prevFrame = prevFrame->GetPrevSibling();
        }
        if (prevFrame && prevFrame->GetEndPageValue() != nextPageName) {
        if (prevFrame && prevFrame->GetStartPageValue() != nextPageName) {
          shouldBreakForPageName = true;
          line->MarkDirty();
        }
+0 −9
Original line number Diff line number Diff line
<!DOCTYPE html>
<html class="reftest-paged">
  <body>
    <div>a</div>
    <div style="break-after: page">b</div>
    <div style="break-after: page">c</div>
    <div>d</div>
  </body>
</html>
+0 −11
Original line number Diff line number Diff line
<!DOCTYPE html>
<html class="reftest-paged">
  <body>
    <div>a</div>
    <div>
      <div>b</div>
      <div style="page: x">c</div>
    </div>
    <div>d</div>
  </body>
</html>
+0 −8
Original line number Diff line number Diff line
<!DOCTYPE html>
<html class="reftest-paged">
  <body>
    <div style="break-after: page">a</div>
    <div style="break-after: page">b</div>
    <div>c</div>
  </body>
</html>
+0 −10
Original line number Diff line number Diff line
<!DOCTYPE html>
<html class="reftest-paged">
  <body>
    <div>
      <div style="page: a">a</div>
      <div>b</div>
    </div>
    <div style="page: a">c</div>
  </body>
</html>
Loading