News for hackers. Stuff that matters.
Re:"Tough. Django produces XHTML." by rabidgnat on Tuesday February 02, 2010 @12:18PM (#1095389)
"I see no good reason why they refuse to do svg in text/html mode"

This probably breaks major assumptions inside the browser engines. Rendering most image types is a one-and-done type deal, just setting up a few calls to libjpeg or libpng, but SVG actually has to be XML-parsed and rendered element by element on page load. To do it in text/html, you'd need to hook together the html parser with the XML parser with the image generator. That's a lot of work to break the rules!

Re:"Tough. Django produces XHTML." by sailormoon on Tuesday February 02, 2010 @02:02PM (#1095710)
Well, good point, but I can't imagine it would be that hard, and they'd have to do it anyway for HTML5, which does indeed support svg inside text/html.

http://www.whatwg.org/specs/web-apps/current-work/#svg-0