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

Unified Diff: LayoutTests/fast/dom/MicroData/item-with-itemprop-attr.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/item-with-itemprop-attr.html
diff --git a/LayoutTests/fast/dom/MicroData/item-with-itemprop-attr.html b/LayoutTests/fast/dom/MicroData/item-with-itemprop-attr.html
deleted file mode 100644
index 27b36eb81265b950ea5880f0155b4e0f351a767d..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/MicroData/item-with-itemprop-attr.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<html>
-<head>
-<script src="../../js/resources/js-test-pre.js"></script>
-<script src="resources/microdata-common.js"></script>
-</head>
-<body>
-<script>
-description("Test to ensure that item with itemprop attribute should not include itself in its HTMLPropetiesCollection.");
-
-var parent = createElement('div', {itemscope: 'itemscope'}, '<div itemscope itemprop="foo"><div itemprop="bar"></div></div>');
-var item = parent.firstChild;
-
-function executeTest()
-{
- shouldBe("item.properties.length", "1");
- shouldBe("item.properties.item(0)", "item.firstChild");
- shouldBe("item.properties[0]", "item.firstChild");
- shouldBe("item.properties.namedItem('foo').length", "0");
- shouldBeNull("item.properties.namedItem('foo').item(0)");
- shouldBeUndefined("item.properties.namedItem('foo')[0]");
- shouldBe("item.properties.namedItem('bar').length", "1");
- shouldBe("item.properties.namedItem('bar').item(0)", "item.firstChild");
- shouldBe("item.properties.namedItem('bar')[0]", "item.firstChild");
- shouldBe("item.properties.names.length", "1");
- shouldBeFalse("item.properties.names.contains('foo')");
- shouldBeTrue("item.properties.names.contains('bar')");
- shouldBe("item.properties.names.item(0)", "'bar'");
- shouldBe("item.properties.names[0]", "'bar'");
-}
-
-debug("");
-debug("Item not attached to dom tree");
-executeTest();
-
-debug("");
-debug("Attached item to dom tree");
-document.body.appendChild(parent);
-executeTest();
-</script>
-<script src="../../js/resources/js-test-post.js"></script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698