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

Side by Side Diff: LayoutTests/fast/dom/MicroData/itemid-attribute-test-001.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>Test for bug: https://bugs.webkit.org/show_bug.cgi?id=71510. Assertion failur e in Element::getURLAttribute() while retriving itemid of a Microdata item.</p>
9 <div id="console"></div>
10 <script>
11 shouldBeTrue("createElement('a', {itemid: 'http://example.com/foo', href: 'http: //www.webkit.org/'}).itemId == 'http://example.com/foo';");
12 debug('');
13 shouldBeTrue("createElement('audio', {itemid: 'http://example.com/foo', src: 'te st.mp3'}).itemId == 'http://example.com/foo';");
14 debug('');
15 shouldBeTrue("createElement('base', {itemid: 'http://example.com/foo', href: 'ht tp://www.webkit.org/'}).itemId == 'http://example.com/foo';");
16 debug('');
17 shouldBeTrue("createElement('blockquote', {itemid: 'http://example.com/foo'}).it emId == 'http://example.com/foo';");
18 debug('');
19 shouldBeTrue("createElement('body', {itemid: 'http://example.com/foo'}).itemId = = 'http://example.com/foo';");
20 debug('');
21 shouldBeTrue("createElement('button', {itemid: 'http://example.com/foo', type: ' button'}).itemId == 'http://example.com/foo';");
22 debug('');
23 shouldBeTrue("createElement('del', {itemid: 'http://example.com/foo'}).itemId == 'http://example.com/foo';");
24 debug('');
25 shouldBeTrue("createElement('div', {itemid: 'http://example.com/foo'}).itemId == 'http://example.com/foo';");
26 debug('');
27 shouldBeTrue("createElement('embed', {itemid: 'http://example.com/foo', src: 'te st.swf'}).itemId == 'http://example.com/foo';");
28 debug('');
29 shouldBeTrue("createElement('form', {itemid: 'http://example.com/foo'}).itemId = = 'http://example.com/foo';");
30 debug('');
31 shouldBeTrue("createElement('frame', {itemid: 'http://example.com/foo', src: 'te st.html'}).itemId == 'http://example.com/foo';");
32 debug('');
33 shouldBeTrue("createElement('html', {itemid: 'http://example.com/foo'}).itemId = = 'http://example.com/foo';");
34 debug('');
35 shouldBeTrue("createElement('iframe', {itemid: 'http://example.com/foo', src: 't est.html'}).itemId == 'http://example.com/foo';");
36 debug('');
37 shouldBeTrue("createElement('img', {itemid: 'http://example.com/foo', src: 'imag e.png'}).itemId == 'http://example.com/foo';");
38 debug('');
39 shouldBeTrue("createElement('input', {itemid: 'http://example.com/foo', type: 'b utton'}).itemId == 'http://example.com/foo';");
40 debug('');
41 shouldBeTrue("createElement('ins', {itemid: 'http://example.com/foo'}).itemId == 'http://example.com/foo';");
42 debug('');
43 shouldBeTrue("createElement('link', {itemid: 'http://example.com/foo', type: 'te xt/css', href: 'test.css'}).itemId == 'http://example.com/foo';");
44 debug('');
45 shouldBeTrue("createElement('object', {itemid: 'http://example.com/foo', data: ' test.swf'}).itemId == 'http://example.com/foo';");
46 debug('');
47 shouldBeTrue("createElement('param', {itemid: 'http://example.com/foo', name: 'm y_param'}).itemId == 'http://example.com/foo';");
48 debug('');
49 shouldBeTrue("createElement('q', {itemid: 'http://example.com/foo'}).itemId == ' http://example.com/foo';");
50 debug('');
51 shouldBeTrue("createElement('source', {itemid: 'http://example.com/foo', type: ' audio/mpeg', src: 'test.mp3'}).itemId == 'http://example.com/foo';");
52 debug('');
53 shouldBeTrue("createElement('table', {itemid: 'http://example.com/foo'}).itemId == 'http://example.com/foo';");
54 debug('');
55 shouldBeTrue("createElement('td', {itemid: 'http://example.com/foo'}).itemId == 'http://example.com/foo';");
56 debug('');
57 shouldBeTrue("createElement('track', {itemid: 'http://example.com/foo', type: 'a udio/mpeg', src: 'test.vtt'}).itemId == 'http://example.com/foo';");
58 debug('');
59 shouldBeTrue("createElement('video', {itemid: 'http://example.com/foo', src: 'te st.mp4'}).itemId == 'http://example.com/foo';");
60 debug('');
61
62 </script>
63 <script src="../../js/resources/js-test-post.js"></script>
64 </body>
65 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698