We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 918fc8d commit 3dc6752Copy full SHA for 3dc6752
1 file changed
Source/HtmlRenderer/Core/Dom/CssBox.cs
@@ -700,9 +700,7 @@ protected virtual async Task PerformLayoutImpAsync(RGraphics g)
700
{
701
this.BreakPage(true);
702
}
703
- else if (this.PageBreakInside == CssConstants.Avoid
704
- && ActualHeight + Location.Y > HtmlContainer.PageSize.Height
705
- && prevSibling != null)
+ else if (this.PageBreakInside == CssConstants.Avoid && prevSibling != null)
706
707
// handle page break avoiding.
708
var pageLocationY = Location.Y % HtmlContainer.PageSize.Height;
0 commit comments