blob: 547c552065e411a655c0a24ea7abb6b9c40764ae [file] [log] [blame]
This test checks that the id property on an SVGElement reflects the corresponding attribute.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS g.id is ""
PASS g.id is "abc"
PASS g.getAttribute('id') is "def"
PASS tspan.id is ""
PASS tspan.id is "abc"
PASS tspan.getAttribute('id') is "def"
PASS foreignObject.id is ""
PASS foreignObject.id is "abc"
PASS foreignObject.getAttribute('id') is "def"
PASS successfullyParsed is true
TEST COMPLETE