Bug 121041

Summary: Prevent overflow of width/height of layout overflow rectangle which can cause scroll bar to misfunction
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin, commit-queue, dino, hyatt, simon.fraser
Priority: P2 Keywords: BlinkMergeCandidate
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Just adds the test none

Description Ryosuke Niwa 2013-09-09 13:31:19 PDT
Merge https://chromium.googlesource.com/chromium/blink/+/d050f9be579d02e40c8924b4153376bc32ffba1a

When a child element is positioned very far away the width/height of layout overflow rectangle may overflow. The patch detects such cases in RenderOverflow::addLayoutOverflow and shift the top/left edges of the rectangle to avoid overflow.
Comment 1 Ryosuke Niwa 2013-09-09 14:07:58 PDT
Created attachment 211084 [details]
Just adds the test

I couldn't make the test to fail. We can just add the test for now and merge the code change later if the test started failing.
Comment 2 WebKit Commit Bot 2013-09-09 15:35:52 PDT
Comment on attachment 211084 [details]
Just adds the test

Clearing flags on attachment: 211084

Committed r155394: <http://trac.webkit.org/changeset/155394>
Comment 3 WebKit Commit Bot 2013-09-09 15:35:54 PDT
All reviewed patches have been landed.  Closing bug.