OLD | NEW |
(Empty) | |
| 1 <html> |
| 2 <head> |
| 3 <script src="../js/resources/js-test-pre.js"></script> |
| 4 <script> |
| 5 if (window.testRunner) { |
| 6 testRunner.dumpAsText(); |
| 7 } |
| 8 |
| 9 addEventListener("load", function() { |
| 10 shouldBeTrue('document.getElementById("foo").clientWidth==200'); |
| 11 }, false); |
| 12 </script> |
| 13 </head> |
| 14 |
| 15 <body id="body"> |
| 16 <div>This test passes if the img tag below is a green square regardless of t
he scale factor. It ensures that invalid inputs are |
| 17 ignored and well-formed images are chosen regardless of their qualifiers, on
ce they are the only candidate left</div> |
| 18 <img id="foo" src="" srcset="1x,, , x , resources/green-200-px-square.
png 2x, 2"> |
| 19 </body> |
| 20 </html> |
OLD | NEW |