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

Unified Diff: LayoutTests/fast/dom/MicroData/properties-collection-behavior-add-remove-itemscope-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/properties-collection-behavior-add-remove-itemscope-attr.html
diff --git a/LayoutTests/fast/dom/MicroData/properties-collection-behavior-add-remove-itemscope-attr.html b/LayoutTests/fast/dom/MicroData/properties-collection-behavior-add-remove-itemscope-attr.html
deleted file mode 100644
index 0cc21bcf557e2ce5f78ef10b0c02b5f348aab9d3..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/MicroData/properties-collection-behavior-add-remove-itemscope-attr.html
+++ /dev/null
@@ -1,33 +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 tests the behavior of properties collection on adding or removing itemscope attribute.</p>
-<div id="console"></div>
-<script>
-var element = createElement('div', {}, '<div itemprop="foo">bar</div>');
-
-debug("<br>The properties collection must be empty if the element does not have an itemscope attribute.");
-shouldBeTrue("element.properties.length == '0'");
-shouldBeTrue("element.properties[0] == undefined");
-shouldBeTrue("element.properties.item(0) == undefined");
-
-debug("<br>The properties collection must become populated if we add itemscope attribute.");
-element.itemScope = true;
-shouldBeTrue("element.properties.length == '1'");
-shouldBeTrue("element.properties[0] == element.firstChild");
-shouldBeTrue("element.properties.item(0) == element.firstChild");
-
-debug("<br>The properties collection must become empty if we remove itemscope attribute.");
-element.itemScope = false;
-shouldBeTrue("element.properties.length == '0'");
-shouldBeTrue("element.properties[0] == undefined");
-shouldBeTrue("element.properties.item(0) == undefined");
-
-</script>
-<script src="../../js/resources/js-test-post.js"></script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698