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

Unified Diff: LayoutTests/fast/dom/MicroData/microdata-domtokenlist-attribute-add-remove-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/microdata-domtokenlist-attribute-add-remove-tokens.html
diff --git a/LayoutTests/fast/dom/MicroData/microdata-domtokenlist-attribute-add-remove-tokens.html b/LayoutTests/fast/dom/MicroData/microdata-domtokenlist-attribute-add-remove-tokens.html
deleted file mode 100644
index 3a68f421d4062d304f68ebc9fe525e5f2a2f985b..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/MicroData/microdata-domtokenlist-attribute-add-remove-tokens.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="../../js/resources/js-test-pre.js"></script>
-</head>
-<body>
-<div id="mydiv"></div>
-<script>
-description("This tests that itemtype, itemprop, itemref attributes must update correctly when tokens have been added or removed.");
-var element = document.getElementById("mydiv");
-
-debug("itemtype attribute test.");
-element.itemType.add('foo');
-element.itemType.add('FOO');
-shouldBe("element.getAttribute('itemtype')", "'foo FOO'");
-element.itemType.remove('foo');
-shouldBe("element.getAttribute('itemtype')", "'FOO'");
-element.itemType.remove('FOO');
-shouldBe("element.getAttribute('itemtype')", "''");
-
-debug("");
-debug("itemprop attribute test.");
-element.itemProp.add('foo');
-element.itemProp.add('FOO');
-shouldBe("element.getAttribute('itemprop')", "'foo FOO'");
-element.itemProp.remove('foo');
-shouldBe("element.getAttribute('itemprop')", "'FOO'");
-element.itemProp.remove('FOO');
-shouldBe("element.getAttribute('itemprop')", "''");
-
-debug("");
-debug("itemref attribute test.");
-element.itemRef.add('foo');
-element.itemRef.add('FOO');
-shouldBe("element.getAttribute('itemref')", "'foo FOO'");
-element.itemRef.remove('foo');
-shouldBe("element.getAttribute('itemref')", "'FOO'");
-element.itemRef.remove('FOO');
-shouldBe("element.getAttribute('itemref')", "''");
-</script>
-<script src="../../js/resources/js-test-post.js"></script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698