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

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

Powered by Google App Engine
This is Rietveld 408576698