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

> Jonas Sicking wrote (on 5/1/09 4:41 AM):
>>
>> Gecko supports the @null:src attribute on<html:style>  elements.

The code for this feature is bogus in the way Anne described.
https://bugzilla.mozilla.org/show_bug.cgi?id=484200

On May 1, 2009, at 12:13, Doug Schepers wrote:
> Correct, we haven't worked out the details, but we do plan to  
> "decommission" @xlink:href, allowing @null:href and/or @null:src in  
> its place.  The only open questions, IIRC, are whether @null:href  
> and @null:src can be used interchangeably, or if @null:href is for  
> "outbound" links and @null:src for "inbound" ones; and when and  
> where exactly to specify this...

Will there be duplicate DOM properties? Will xlink:href take  
precedence to avoid breaking existing content?

Has the new solution been reviewed to ensure that it doesn't introduce  
issues like id/xml:id or lang/xml:lang dual mechanisms?

(id/xml:id is different, because IDness is special, and lang/xml:lang  
is different, because you can't represent xml:lang in text/html. I'm  
not saying that xlink:href/href comes with similar issues, but it  
would be good to make sure ahead of time that it doesn't.)

>>> 2) we add a new element, like<link>, to SVG (I've already shown  
>>> that this
>>> sometimes works when the<link>  is in the XHTML NS [1], but that  
>>> isn't
>>> specified anywhere, and isn't intuitive)

For <link> in SVG namespace, it's important to consider the backwards  
compat story with legacy UAs in the SVG-in-text/html case.

> The <param> element would be used, for example, as a child of the  
> <use> or <animation> elements, where it's referencing other SVG  
> files which can take parameters.  In other words, it would be used  
> like it is in <object>:
>
> <use xlink:href="somefile.svg#someElement">
>  <param name="color" value="cornflowerblue"/>
> </use>

Has the backwards compat story of this one been reviewed for the SVG- 
in-text/html case considering that HTML <param> is a void element?

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/

Received on Monday, 4 May 2009 17:52:39 UTC