| Index: third_party/WebKit/Source/core/paint/PaintLayerPainter.h
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayerPainter.h b/third_party/WebKit/Source/core/paint/PaintLayerPainter.h
|
| index 3e9f3494a226e09c42c396330d45fc9bcf672d08..2214bc5be536557651f1e18e8ff84932f1301141 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.h
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.h
|
| @@ -56,7 +56,15 @@ class CORE_EXPORT PaintLayerPainter {
|
| private:
|
| enum ClipState { HasNotClipped, HasClipped };
|
|
|
| - bool collectPaintFragmentsForPaginatedFixedPosition(
|
| + inline bool isFixedPositionObjectInPagedMedia();
|
| +
|
| + // "For paged media, boxes with fixed positions are repeated on every page."
|
| + // https://www.w3.org/TR/2011/REC-CSS2-20110607/visuren.html#fixed-positioning
|
| + // Repeats singleFragmentIgnoredPagination of the fixed-position object in
|
| + // each page, with paginationOffset and layerBounds adjusted for each page.
|
| + // TODO(wangxianzhu): Fold this into PaintLayer::collectFragments().
|
| + void repeatFixedPositionObjectInPages(
|
| + const PaintLayerFragment& singleFragmentIgnoredPagination,
|
| const PaintLayerPaintingInfo&,
|
| PaintLayerFragments&);
|
|
|
|
|