mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[test] Added removeAttribute case to getAttribute test.
This commit is contained in:
parent
85d22c150c
commit
795159f9bb
@ -11,6 +11,9 @@ function aa()
|
|||||||
{
|
{
|
||||||
var a = document.getElementById('blabla').getAttribute('rel');
|
var a = document.getElementById('blabla').getAttribute('rel');
|
||||||
console.assert(a === 'nofollow', a);
|
console.assert(a === 'nofollow', a);
|
||||||
|
document.getElementById('blabla').removeAttribute('rel');
|
||||||
|
var a2 = document.getElementById('blabla').getAttribute('rel');
|
||||||
|
console.assert(a2 === null, 'removed');
|
||||||
}
|
}
|
||||||
|
|
||||||
function bb()
|
function bb()
|
||||||
|
Loading…
Reference in New Issue
Block a user