Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <script src="../../resources/testharness.js"></script> | |
| 2 <script src="../../resources/testharnessreport.js"></script> | |
| 3 <script> | |
| 4 test(function() { | |
| 5 let snippet = '<a><form></form><div></div></a>'; | |
|
kaizhu256
2016/11/03 01:23:35
the test-case can be generalized to
- let snippet
| |
| 6 let templateTag = document.createElement('template'); | |
| 7 templateTag.innerHTML = snippet | |
| 8 assert_equals(templateTag.innerHTML, snippet, "Unexpected reparenting shouldn' t happen."); | |
| 9 }, "form inside template tag should be parsed correctly"); | |
| 10 </script> | |
| OLD | NEW |