mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-10 02:51:55 +00:00
14 lines
415 B
HTML
14 lines
415 B
HTML
<!DOCTYPE html>
|
|
<script src="../include.js"></script>
|
|
<script>
|
|
asyncTest((done) => {
|
|
let img = document.createElement("img");
|
|
img.src = "../../../Layout/input/400.png";
|
|
document.body.appendChild(img);
|
|
img.onload = function() {
|
|
println("image is " + img.clientWidth + "x" + img.clientHeight);
|
|
img.remove();
|
|
done();
|
|
};
|
|
});
|
|
</script>
|