OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <meta charset=utf-8> | 2 <meta charset=utf-8> |
3 <title>MutationObservers: attributes mutations</title> | 3 <title>MutationObservers: attributes 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: attributes mutations</h1> | 7 <h1>MutationObservers: attributes mutations</h1> |
8 <div id="log"></div> | 8 <div id="log"></div> |
9 | 9 |
10 <section style="display: none"> | 10 <section style="display: none"> |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 "attributeFilter alone Element.id/Element.className: multiple
filter update mutation"); | 397 "attributeFilter alone Element.id/Element.className: multiple
filter update mutation"); |
398 | 398 |
399 var n3000 = document.getElementById('n3000'); | 399 var n3000 = document.getElementById('n3000'); |
400 runMutationTest(n3000, | 400 runMutationTest(n3000, |
401 {"subtree": true, "childList":false, "attributes" : true}, | 401 {"subtree": true, "childList":false, "attributes" : true}, |
402 [{type: "attributes", attributeName: "id" }], | 402 [{type: "attributes", attributeName: "id" }], |
403 function() { n3000.textContent = "CHANGED"; n3000.id = "abc";}
, | 403 function() { n3000.textContent = "CHANGED"; n3000.id = "abc";}
, |
404 "childList false: no childList mutation"); | 404 "childList false: no childList mutation"); |
405 | 405 |
406 </script> | 406 </script> |
OLD | NEW |