Re: [webkit-dev] Delaying Applying CSS Effects

2012-07-27 Thread Keyar Hood
I think I have been following your suggestions Niko. I modified SVGDocumentExtensions::addPendingResource and related functions to accept any render object as well as the code paths involved with these functions. This implicitly allowed RenderSVGResourceContainer::registerResource to handle CSS

Re: [webkit-dev] Delaying Applying CSS Effects

2012-07-25 Thread Keyar Hood
For the SVGResoruceCache route, how would I specify that some element depends on another element with id x, where x does not exist in the DOM yet? I have noticed SVGDocumentExtensions::addPendingResource which sounds like what I want, but it only excepts SVGStyleElements. On Tue, Jul 24, 2012

[webkit-dev] Delaying Applying CSS Effects

2012-07-24 Thread Keyar Hood
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

Re: [webkit-dev] Delaying Applying CSS Effects

2012-07-24 Thread Dean Jackson
On 25/07/2012, at 6:09 AM, Keyar Hood ke...@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

Re: [webkit-dev] Delaying Applying CSS Effects

2012-07-24 Thread Dirk Schulze
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 ke...@chromium.org wrote: I am working on https://bugs.webkit.org/show_bug.cgi?id=90405 The problem is that when doing SVG