Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
index 15fa2e07ca658736df4a6257d6befc6bdf59c775..59aacd4e46ad882f3e129ee73bc997c68c949b6c 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
@@ -4404,7 +4404,10 @@ bool LayoutBox::hasUnsplittableScrollingOverflow() const |
bool LayoutBox::isUnsplittableForPagination() const |
{ |
- return isReplaced() || hasUnsplittableScrollingOverflow() || (parent() && isWritingModeRoot()); |
+ return isReplaced() |
+ || hasUnsplittableScrollingOverflow() |
+ || (parent() && isWritingModeRoot()) |
+ || (isOutOfFlowPositioned() && style()->position() == FixedPosition); |
} |
LayoutUnit LayoutBox::lineHeight(bool /*firstLine*/, LineDirectionMode direction, LinePositionMode /*linePositionMode*/) const |