Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-template-element/template-element/template-descendant-frameset.html

Issue 1305983002: web-platform-tests: Skip tests for <template>. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-template-element/template-element/template-descendant-frameset.html
diff --git a/LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-template-element/template-element/template-descendant-frameset.html b/LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-template-element/template-element/template-descendant-frameset.html
deleted file mode 100644
index 1ffd7eb337a1697c24259b66cb97dc8897b91fed..0000000000000000000000000000000000000000
--- a/LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-template-element/template-element/template-descendant-frameset.html
+++ /dev/null
@@ -1,63 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<title>HTML Templates: Template element as a descendant of the frameset 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 frameset 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>
-<link rel="stylesheet" href="../../../../../../../resources/testharness.css">
-</head>
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-testInIFrame('../resources/template-descendant-frameset.html', function(context) {
- var doc = context.iframes[0].contentDocument;
-
- var frameset = doc.querySelector('frameset');
-
- assert_not_equals(frameset.querySelector('template'), null,
- 'Template element should be a descendant of the frameset element');
-
-}, 'Template element as a descendant of the frameset element. Test loading from a file');
-
-
-testInIFrame('../resources/template-descendant-frameset.html', function(context) {
- var doc = context.iframes[0].contentDocument;
-
- var frameset = doc.querySelector('frameset');
-
- frameset.innerHTML = '';
- assert_equals(doc.querySelector('template'), null,
- 'Initial conditions are not satisfied');
-
- frameset.innerHTML = '<template>some text</template>';
-
- assert_not_equals(frameset.querySelector('template'), null,
- 'Template element should be a descendant of the frameset element');
-
-}, 'Template element as a descendant of the frameset element. '
- + 'Test template element is assigned to frameset\'s innerHTML)');
-
-
-testInIFrame('../resources/template-descendant-frameset.html', function(context) {
- var doc = context.iframes[0].contentDocument;
-
- var frameset = doc.querySelector('frameset');
-
- var template = doc.createElement('template');
- frameset.appendChild(template);
-
- assert_equals(frameset.querySelectorAll('template').length, 2,
- 'Template element should be a descendant of the frameset element');
-
-}, 'Template element as a descendant of the frameset element. '
- + 'Test template element appended to frameset by appendChild()');
-
-
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698