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

Unified Diff: LayoutTests/fast/dom/MicroData/properties-collection-add-remove-itemref.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-add-remove-itemref.html
diff --git a/LayoutTests/fast/dom/MicroData/properties-collection-add-remove-itemref.html b/LayoutTests/fast/dom/MicroData/properties-collection-add-remove-itemref.html
deleted file mode 100644
index add745212d9a55831758a3a88672464d80e9da3d..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/MicroData/properties-collection-add-remove-itemref.html
+++ /dev/null
@@ -1,32 +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>Microdata properties collection should update properly on adding or removing itemref.</p>
-<div id="console"></div>
-<script>
-var element = createElement('div', {}, '<div id="id1" itemprop="foo"></div><div itemscope></div>');
-var item = element.childNodes[1];
-document.body.appendChild(element);
-
-shouldBeTrue("item.properties.length == '0'");
-
-debug("<br>Set itemref to id1.");
-item.setAttribute('itemref', 'id1');
-shouldBeTrue("item.properties.length == '1'");
-shouldBeTrue("item.properties.item(0) == element.firstChild");
-shouldBeTrue("item.properties[0] == element.firstChild");
-
-debug("<br>Remove itemref attribute.");
-item.removeAttribute('itemref');
-shouldBeTrue("item.properties.length == '0'");
-shouldBeTrue("item.properties.item(0) == undefined");
-shouldBeTrue("item.properties[0] == undefined");
-
-</script>
-<script src="../../js/resources/js-test-post.js"></script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698