Correct mime type on svgutils_test.html. Add test for svgedit.utilities.bboxToObj()

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1859 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Jeff Schiller
2010-11-08 18:10:06 +00:00
parent f03a503d9a
commit 3a76f5e4d6
2 changed files with 21 additions and 9 deletions

View File

@@ -241,15 +241,6 @@
equal(math.namespaceURI, "http://www.w3.org/1998/Math/MathML", "Preserved MathML namespace");
});
test("Test escaping XML entities", function() {
expect(3);
equal(svgCanvas.Utils.toXml("<"), "&lt;", "Escaped < properly");
equal(svgCanvas.Utils.toXml(">"), "&gt;", "Escaped > properly");
equal(svgCanvas.Utils.toXml("&"), "&amp;", "Escaped & properly");
// TODO: what about &quot; and &apos; ?
});
test("Test importing SVG into existing drawing", function() {
expect(3);