| OLD | NEW |
| (Empty) |
| 1 Test the behavior of multiple base elements. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 PASS clean(anchor.href) is 'http://originalbase.com/file' | |
| 7 PASS document.head.appendChild(base), clean(anchor.href) is 'http://domain.com/b
ase/file' | |
| 8 PASS base.href = 'http://domain.com/base-changed/', clean(anchor.href) is 'http:
//domain.com/base-changed/file' | |
| 9 PASS document.head.removeChild(base), clean(anchor.href) is 'http://originalbase
.com/file' | |
| 10 PASS document.head.appendChild(base), document.head.appendChild(base2), clean(an
chor.href) is 'http://domain.com/base/file' | |
| 11 PASS base.removeAttribute('href'), clean(anchor.href) is 'http://domain.com/base
2/file' | |
| 12 PASS document.head.appendChild(base3), clean(anchor.href) is 'http://domain.com/
base2/file' | |
| 13 PASS successfullyParsed is true | |
| 14 | |
| 15 TEST COMPLETE | |
| 16 | |
| OLD | NEW |