[webkit-dev] Delaying Applying CSS Effects
Dirk Schulze
krit at webkit.org
Tue Jul 24 16:43:46 PDT 2012
In SVG we have SVGResourcesCache which takes care of that.
Greetings,
Dirk
On Jul 24, 2012, at 3:56 PM, Dean Jackson wrote:
>
> On 25/07/2012, at 6:09 AM, Keyar Hood <keyar at chromium.org> wrote:
>
>> I am working on https://bugs.webkit.org/show_bug.cgi?id=90405
>>
>> The problem is that when doing SVG filters in CSS using URL references, if the target SVG filter is after the element that the filter is to be applied to (the filtered element), then the filter will not be applied.
>>
>> Looking at the code, a getElementByID() call is made when looking for the target SVG filter. However, this does not work when the target SVG filter is after the filtered element. I believe this is because the DOM element for the target SVG filter does not exist yet.
>>
>> I am wondering if there is some way to delay resolving these CSS effects until after the DOM has finished loading.
>
> Your analysis sounds right. I think we'll have to do exactly that: delay calling buildFilterEffectRenderer until the document has loaded.
>
> Dean
>
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo/webkit-dev
More information about the webkit-dev
mailing list