@@ -100,6 +104,13 @@
`);
}, 'Divs and imgs should be allowed as direct children of select and within options without a datalist.');
+test(() => {
+ assert_equals(document.getElementById('s7').parentNode, document.body);
+ assert_equals(document.getElementById('s7').innerHTML, `
+
+`);
+}, 'Input tags should parse inside select instead of closing the select.');
+
test(() => {
assert_equals(document.getElementById('afterlast').parentNode, document.body);
}, 'The last test should not leave any tags open after parsing.');