Bug 120436

Summary: Fix compositing layers in columns
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: New BugsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, esprehn+autocc, glenn, kondapallykalyan, simon.fraser
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch hyatt: review+

Description Simon Fraser (smfr) 2013-08-28 13:54:14 PDT
Fix compositing layers in columns
Comment 1 Simon Fraser (smfr) 2013-08-28 13:58:28 PDT
Created attachment 209920 [details]
Patch
Comment 2 Dave Hyatt 2013-08-28 14:00:03 PDT
Comment on attachment 209920 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=209920&action=review

r=me

> Source/WebCore/rendering/RenderLayer.h:605
> +    enum ColumnOffsetAdjustment { DontAdjustForColumns, AdjustForColumns };
> +    void convertToPixelSnappedLayerCoords(const RenderLayer* ancestorLayer, IntPoint& location, ColumnOffsetAdjustment adjustForColumns = DontAdjustForColumns) const;
> +    void convertToPixelSnappedLayerCoords(const RenderLayer* ancestorLayer, IntRect&, ColumnOffsetAdjustment adjustForColumns = DontAdjustForColumns) const;
> +    void convertToLayerCoords(const RenderLayer* ancestorLayer, LayoutPoint&, ColumnOffsetAdjustment adjustForColumns = DontAdjustForColumns) const;
> +    void convertToLayerCoords(const RenderLayer* ancestorLayer, LayoutRect&, ColumnOffsetAdjustment adjustForColumns = DontAdjustForColumns) const;

I think above these functions would be a good place for a FIXME describing that this is just a hack to get compositing layers to show up in a single column, and that eventually we want them to work when split across columns.
Comment 3 Simon Fraser (smfr) 2013-08-28 15:52:24 PDT
https://trac.webkit.org/r154785

<rdar://problem/14664586>