Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / hidpi / image-srcset-png-4.html
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4     <link rel="stylesheet" href="resources/svg_tests.css">
5     <script src="resources/svg_canvas_helper.js"></script>
6 </head>
7 <body>
8   <h2><a href="http://www.w3.org/html/wg/drafts/srcset/w3c-srcset">srcset</a> testcases for SVG</h2>
9   <div class="test">
10     <h3>PNG with explicit dimensions - 4x</h3>
11     <div class="expected">expected<br/>
12       <img src="resources/srcset.png" width="100" height="50">
13     </div>
14     <div class="actual">actual<br/>
15       <img id="png4" src="" srcset="resources/srcset.png 4x" width="100" height="50">
16     </div>
17     This test should show a PNG image of size 100x50, and intrinsic/natural size 50x25. The left half of the image should be red and there should be a black circle in the center.<br/>
18     <br clear="all"/>
19   </div>
20 </body>
21 </html>