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

Unified Diff: LayoutTests/fast/dom/MicroData/002.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
« no previous file with comments | « LayoutTests/fast/dom/MicroData/001-expected.txt ('k') | LayoutTests/fast/dom/MicroData/002-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/MicroData/002.html
diff --git a/LayoutTests/fast/dom/MicroData/002.html b/LayoutTests/fast/dom/MicroData/002.html
deleted file mode 100644
index 3e5478fb6f127c9cb80ed8df94de704b744c029f..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/MicroData/002.html
+++ /dev/null
@@ -1,43 +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 ensures that document.getItems().length must return the correct number of MicroData Items in the Document.
-<br>Also it tests that document.getItems must return a live NodeList.
-</p>
-
-<div itemscope itemtype="http://example.com/foo" id="one"></div>
-<div itemscope itemtype="http://example.com/bar" id="two"></div>
-<div itemscope itemtype="http://example.com/foo" id="three">
-<div itemscope itemtype="http://example.com/f1" id="four"></div>
-</div>
-<div id="console"></div>
-<script>
-var one = document.getElementById('one');
-var two = document.getElementById('two');
-var three = document.getElementById('three');
-var four = document.getElementById('four');
-
-runTest(document.getItems(), [one, two, three, four], "document.getItems() without aurgument");
-runTest(document.getItems(''), [one, two, three, four], "document.getItems() with empty string in the aurgument");
-runTest(document.getItems('http://example.com/foo'), [one, three], "document.getItems() with 'http://example.com/foo' itemtype in the aurgument");
-runTest(document.getItems('http://example.com/bar'), [two], "document.getItems() with 'http://example.com/bar' itemtype in the aurgument");
-runTest(document.getItems('http://example.com/f1'), [four], "document.getItems() with 'http://example.com/f1' itemtype in the aurgument");
-
-var element = createElement('div', {itemscope:'itemscope'});
-
-// Append newly created item to body
-document.body.appendChild(element);
-runTest(document.getItems(), [one, two, three, four, element], "Newly appended item should be noticed in the NodeList");
-
-// Remove the element
-document.body.removeChild(element);
-runTest(document.getItems(), [one, two, three, four], "Removing item should be noticed in the NodeList");
-
-</script>
-<script src="../../js/resources/js-test-post.js"></script>
-</body>
-</html>
« no previous file with comments | « LayoutTests/fast/dom/MicroData/001-expected.txt ('k') | LayoutTests/fast/dom/MicroData/002-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698