- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Sat, 26 May 2012 08:09:14 -0700
- To: Stephen White <senorblanco@chromium.org>
- Cc: "public-fx@w3.org" <public-fx@w3.org>
On Fri, May 25, 2012 at 8:34 AM, Stephen White <senorblanco@chromium.org> wrote: > A question about the url() syntax for CSS Filter Effects: Should SVG nodes > in an external file referenced by url() be added to the DOM? Ie., should it > be possible to find them by ID from JavaScript? > > For example, the Firefox implementation of this feature seems to work for > SVG nodes contained in the same file (since they're already in the DOM at > load time, getElementById() works), but not for externally-referenced files. > The filter is applied, but getElementById() returns NULL, even for the > filter node whose ID was used as the fragment identifier in the URL. > > Is this the intended behaviour? Yes, this is intended behavior. They're not included into the document, they're merely referenced. ~TJ
Received on Saturday, 26 May 2012 15:10:04 UTC