OLD | NEW |
(Empty) | |
| 1 Updating value of replaced attribute node |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS replaced = element.setAttributeNode(attr); replaced.name is "STYLE" |
| 7 PASS replaced.value is "background-color: red" |
| 8 PASS attr.name is "STYLE" |
| 9 PASS attr.value is "" |
| 10 PASS element.getAttribute('style') is "" |
| 11 PASS element.getAttribute('StyLE') is "" |
| 12 PASS attr.value = 'background-color: green'; attr.value is "background-color: gr
een" |
| 13 PASS element.getAttribute('stylE') is "background-color: green" |
| 14 PASS successfullyParsed is true |
| 15 |
| 16 TEST COMPLETE |
| 17 |
| 18 |
OLD | NEW |