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

Side by Side Diff: LayoutTests/fast/dom/MicroData/itemvalue-returns-element-itself.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>This test ensures that itemValue must return the element itself if the elemen t has an itemscope attribute</p>
9 <div id="console"></div>
10 <script>
11 var testElement;
12 function runTest(tagName) {
13 debug("Testing '" + tagName + "' element's behavior.");
14 testElement = createElement(tagName, {itemscope: 'itemscope', itemprop: 'foo ', content: 'test'});
15 shouldBe("testElement.itemValue", "testElement");
16 debug('');
17 }
18
19 runTest('meta');
20 runTest('audio');
21 runTest('embed');
22 runTest('iframe');
23 runTest('img');
24 runTest('source');
25 runTest('track');
26 runTest('video');
27 runTest('a');
28 runTest('area');
29 runTest('link');
30 runTest('object');
31 runTest('div');
32
33 </script>
34 <script src="../../js/resources/js-test-post.js"></script>
35 </body>
36 </html
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698