blob: 04c08a62897f3db74faf7ee3ea71e778b1b62d52 [file] [log] [blame]
description(
"This test checks that SVG altGlyph elements create the appropriate DOM object."
);
var altGlyph = document.getElementById("altGlyph");
shouldBe("altGlyph.tagName", '"altGlyph"');
shouldBe("altGlyph.namespaceURI", '"http://www.w3.org/2000/svg"');
shouldBe("altGlyph.format", '"image/svg+xml"');
shouldThrow("altGlyph.format = 'x'");
shouldBe("altGlyph.getStartPositionOfChar(0).x", '0');
successfullyParsed = true;