blob: 0b6d2b9bfb7273debee953e57ce7a01d615d604e [file] [log] [blame]
This test checks that an attribute is not removed when set to the initial value of an <input> tag using setAttribute(). If the test passes, you will see a list of PASS lines below, followed by TEST COMPLETE. See Bugzilla Bug 4059 Some values used with setAttribute() cause the attribute to be removed (null strings vs. empty strings).
PASS elem.value is ''
Before calling setAttribute("startval", elem.value):
PASS elem.getAttribute('startval') is ''
After calling setAttribute("startval", elem.value):
PASS elem.getAttribute('startval') is ''
Before calling setAttribute("style", elem.value):
PASS elem.getAttribute('style') is ''
After calling setAttribute("style", elem.value):
PASS elem.getAttribute('style') is ''
PASS successfullyParsed is true
TEST COMPLETE