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