Bug 118026

Summary: CSS clip property should not force additional clamping to border box
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, bdakin, simon.fraser, thorton, vitor.roriz
Priority: P2 Keywords: BlinkMergeCandidate
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Ryosuke Niwa
Reported 2013-06-25 21:20:39 PDT
Merge https://chromium.googlesource.com/chromium/blink/+/3f848e4438bc0c6da76778a91761d61fcc3bd2e8 For a composited layer computing its bounds, there is a code path that clamps a layer's cliprect to the corresponding element's border box. However, this is incorrect, since a CSS clip may have valid bounds that include things outside the border box. So, that clamping should only occur if there is an overflow clip.
Attachments
Note You need to log in before you can comment on or make changes to this bug.