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