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

Side by Side Diff: LayoutTests/fast/dom/MicroData/names-item-out-of-range-index.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script>
5 </head>
6 <body>
7 <div itemscope id="mydiv"></div>
8 <script>
9 description("This test verifies properties.names.item(index) behavior for out-of -range index.");
10
11 debug("Test itemType[index]");
12 var element = document.getElementById("mydiv");
13 shouldBeNull("element.properties.names.item(0)");
14 shouldBeNull("element.properties.names.item(-1)");
15 element.innerHTML = "<div itemprop='foo'></div";
16 shouldBe("element.properties.names.item(0)", "'foo'");
17 shouldBeNull("element.properties.names.item(1)");
18 shouldBeNull("element.properties.names.item(-1)");
19 </script>
20 <script src="../../js/resources/js-test-post.js"></script>
21 </body>
22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698