mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 8a14626934f5748a4ea6210847a02c0d8bbc8560
This commit is contained in:
parent
defc176333
commit
4851e4e2b9
133 changed files with 3076 additions and 304 deletions
|
@ -0,0 +1,8 @@
|
|||
<!doctype html>
|
||||
<style>
|
||||
img {
|
||||
width: 200px;
|
||||
height: 100px;
|
||||
}
|
||||
</style>
|
||||
<img src="image.png">
|
|
@ -0,0 +1,22 @@
|
|||
<!doctype html>
|
||||
<html class="reftest-wait">
|
||||
<title>Ensure images with containment and size are rendered properly</title>
|
||||
<meta charset="utf-8">
|
||||
<link rel="match" href="img-with-containment-and-size-ref.html">
|
||||
<link rel="help" href="https://html.spec.whatwg.org/multipage/#the-img-element">
|
||||
<style>
|
||||
img {
|
||||
contain: paint;
|
||||
width: 200px;
|
||||
height: 100px;
|
||||
will-change: transform;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
var i = new Image();
|
||||
i.onload = function() {
|
||||
document.body.appendChild(i);
|
||||
document.documentElement.classList.remove("reftest-wait");
|
||||
};
|
||||
i.src = "image.png";
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue