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

Unified Diff: LayoutTests/fast/dom/MicroData/propertynodelist-add-remove-itemprop-tokens.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/propertynodelist-add-remove-itemprop-tokens.html
diff --git a/LayoutTests/fast/dom/MicroData/propertynodelist-add-remove-itemprop-tokens.html b/LayoutTests/fast/dom/MicroData/propertynodelist-add-remove-itemprop-tokens.html
deleted file mode 100644
index 49290e4501c03cf62354a8eaf6ee6bae19127ca4..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/MicroData/propertynodelist-add-remove-itemprop-tokens.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE html>
-<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 adding or removing itemprop tokens must update its PropertyNodeList.");
-var item = createElement('div', {itemscope: 'itemscope'}, '<div itemprop="foo"></div><div></div>');
-var PNLfoo = item.properties.namedItem('foo');
-PNLbar = item.properties.namedItem('bar');
-
-shouldBe("PNLfoo.length", "1");
-shouldBe("PNLbar.length", "0");
-shouldBe("PNLfoo[0]", "item.firstChild");
-
-item.lastChild.itemProp.toggle('bar');
-shouldBe("PNLfoo.length", "1");
-shouldBe("PNLbar.length", "1");
-shouldBe("PNLfoo[0]", "item.firstChild");
-shouldBe("PNLbar[0]", "item.lastChild");
-
-item.lastChild.itemProp.add('foo');
-shouldBe("PNLfoo.length", "2");
-shouldBe("PNLbar.length", "1");
-shouldBe("PNLfoo[0]", "item.firstChild");
-shouldBe("PNLfoo[1]", "item.lastChild");
-shouldBe("PNLbar[0]", "item.lastChild");
-
-item.lastChild.removeAttribute('itemprop');
-shouldBe("PNLfoo.length", "1");
-shouldBe("PNLbar.length", "0");
-shouldBe("PNLfoo[0]", "item.firstChild");
-</script>
-<script src="../../js/resources/js-test-post.js"></script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698