зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1498770 [wpt PR 13492] - Make layout use available image data before querying the image cache., a=testonly
Automatic update from web-platform-testsMake layout use available image data before querying the image cache. -- Merge pull request #13492 from servo-wpt-sync/servo_export_21931 Make layout use available image data before querying the image cache. -- wpt-commits: 77f7b019a69ae75d0e0b6bb1d8f56e8486f6ffd5, c1dd54d48c23a6cd99ccb9b475487c9efc23997d wpt-pr: 13492
This commit is contained in:
Родитель
720f0903fb
Коммит
53bb6ad8f2
|
@ -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>
|
Загрузка…
Ссылка в новой задаче