OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../js/resources/js-test-pre.js"></script> | 3 <script src="../../resources/js-test.js"></script> |
4 <script> | 4 <script> |
5 if (window.testRunner) { | 5 if (window.testRunner) { |
6 testRunner.dumpAsText(); | 6 testRunner.dumpAsText(); |
7 } | 7 } |
8 </script> | 8 </script> |
9 </head> | 9 </head> |
10 | 10 |
11 <body id="body"> | 11 <body id="body"> |
12 <div>This test passes if this img tag below is empty and displays nothing. I
t ensures that the srcset attribute supports invalid inputs</div> | 12 <div>This test passes if this img tag below is empty and displays nothing. I
t ensures that the srcset attribute supports invalid inputs</div> |
13 <img id="foo" src="" srcset="1x,, , x ,2x " onerror="testPassed('did
not load invalid inputs')" onload="testFailed('Loaded | 13 <img id="foo" src="" srcset="1x,, , x ,2x " onerror="testPassed('did
not load invalid inputs')" onload="testFailed('Loaded |
14 invalid inputs')"></img> | 14 invalid inputs')"></img> |
15 </body> | 15 </body> |
16 </html> | 16 </html> |
OLD | NEW |