1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-19 01:36:33 -04:00

[test] element.href.html

This commit is contained in:
Witold Filipczyk 2024-07-07 14:43:38 +02:00
parent daf8b5e397
commit 53da0cf2f6
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,11 @@
<html>
<body>
<a id="b">BBB</a>
<script>
console.error("element.href.html");
document.getElementById('b').href='/';
console.assert(document.getElementById('b').outerHTML === '<a id="b" href="/">BBB</a>', document.getElementById('b').outerHTML);
console.exit();
</script>
</body>
</html>

View File

@ -45,6 +45,7 @@ took = [
'element.hasAttribute.html',
'element.hasAttributes.html',
'element.hasChildNodes.html',
'element.href.html',
'element.id.html',
'element.innerHTML.html',
'element.insertBefore.html',