[webkit-dev] Delaying Applying CSS Effects

Keyar Hood keyar at chromium.org
Tue Jul 24 13:09:36 PDT 2012

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.


Keyar Hood
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120724/7f238fd9/attachment.html>

More information about the webkit-dev mailing list