Bug 78293

Summary: Support cross-fade() of generated images (gradients, canvas, etc.)
Product: WebKit Reporter: Tim Horton <thorton>
Component: CSSAssignee: Sam Weinig <sam>
Status: NEW    
Severity: Normal CC: adele, dglazkov, dino, japhet, lea, macpherson, menard, sam, sebastianzartner, simon.fraser, webkit-bug-importer, webkit.review.bot, woodlxf00
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
extremely preliminary patch webkit.review.bot: commit-queue-

Tim Horton
Reported 2012-02-09 16:16:13 PST
Created attachment 126400 [details] extremely preliminary patch We should support things like this: background: -webkit-cross-fade(-webkit-cross-fade(-webkit-canvas(squares), -webkit-canvas(thirdsquares), 0.5), -webkit-canvas(othersquares), 0.5); or this: background: -webkit-cross-fade(-webkit-linear-gradient(red, blue), url("apple.gif"), 0.5); <rdar://problem/10459872>
Attachments
extremely preliminary patch (30.18 KB, patch)
2012-02-09 16:16 PST, Tim Horton
webkit.review.bot: commit-queue-
Tim Horton
Comment 1 2012-02-09 16:18:10 PST
I want to do some additional reorganization of CSSImageValue and co. to make this patch much smaller. Also, it still does some things I don't like. Still, it's a start! Also, it fixes animated-GIF-in-cross-fade, but I'll be splitting that out and attaching the (tiny) patch required to that bug.
WebKit Review Bot
Comment 2 2012-02-09 18:13:09 PST
Comment on attachment 126400 [details] extremely preliminary patch Attachment 126400 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/11486469 New failing tests: css3/images/cross-fade-tiled.html animations/cross-fade-border-image-source.html transitions/cross-fade-border-image.html css3/images/cross-fade-simple.html css3/images/cross-fade-invalidation.html transitions/cross-fade-background-image.html animations/cross-fade-list-style-image.html animations/cross-fade-webkit-mask-image.html css3/images/cross-fade-blending.html css3/images/cross-fade-overflow-position.html animations/cross-fade-webkit-mask-box-image.html animations/cross-fade-background-image.html css3/images/cross-fade-sizing.html
Shane Stephens
Comment 3 2012-02-29 19:28:18 PST
*** Bug 79772 has been marked as a duplicate of this bug. ***
Tim Horton
Comment 4 2013-02-22 19:10:45 PST
*** Bug 90828 has been marked as a duplicate of this bug. ***
Sam Weinig
Comment 5 2022-10-22 10:36:38 PDT
Once https://bugs.webkit.org/show_bug.cgi?id=246594 lands, this should be relatively straightforward to do. Taking this.
Note You need to log in before you can comment on or make changes to this bug.