| Index: LayoutTests/fast/dom/HTMLImageElement/image-sizes-viewport-with-template-parent.html
|
| diff --git a/LayoutTests/fast/dom/HTMLImageElement/image-sizes-viewport-with-template-parent.html b/LayoutTests/fast/dom/HTMLImageElement/image-sizes-viewport-with-template-parent.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c61611422ce7aa60d75e703795111fee7a3e3958
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/dom/HTMLImageElement/image-sizes-viewport-with-template-parent.html
|
| @@ -0,0 +1,13 @@
|
| +<!DOCTYPE html>
|
| +<script>
|
| + if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| +
|
| + function insert() {
|
| + document.getElementById('template').innerHTML = '<img src="./resources/blue_rect.jpg" sizes="50vw">';
|
| + }
|
| +</script>
|
| +<body onload="insert()">
|
| + <pre id="result">PASS - didn't crash.</pre>
|
| + <template id ="template"></template>
|
| +</body>
|
|
|