| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <script src="../../js/resources/js-test-pre.js"></script> | |
| 5 </head> | |
| 6 <body> | |
| 7 <p>This tests that document.getItems must locate items when parameters are separ
ated by spaces. | |
| 8 <br>This test also ensure that document.getItems must ignore duplicated tokens. | |
| 9 </p> | |
| 10 <div itemscope itemtype="http://example.com/foo http://example.com/bar data:text
/plain"></div> | |
| 11 <div itemscope itemtype="http://example.com/bar http://example.com/foo"> | |
| 12 <div itemscope itemtype="data:text/plain http://example.com/foo"></div> | |
| 13 </div> | |
| 14 <div id="console"></div> | |
| 15 <script> | |
| 16 shouldBeTrue("document.getItems(' http://example.com/foo http://example.com/bar
').length == 2"); | |
| 17 shouldBeTrue("document.getItems(' http://example.com/foo data:text/plain ').le
ngth == 2"); | |
| 18 shouldBeTrue("document.getItems(' http://example.com/foo data:text/plain http
://example.com/foo').length == 2"); | |
| 19 </script> | |
| 20 <script src="../../js/resources/js-test-post.js"></script> | |
| 21 </body> | |
| 22 </html> | |
| OLD | NEW |