OLD | NEW |
| (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>Microdata itemscope attribute simple test.</p> | |
9 <div id="console"></div> | |
10 <script> | |
11 var element = createElement('div',{itemscope:'itemscope'}); | |
12 | |
13 debug("<br>The itemScope attribute must be defined."); | |
14 shouldBeDefined("element.itemScope"); | |
15 shouldBeTrue("typeof element.itemScope == 'boolean'"); | |
16 shouldBeTrue("element.itemScope"); | |
17 debug(''); | |
18 shouldBeTrue("createElement('div',{}).itemScope == 0"); | |
19 | |
20 | |
21 </script> | |
22 <script src="../../js/resources/js-test-post.js"></script> | |
23 </body> | |
24 </html> | |
OLD | NEW |