Bug 32279

Summary: composited layers are sometimes clipped
Product: WebKit Reporter: Chris Marrin <cmarrin>
Component: Layout and RenderingAssignee: Chris Marrin <cmarrin>
Status: RESOLVED FIXED    
Severity: Normal CC: aroben, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
Attachments:
Description Flags
Patch darin: review+

Description Chris Marrin 2009-12-08 11:20:37 PST
If you open a page with a composited layer taller than the current window and scroll, the layer will be clipped.
Comment 1 Chris Marrin 2010-01-15 17:26:58 PST
Created attachment 46720 [details]
Patch
Comment 2 WebKit Review Bot 2010-01-15 17:32:19 PST
Attachment 46720 [details] did not pass style-queue:

Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1
WebCore/platform/graphics/win/WKCACFLayerRenderer.cpp:231:  Should have a space between // and comment  [whitespace/comments] [4]
WebCore/platform/graphics/win/WKCACFLayerRenderer.cpp:232:  Should have a space between // and comment  [whitespace/comments] [4]
Total errors found: 2
Comment 3 Darin Adler 2010-01-16 11:08:10 PST
Comment on attachment 46720 [details]
Patch

> +    //m_rootLayer->setAnchorPoint(CGPointMake(0, 1));
> +    //CGPoint pos = m_rootLayer->position();

You should remove this commented-out code. Unless it's needed.

While I'm not as familiar with this code as some, and there's no regression testing here, the patch looks fine otherwise. Please remove the commented-out code.

And if you think someone else (Simon) should review this, feel free to change back from review+ to review?.
Comment 4 Chris Marrin 2010-01-18 10:50:47 PST
Got rid of comments as per Darin's comment.

Landed in http://trac.webkit.org/changeset/53415