| Index: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/scripting-1/the-template-element/template-element/template-descendant-body.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/scripting-1/the-template-element/template-element/template-descendant-body.html b/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/scripting-1/the-template-element/template-element/template-descendant-body.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..70028c5ecdbb31ac6852c0957251891dba9de47f
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/scripting-1/the-template-element/template-element/template-descendant-body.html
|
| @@ -0,0 +1,26 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<title>HTML Templates: Template element as a descendant of the body element.</title>
|
| +<meta name="author" title="Aleksei Yu. Semenov" href="mailto:a.semenov@unipro.ru">
|
| +<meta name="assert" content="Template element can be a descendant of the body element">
|
| +<link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#template-element">
|
| +<script src="/resources/testharness.js"></script>
|
| +<script src="/resources/testharnessreport.js"></script>
|
| +<script src='/html/resources/common.js'></script>
|
| +</head>
|
| +<body>
|
| +<div id="log"></div>
|
| +<script type="text/javascript">
|
| +
|
| +testInIFrame('../resources/template-contents.html', function(ctx) {
|
| + var doc = ctx.iframes[0].contentDocument;
|
| +
|
| + assert_not_equals(doc.body.querySelector('template'), null,
|
| + 'Template element should be a descendant of the body element');
|
| +
|
| +}, 'Template element as a descendant of the body element. Test loading from a file');
|
| +
|
| +</script>
|
| +</body>
|
| +</html>
|
|
|