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

Unified Diff: LayoutTests/fast/dom/MicroData/properties-collection-must-be-correct.html

Issue 14028014: Remove MicroData implementation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Also delete all the tests Created 7 years, 8 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/fast/dom/MicroData/properties-collection-must-be-correct.html
diff --git a/LayoutTests/fast/dom/MicroData/properties-collection-must-be-correct.html b/LayoutTests/fast/dom/MicroData/properties-collection-must-be-correct.html
deleted file mode 100644
index 7206dd837c65209be1710f158aaeb7a97c0f0c5f..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/MicroData/properties-collection-must-be-correct.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="../../js/resources/js-test-pre.js"></script>
-<script src="resources/microdata-common.js"></script>
-</head>
-<body>
-<p>This test ensures that properties collection of a Microdata item must be correct.</p>
-<div id="console"></div>
-<script>
-var element = createElement('div', {itemscope: 'itemscope'}, '<div itemprop="foo"></div><div itemprop="bar"><div itemprop="foo"></div></div><div itemprop="baz qux"></div>');
-var propertiesCollection = element.properties;
-var childNodes = element.childNodes;
-
-debug("<br>properties.length must be the total number of properties.");
-shouldBeTrue("propertiesCollection.length == '4'");
-
-debug("<br>properties.item(index) and properties[index] must give each property in tree order'");
-shouldBeTrue("propertiesCollection.item(0) == childNodes[0]");
-shouldBeTrue("propertiesCollection.item(1) == childNodes[1]");
-shouldBeTrue("propertiesCollection.item(2) == childNodes[1].childNodes[0]");
-shouldBeTrue("propertiesCollection.item(3) == childNodes[2]");
-debug('');
-
-shouldBeTrue("propertiesCollection[0] == childNodes[0]");
-shouldBeTrue("propertiesCollection[1] == childNodes[1]");
-shouldBeTrue("propertiesCollection[2] == childNodes[1].childNodes[0]");
-shouldBeTrue("propertiesCollection[3] == childNodes[2]");
-
-debug("properties[index] and properties.item(index) must return undefined for out of range index.");
-shouldBeTrue("propertiesCollection[4] == undefined");
-shouldBeTrue("propertiesCollection.item(4) == undefined");
-
-</script>
-<script src="../../js/resources/js-test-post.js"></script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698