<!DOCTYPE html>
<html>
<body>
<p>Test that the form following a template element properly gets parsed.</p>
<template><form></form></template>
<form style="background-color:red;">
    <input type="text" /><button>Submit</button>
</form>
</body>
</html>
