[Webkit-unassigned] [Bug 120602] New: Interpolate between CSS filter() and cached images

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 2 07:05:29 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=120602

           Summary: Interpolate between CSS filter() and cached images
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: krit at webkit.org
                CC: simon.fraser at apple.com, dino at apple.com,
                    thorton at apple.com


During a discussion with Simon on IRC, he mentioned that he would like to have an interpolation where the first entry is a cached-image and the second is a filter function with the same cached image as input (and the other way around).

As example:

from:
background-image: url(image.png);

to:
background-image: filter(url(image.png), blur(3px));

Right now, it is just possible to interpolate between two CSS images of the same type (as specified).

We should think about it more. Right now we just have url() as a cached or native image. According to the spec, url() should be replaced by image(). Image doesn't make it impossible to determine if the filtered image is the same as the cached image we want to animate to. The problem that I see is that people then will demand filter(gradient(), blur()) to gradient. And when we have that, the filter(cross-fade()) to filter(url()) or even filter(crossfade(url(image1), url(image2), 50%), blur(3px)) to image1.

Nothing is impossible, but we should keep the complexity of that in mind.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list