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

Side by Side Diff: LayoutTests/fast/dom/MicroData/nameditem-returns-propertynodelist.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 <script src="resources/microdata-common.js"></script>
6 </head>
7 <body>
8 <p>PropertiesCollection.namedItem(name) must return PropertyNodeList.</p>
9 <div itemscope id="microdataitem">
10 <div itemprop="foo"></div>
11 </div>
12 <div id="console"></div>
13 <script>
14 var element = document.getElementById("microdataitem");
15
16 shouldBeTrue("element.properties.namedItem('foo') instanceof PropertyNodeList");
17 shouldBeTrue("element.properties['foo'] instanceof PropertyNodeList");
18
19 debug("<br>PropertyNodeList interface inherited from the NodeList interface.")
20 shouldBeTrue("element.properties.namedItem('foo') instanceof NodeList");
21 shouldBeTrue("element.properties['foo'] instanceof NodeList");
22
23 </script>
24 <script src="../../js/resources/js-test-post.js"></script>
25 </body>
26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698