mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[test] element.href.html
This commit is contained in:
parent
daf8b5e397
commit
53da0cf2f6
11
test/ecmascript/assert/element.href.html
Normal file
11
test/ecmascript/assert/element.href.html
Normal 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>
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user