Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / HTMLTemplateElement / contentWrappers.html
blob5533d72e8d5df93b711f56497784b9c98adbc110
1 <!DOCTYPE html>
2 <template id="template"><span></span></template>
3 <script src="../../../resources/js-test.js"></script>
4 <script>
5 description('Test HTMLTemplateElement content node wrappers have the correct lifetime.');
7 if (!window.HTMLTemplateElement)
8 testFailed('This test requires ENABLE(TEMPLATE_TAG)');
10 var template = document.getElementById('template');
11 var span = template.content.firstChild;
12 shouldBe('span.tagName', '"SPAN"');
14 span.expando = 'present';
15 shouldBe('span.expando', '"present"');
17 span = undefined;
18 gc();
19 span = template.content.firstChild;
20 shouldBe('span.tagName', '"SPAN"');
21 shouldBe('span.expando', '"present"');
22 </script>