| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <meta charset=utf-8> | 2 <meta charset=utf-8> |
| 3 <title>MutationObservers: innerHTML, outerHTML mutations</title> | 3 <title>MutationObservers: innerHTML, outerHTML mutations</title> |
| 4 <script src="../../../../resources/testharness.js"></script> | 4 <script src="/resources/testharness.js"></script> |
| 5 <script src="../../../../resources/testharnessreport.js"></script> | 5 <script src="/resources/testharnessreport.js"></script> |
| 6 <script src="mutationobservers.js"></script> | 6 <script src="mutationobservers.js"></script> |
| 7 <h1>MutationObservers: innerHTML, outerHTML mutations</h1> | 7 <h1>MutationObservers: innerHTML, outerHTML mutations</h1> |
| 8 <div id="log"></div> | 8 <div id="log"></div> |
| 9 | 9 |
| 10 <section style="display: none"> | 10 <section style="display: none"> |
| 11 | 11 |
| 12 <p id='n00'>old text</p> | 12 <p id='n00'>old text</p> |
| 13 | 13 |
| 14 <p id='n01'>old text</p> | 14 <p id='n01'>old text</p> |
| 15 | 15 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 runMutationTest(n02, | 56 runMutationTest(n02, |
| 57 {childList:true}, | 57 {childList:true}, |
| 58 [{type: "childList", | 58 [{type: "childList", |
| 59 removedNodes: [n02.firstChild], | 59 removedNodes: [n02.firstChild], |
| 60 addedNodes: function() { | 60 addedNodes: function() { |
| 61 return [n02.firstChild]; | 61 return [n02.firstChild]; |
| 62 }}], | 62 }}], |
| 63 function() { n02.firstChild.outerHTML = "<p>next text</p>"; }, | 63 function() { n02.firstChild.outerHTML = "<p>next text</p>"; }, |
| 64 "outerHTML mutation"); | 64 "outerHTML mutation"); |
| 65 </script> | 65 </script> |
| OLD | NEW |