mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -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.hasAttribute.html',
|
||||||
'element.hasAttributes.html',
|
'element.hasAttributes.html',
|
||||||
'element.hasChildNodes.html',
|
'element.hasChildNodes.html',
|
||||||
|
'element.href.html',
|
||||||
'element.id.html',
|
'element.id.html',
|
||||||
'element.innerHTML.html',
|
'element.innerHTML.html',
|
||||||
'element.insertBefore.html',
|
'element.insertBefore.html',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user