mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-18 05:07:31 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
16
layout/reftests/image/sync-image-switch-1c.html
Normal file
16
layout/reftests/image/sync-image-switch-1c.html
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<input type="image" src="blue-16x20.png">
|
||||
<script>
|
||||
var otherImageSrc = "blue-32x32.png"
|
||||
window.onload = function() {
|
||||
var img = document.querySelector("input");
|
||||
img.src = otherImageSrc;
|
||||
img.style.width = img.naturalWidth + "px";
|
||||
img.style.height = img.naturalHeight + "px";
|
||||
document.documentElement.className = "";
|
||||
}
|
||||
var otherImage = new Image;
|
||||
otherImage.src = otherImageSrc;
|
||||
</script>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue