| Index: LayoutTests/fast/dom/HTMLImageElement/image-sizes-viewport-with-template-parent-and-empty-sizes.html
|
| diff --git a/LayoutTests/fast/dom/HTMLImageElement/image-sizes-viewport-with-template-parent-and-empty-sizes.html b/LayoutTests/fast/dom/HTMLImageElement/image-sizes-viewport-with-template-parent-and-empty-sizes.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6ad1f63149587ec1b0895d7ad322b2cea69bcb09
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/dom/HTMLImageElement/image-sizes-viewport-with-template-parent-and-empty-sizes.html
|
| @@ -0,0 +1,16 @@
|
| +<!DOCTYPE html>
|
| +<script>
|
| + if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| +
|
| + function insert() {
|
| + var img = new Image();
|
| + var template = document.getElementById('template');
|
| + img.sizes = '';
|
| + template.appendChild(img);
|
| + }
|
| +</script>
|
| +<body onload="insert()">
|
| + <pre id="result">PASS - didn't crash.</pre>
|
| + <template id ="template"></template>
|
| +</body>
|
|
|