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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html

Issue 2468053002: Import wpt@9fcccf38b6be00f71ffa6bd6e29c5aa1ef25ee8c (Closed)
Patch Set: Skip cssom and svg/shapes, remove unwanted baseline Created 4 years, 1 month 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: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html b/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html
index 8027fbb919617ba9c118adfcd8a250544441fc80..0c60c10738d8eaba9687e6ab0fabeea91aee9a87 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html
@@ -14,7 +14,6 @@
<div id="log"></div>
<script type="text/javascript">
-
test(function() {
var doc1 = newHTMLDocument();
var template = doc1.createElement('template');
@@ -35,7 +34,6 @@ test(function() {
}, 'Changing of template element\'s node document. ' +
'Test that ownerDocument of an empty template and its content changes');
-
test(function() {
var doc1 = newHTMLDocument();
doc1.body.innerHTML = '<template id="tmpl"><div>Div content</div> And some more text</template>';
@@ -63,7 +61,6 @@ test(function() {
}, 'Changing of template element\'s node document. ' +
'Test that ownerDocument of a not empty template and its content changes');
-
test(function() {
var doc1 = newHTMLDocument();
doc1.body.innerHTML = ''
@@ -109,7 +106,6 @@ test(function() {
}, 'Changing of template element\'s node document. ' +
'Test that ownerDocument of nested template and its content changes');
-
testInIFrame('../resources/template-contents.html', function(context) {
var doc1 = context.iframes[0].contentDocument;
@@ -131,7 +127,6 @@ testInIFrame('../resources/template-contents.html', function(context) {
}, 'Changing of template element\'s node document. ' +
'Test document loaded from a file');
-
testInIFrame('../resources/template-contents.html', function(context) {
var doc1 = context.iframes[0].contentDocument;
@@ -161,7 +156,6 @@ testInIFrame('../resources/template-contents.html', function(context) {
}, 'Changing of template element\'s node document. ' +
'Adobt template element into a document that has a browsing context');
-
testInIFrame('../resources/template-contents.html', function(context) {
var doc1 = context.iframes[0].contentDocument;
@@ -173,7 +167,6 @@ testInIFrame('../resources/template-contents.html', function(context) {
doc2.body.appendChild(template);
-
assert_not_equals(template.ownerDocument, doc1,
'Template node owner document should be changed');
assert_not_equals(template.content.ownerDocument, templateContentOwner,

Powered by Google App Engine
This is Rietveld 408576698