Mobile Safari SVG Problem

Add xmlns=”http://www.w3.org/2000/svg” version=”1.1″ to your svg tag. <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/html1/DTD/xhtml1-strict.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en-us”> <head> <title>SVG iPhone Test</title> </head> <body > <svg width=”500″ height=”220″ xmlns=”http://www.w3.org/2000/svg” version=”1.1″> <rect x=”2″ y=”2″ width=”496″ height=”216″ stroke=”#000″ stroke-width=”2px” fill=”transparent”></rect> </svg> </body> </html> The HTTP MIME type being delivered by http://www.invalidpage.com/svg/svgtest.html is “Content-Type: text/html”. HTML inline svg …

Read more