Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / HTMLImageElement / image-sizes-viewport-with-template-parent-and-empty-sizes.html
blob6ad1f63149587ec1b0895d7ad322b2cea69bcb09
1 <!DOCTYPE html>
2 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
6 function insert() {
7 var img = new Image();
8 var template = document.getElementById('template');
9 img.sizes = '';
10 template.appendChild(img);
12 </script>
13 <body onload="insert()">
14 <pre id="result">PASS - didn't crash.</pre>
15 <template id ="template"></template>
16 </body>