| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script src='../../resources/testharness.js'></script> |
| 3 <script src='../../resources/testharnessreport.js'></script> |
| 4 <div id="host">XXX</div> |
| 5 <script> |
| 6 test(() => { |
| 7 document.body.offsetTop; |
| 8 var root = host.attachShadow({mode:"open"}); |
| 9 root.innerHTML = "<slot></slot>"; |
| 10 host.firstChild.data = " "; |
| 11 assert_true(true, 'This test must run without crash.'); |
| 12 }, 'Setting CharacterData.data while distribution is dirty should not cause a cr
ash (crbug.com/673967).' ); |
| 13 </script> |
| OLD | NEW |