if you have a form with a template like this:
<form>
<input type="radio" name="rad" value="1" checked/>
<input type="radio" name="rad" value="2"/>
<template id="mytempl">
<input type="radio" name="rad" value="3" checked/>
<input type="radio" name="rad" value="4"/>
</template>
</form>
the inputs in the template should have no effect on the form but they do.
Actual result:
document.queryselector('input[name="rad"][value="1"]').checked === false // because #3 is the last checked radio
Expected result:
document.queryselector('input[name="rad"][value="1"]').checked === true
if you have a form with a template like this:
the
inputs in the template should have no effect on the form but they do.Actual result:
Expected result: