mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Make layout use available image data before querying the image cache.
This commit is contained in:
parent
5f463d3c97
commit
49d2ea4f74
8 changed files with 102 additions and 5 deletions
|
@ -0,0 +1,2 @@
|
|||
<!doctype html>
|
||||
<img src="3.jpg">
|
|
@ -0,0 +1,17 @@
|
|||
<!doctype html>
|
||||
<html class="reftest-wait">
|
||||
<title>Ensure images from available images list are rendered</title>
|
||||
<meta charset="utf-8">
|
||||
<link rel="match" href="available-images-ref.html">
|
||||
<link rel="help" href="https://html.spec.whatwg.org/multipage/#the-img-element">
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
var i = new Image();
|
||||
i.onload = function() {
|
||||
var i2 = new Image();
|
||||
i2.src = "3.jpg";
|
||||
document.body.appendChild(i2);
|
||||
document.documentElement.classList.remove("reftest-wait");
|
||||
};
|
||||
i.src = "3.jpg";
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue