Bug 37241

Summary: Avoid painting areas of the background (incl. tiling) which are obscured by solid borders
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: mdelaney7, mitz, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: OS X 10.5   

Simon Fraser (smfr)
Reported 2010-04-07 17:33:11 PDT
In some cases we can fall into image tiling code when drawing backgrounds when we could have avoided this by being smarter about the fact that parts of the background may be obscured by solid borders. E.g.: .checkerboard { background: transparent url("checker.png"); -webkit-background-size: 100% 100%; width: 576px; height: 576px; border: 20px solid rgba(1, 1, 1, 0.5); -webkit-transform: translateZ(0); } where checker.png is a 576x576 image.
Attachments
Simon Fraser (smfr)
Comment 1 2012-02-08 23:47:51 PST
*** Bug 78162 has been marked as a duplicate of this bug. ***
Simon Fraser (smfr)
Comment 2 2012-02-08 23:48:17 PST
Note You need to log in before you can comment on or make changes to this bug.