<!DOCTYPE html>
<html>
<body>
<template><img src="resources/red-100x100.png" srcset="resources/red-100x100.png 1x, resources/green-400x400.png 2x"></template>
<script>
document.body.appendChild(document.querySelector('template').content.cloneNode(true));
</script>
</body>
</html>
