Re: <link> and <param> in SVG (SVG ACTION-2534)

On Fri, May 1, 2009 at 10:23 AM, Anne van Kesteren <annevk@opera.com> wrote:
> On Fri, 01 May 2009 10:41:55 +0200, Jonas Sicking <jonas@sicking.cc> wrote:
>>
>> Gecko supports the @null:src attribute on <html:style> elements. I
>> don't know if this is supported in any other browsers. Would be nice
>> to line it up with this, and would also make it more consistent with
>> things like script@src which I've understood the SVG WG to be
>> investigating?
>
> Are you sure Gecko does that? Last I checked you had to set a src attribute
> for it to function, but the external reference was done via an href
> attribute.

Indeed, that is a bug. Probably indicative of this not being used a whole lot.

> No other browser has this functionality to my knowledge (maybe Mac IE5) and
> I do not think it is needed for HTML given that we have <link
> rel=stylesheet>.

I'm definitely not married to the idea of allowing <style> to link to
external stylesheets.

We should however make sure that <link rel=stylesheet> has the same
feature set as <style>. Currently at least the ability to create
scoped stylesheets seems to be missing.

/ Jonas

Received on Monday, 4 May 2009 07:15:26 UTC