1 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).
5 Before calling setAttribute("startval", elem.value):
7 PASS elem.getAttribute('startval') is ''
9 After calling setAttribute("startval", elem.value):
11 PASS elem.getAttribute('startval') is ''
13 Before calling setAttribute("style", elem.value):
15 PASS elem.getAttribute('style') is ''
17 After calling setAttribute("style", elem.value):
19 PASS elem.getAttribute('style') is ''
21 PASS successfullyParsed is true