Re: More on SVG within HTML pages

Robert O'Callahan wrote:
> On Thu, Sep 10, 2009 at 12:44 AM, Shelley Powers 
> < <>> wrote:
>     But in HTML5 served as HTML, we do allow crufty stuff in, such as
>     unquoted attributes. I modified my test case at
>, incorporating crappy
>     markup we would expect from HTML. The SVG is still rendered. I
>     copied and pasted the SVG into a separate file, at
> Needless to say, the
>     crappy markup caused the FF nightly to barf.
> FWIW if you install the Firefox DOM Inspector extension, select the 
> SVG element in its view, and choose "Copy XML" from the context menu I 
> think you'll get correct results.

Tried it out. Very nice.

It also corrects missing end tags, and most other malformed markup. Does 
an excellent job of correcting the XML.

> Rob


Received on Thursday, 10 September 2009 01:30:25 UTC