1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[test] Added domparser.html

This commit is contained in:
Witold Filipczyk 2024-07-06 11:09:01 +02:00
parent 815c8f684b
commit 4cb9d10cb1
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,6 @@
<script>
console.error('DOMParser.html');
var a = new DOMParser().parseFromString("<html><body><div id='aa'>AAA</div></body></html>", "text/html");
console.assert(a.getElementById('aa').innerText === 'AAA', 'AAA');
console.exit();
</script>

View File

@ -24,6 +24,7 @@ took = [
'document.links.html',
'document.querySelectorAll.html',
'document.querySelector.html',
'domparser.html',
'element.appendChild.html',
'element.attributes.html',
'element.checked.html',