W3C home > Mailing lists > Public > www-svg@w3.org > October 2008

Re: Notes on implementing non-local URI references and resource documents

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 14 Oct 2008 14:24:44 +0200
To: "Boris Zbarsky" <bzbarsky@mit.edu>, Erik Dahlström <ed@opera.com>
Cc: www-svg@w3.org
Message-ID: <op.ui0krim064w2qv@annevk-t60.oslo.opera.com>

On Tue, 14 Oct 2008 14:00:29 +0200, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> What if it has fill="url(foo.svg#bar)", though?  Per SVG 1.1 that's  
> suddenly a non-local reference, right?  Should that fill be rendered? In  
> Gecko, we decide on local vs non-local reference based on comparing the  
> fully resolved URI against the URI of the document, so we treat this as  
> a local reference and render it.  Of course this has other effects, like  
> making fill="url(#bar)" a non-local reference if the baseURI of the node  
> is different from that of the document.

Actually, the latter is a longstanding bug in Gecko, no?

   https://bugzilla.mozilla.org/show_bug.cgi?id=275689

(Then again, whether that is a bug is disputed.)


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Tuesday, 14 October 2008 12:25:49 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:40 GMT