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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/infrastructure/common-dom-interfaces/collections/htmlallcollection.html

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/infrastructure/common-dom-interfaces/collections/htmlallcollection.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/infrastructure/common-dom-interfaces/collections/htmlallcollection.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/infrastructure/common-dom-interfaces/collections/htmlallcollection.html
deleted file mode 100644
index cb3b2ad2f5598ec3bdba5f22c4c166500b3ecf26..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/infrastructure/common-dom-interfaces/collections/htmlallcollection.html
+++ /dev/null
@@ -1,47 +0,0 @@
-<!DOCTYPE HTML>
-<html id="root">
-<head>
-<title>HTMLAllCollection Tests</title>
-<link rel="author" title="Dan Druta" href="mailto:dan.druta@att.com"/>
-<link rel="help" href="2.7.2.1 - Common Infrastructure/Common DOM Interfaces/Collections/HTMLAllCollection"/>
-<meta name="flags" content="TOKENS" />
-<meta name="assert" content="TEST ASSERTION"/>
-<script src="../../../../../../resources/testharness.js"></script>
-<script src="../../../../../../resources/testharnessreport.js"></script>
-</head>
-<body id="tags">
-<img src="../../../../images/green.png" name="picture">
-<a name="foo"></a>
-<a name="foo"></a>
-<script>
-test(function(){ assert_equals(document.all.length,14)}, "Test for HTMLAllCollection size");
-
-test(function(){ assert_equals(document.all.item(0).tagName,"HTML")}, "Test lookup by index using ()");
-
-test(function(){ assert_equals(document.all[0].tagName,"HTML")}, "Test lookup by index using []");
-
-test(function(){ assert_equals(document.all.item("picture").nodeName,"IMG")}, "Test lookup IMG by name");
-
-test(function(){ assert_equals(document.all.namedItem("picture").nodeName,"IMG")}, "Test lookup IMG by namedItem ");
-
-test(function(){ assert_equals(document.all("picture").nodeName,"IMG")}, "Test lookup IMG in collection using ()");
-
-test(function(){ assert_equals(document.all["picture"].nodeName,"IMG")}, "Test lookup IMG in collection using []");
-
-test(function(){ assert_equals(document.all.picture.nodeName,"IMG")}, "Test lookup IMG in collection using .");
-
-test(function(){ assert_equals(document.all.tags.id,"tags")}, "Test lookup tags in collection using .");
-
-test(function() {
- assert_equals(document.all["root"], document.documentElement);
-}, "Should find root element too");
-
-test(function() {
- assert_equals(document.all["foo"].length, 2);
-}, "Should find both anchors and produce a list");
-
-test
-</script>
-<div id="log"></div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698