blob: e07f984b7519f23154270cda60e9d039b0ca1c76 [file] [log] [blame]
This test checks fieldset.name attribute.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Read from HTML
PASS fs1.name is "a"
PASS fs1.getAttribute("name") is "a"
fs1.name="b"
PASS fs1.name is "b"
PASS fs1.getAttribute("name") is "b"
fs1.name=1234
PASS fs1.name is "1234"
PASS fs1.getAttribute("name") is "1234"
fs1.name=null
PASS fs1.name is "null"
PASS fs1.getAttribute("name") is "null"
PASS fs1.hasAttribute("name") is true
fs1.name=undefined
PASS fs1.name is "undefined"
PASS fs1.getAttribute("name") is "undefined"
PASS fs1.hasAttribute("name") is true
PASS successfullyParsed is true
TEST COMPLETE