blob: 856efeae4ead20255d49c83072fdb35480f8e180 [file] [log] [blame]
Attr empty value tests Bug 16923
In Opera, Firefox and IE, when an Attr's value is an empty string, the Attr node won't have any childNodes. The following 12 tests will see if this is true for WebKit for both parsed and dynamically-created Attr nodes. The tests use multiple methods of changing the Attr's value and even test reverting from a non-empty value to an empty one to check that all childNodes were removed. Some of the tests make use of .textContent, so this test is not compatible with IE. Opera and Firefox both completely pass this test.
SubTest 1 = PASS
SubTest 2 = PASS
SubTest 3 = PASS
SubTest 4 = PASS
SubTest 5 = PASS
SubTest 6 = PASS
SubTest 7 = PASS
SubTest 8 = PASS
SubTest 9 = PASS
SubTest 10 = PASS
SubTest 11 = PASS
SubTest 12 = PASS
Complete Test = PASS