mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 20:47:44 +00:00
17 lines
463 B
HTML
17 lines
463 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<img src="blue-16x20.png">
|
|
<script>
|
|
var otherImageSrc = "blue-32x32.png"
|
|
window.onload = function() {
|
|
var img = document.querySelector("img");
|
|
img.src = otherImageSrc;
|
|
img.style.width = img.width + "px";
|
|
img.style.height = img.height + "px";
|
|
document.documentElement.className = "";
|
|
}
|
|
var otherImage = new Image;
|
|
otherImage.src = otherImageSrc;
|
|
</script>
|
|
</html>
|