<!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> |