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/itemref-refers-first-element-with-given-id.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-refers-first-element-with-given-id.html
diff --git a/LayoutTests/fast/dom/MicroData/itemref-refers-first-element-with-given-id.html b/LayoutTests/fast/dom/MicroData/itemref-refers-first-element-with-given-id.html
deleted file mode 100644
index 25c6d2cfd23e01eda49c18df093f46b23dbd5097..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/MicroData/itemref-refers-first-element-with-given-id.html
+++ /dev/null
@@ -1,22 +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 itemref must reference the first element with a given id.</p>
-<div id="console"></div>
-<script>
-var element = createElement('div',{},'<div itemscope itemref="id1"></div><div itemprop="foo" id="id1"><div itemprop="bar"></div></div><div itemprop="baz" id="id1"></div>');
-document.body.appendChild(element);
-var item = element.childNodes[0];
-
-shouldBeTrue("item.properties.length == '2'");
-shouldBeTrue("item.properties.item(0) == element.childNodes[1]");
-shouldBeTrue("item.properties.item(1) == element.childNodes[1].firstChild");
-
-</script>
-<script src="../../js/resources/js-test-post.js"></script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698