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

Unified Diff: LayoutTests/fast/dom/MicroData/properties-collection-add-remove-property.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-property.html
diff --git a/LayoutTests/fast/dom/MicroData/properties-collection-add-remove-property.html b/LayoutTests/fast/dom/MicroData/properties-collection-add-remove-property.html
deleted file mode 100644
index 2011e61e0ab3d3c53beccfbe3f57b225e6632808..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/MicroData/properties-collection-add-remove-property.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>
-<p>Microdata properties collection must update on adding or removing property.</p>
-<div id="console"></div>
-<script>
-var element = createElement('div', {itemscope: 'itemscope'}, '<div itemprop="foo"></div>');
-
-shouldBeTrue("element.properties.length == '1'");
-shouldBeTrue("element.properties.item(0) == element.firstChild");
-shouldBeTrue("element.properties[0] == element.firstChild");
-
-debug('<br>Append a property with itemprop: bar.');
-element.appendChild(createElement('div',{itemprop:'bar'}));
-shouldBeTrue("element.properties.length == '2'");
-shouldBeTrue("element.properties.item(1) == element.childNodes[1]");
-shouldBeTrue("element.properties[1] == element.childNodes[1]");
-
-debug('<br>Append a property with itemprop: foo.');
-element.lastChild.appendChild(createElement('div',{itemprop:'foo'}));
-shouldBeTrue("element.properties.length == '3'");
-shouldBeTrue("element.properties.item(2) == element.childNodes[1].firstChild");
-shouldBeTrue("element.properties[2] == element.childNodes[1].firstChild");
-
-debug('<br>Remove property with itemprop: foo.');
-element.lastChild.removeChild(element.lastChild.firstChild);
-shouldBeTrue("element.properties.length == '2'");
-shouldBeTrue("element.properties.item(2) == undefined");
-shouldBeTrue("element.properties[2] == undefined");
-
-</script>
-<script src="../../js/resources/js-test-post.js"></script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698