Sign in
webkit
/
WebKit
/
ff4cb3c2323f3937e96e08f4f6fbe6c7755f9da5
/
.
/
LayoutTests
/
fast
/
dom
/
HTMLImageElement
/
image-remove-src.html
blob: e89459ae4db73e735045b65cc09618b0cd2f3a36 [
file
] [
log
] [
blame
]
<!DOCTYPE html>
<img
id
=
image
src
=
"resources/blue_rect.jpg"
alt
=
"We should see alt"
>
<script>
window
.
onload
=
function
()
{
var
img
=
document
.
querySelector
(
"#image"
);
img
.
removeAttribute
(
"src"
);
}
</script>