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

Unified Diff: LayoutTests/fast/dom/MicroData/itemprop-for-an-element-must-be-correct.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/itemprop-for-an-element-must-be-correct.html
diff --git a/LayoutTests/fast/dom/MicroData/itemprop-for-an-element-must-be-correct.html b/LayoutTests/fast/dom/MicroData/itemprop-for-an-element-must-be-correct.html
deleted file mode 100644
index b935f181401b3a6582d31969f7030895ca5db98b..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/MicroData/itemprop-for-an-element-must-be-correct.html
+++ /dev/null
@@ -1,37 +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 test that the itemProp should be correct for an element that has itemProp attribute.</p>
-<div id="console"></div>
-<script>
-var element = createElement('div', {itemprop: 'foo bar FOO FOo'});
-
-shouldBeTrue("element.itemProp.length == 4");
-shouldBeTrue("element.itemProp.toString() == 'foo bar FOO FOo'");
-shouldBeTrue("element.itemProp.item(0) == 'foo'");
-shouldBeTrue("element.itemProp.item(1) == 'bar'");
-shouldBeTrue("element.itemProp[0] == 'foo'");
-shouldBeTrue("element.itemProp[1] == 'bar'");
-shouldBeTrue("element.itemProp.contains('bar')");
-
-debug("<br>itemProp should return case-sensitive strings.");
-shouldBeTrue("element.itemProp.item(2) == 'FOO'");
-shouldBeTrue("element.itemProp[2] == 'FOO'");
-shouldBeTrue("element.itemProp.item(3) == 'FOo'");
-shouldBeTrue("element.itemProp[2] == 'FOo'");
-
-debug("<br>itemProp should not contain an undefined token.");
-shouldBeFalse("element.itemProp.contains('test')");
-
-debug("<br>itemProp.length should be 0 if element doesn't have any tokens.");
-var element1 = createElement('div', {itemprop: ''});
-shouldBeTrue("element1.itemProp.length == 0");
-
-</script>
-<script src="../../js/resources/js-test-post.js"></script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698