Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / HTMLTemplateElement / inertContents.html
blob3f0302a286d41a1f31f60c34e5d747cfe11729a5
1 <!DOCTYPE html>
2 <body>
3 <script src="../../../resources/js-test.js"></script>
4 <script>
5 var testVal = 'script has not run';
6 </script>
7 <!-- FIXME: Add non-flaky test for <img> tags -->
8 <template><script>window.testVal = 'script has run';</script></template>
9 <script>
10 description('The test asserts that elements within template contents are "inert", e.g. script does not run.');
11 shouldBeEqualToString('testVal', 'script has not run');
12 var templateContent = document.querySelector('template').content;
13 document.body.appendChild(templateContent);
14 shouldBeEqualToString('testVal', 'script has run');
15 </script>
16 </body>