Summary: | Gradient background does not get repainted when child box is expanded. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | zalan <zalan> | ||||||
Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Major | CC: | allan.jensen, eric, esprehn+autocc, koivisto, ojan.autocc, webkit.review.bot | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
This sounds like it also part the same problem as in bug 113313. The gradient is not only broken because the top is not repainted, but the bottom is also painted wrong (with the full gradient) because partial repaint is not working. (In reply to comment #2) > This sounds like it also part the same problem as in bug 113313. The gradient is not only broken because the top is not repainted, but the bottom is also painted wrong (with the full gradient) because partial repaint is not working. Thanks for the headsup. I'll check, though this test case is fixed simply by issuing repaint for the parent box. Patch is coming up. Created attachment 195898 [details]
Patch
Comment on attachment 195898 [details]
Patch
cool r=me
Comment on attachment 195898 [details] Patch Clearing flags on attachment: 195898 Committed r147303: <http://trac.webkit.org/changeset/147303> All reviewed patches have been landed. Closing bug. |
Created attachment 195872 [details] test case When parent box has gradient background and child box height changes (expand), only expanded area gets invalidated. Gradient looks broken until the next repaint. see attached test case.