Bug 121041 - Prevent overflow of width/height of layout overflow rectangle which can cause scroll bar to misfunction
Summary: Prevent overflow of width/height of layout overflow rectangle which can cause...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: BlinkMergeCandidate
Depends on:
Blocks:
 
Reported: 2013-09-09 13:31 PDT by Ryosuke Niwa
Modified: 2013-09-09 15:35 PDT (History)
5 users (show)

See Also:


Attachments
Just adds the test (2.76 KB, patch)
2013-09-09 14:07 PDT, Ryosuke Niwa
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.