Modified img src and srcset encoded URL tests
[WebKit-https.git] / LayoutTests / fast / hidpi / image-srcset-encoded.html
1 <html>
2     <head>
3         <script src="../../resources/js-test-pre.js"></script>
4         <script>
5              addEventListener("load", function() {
6                  shouldBeTrue('document.getElementById("foo").clientWidth==25');
7              }, false);
8         </script>
9     </head>
10
11     <body id="body">
12         <div>This test passes if the image below is displayed.</div>
13         <img id="foo" srcset="resources/image%40test.png">
14     </body>
15 </html>