Re: SVGSVGElement.toDataURL()

On 11/03/2013 15:03 , Dirk Schulze wrote:
> Indeed, this would be nice and was discussed before. I would rather
> not create a 'innerSVG' function but reuse 'innerHTML'.

Definitely.

> It might be
> the wrong naming schema, but authors would expect it to work.

If you're writing a library, you also don't want to have to check which 
language the element belongs before assigning.

> 'innerhHTML' is defined in 'HTMLElement.idl' at the moment. This
> definition would need to move to 'Element.idl'. The HTML WG and
> WEBAPS WG need to agree on that.

Or conversely, SVGElement could inherit from HTMLElement.

-- 
Robin Berjon - http://berjon.com/ - @robinberjon

Received on Monday, 11 March 2013 14:15:56 UTC