Update web-platform-tests to revision 301ce26e6c4fdc9c7b04dc86e009835662519c37

This commit is contained in:
WPT Sync Bot 2019-04-27 22:22:13 -04:00
parent 10bee0db5d
commit fc1d662be8
25 changed files with 427 additions and 26 deletions

View file

@ -0,0 +1,12 @@
<!doctype html>
<title>CSS Test Reference</title>
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://mozilla.org" title="Mozilla">
<style>
img {
border: 1px solid black;
height: 30px;
width: 60px;
}
</style>
<img src="/css/support/60x60-green.png">

View file

@ -0,0 +1,23 @@
<!doctype html>
<html class="reftest-wait">
<title>CSS Test: Image size is updated properly when intrinsic size changes, even with a fixed width and height, if their min-size depends on their intrinsic size</title>
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://mozilla.org" title="Mozilla">
<link rel="help" href="https://drafts.csswg.org/css-sizing/#sizing-values">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1546739">
<link rel="match" href="image-min-max-content-intrinsic-size-change-001-ref.html">
<style>
img {
border: 1px solid black;
height: 30px;
width: 30px;
min-width: min-content;
}
</style>
<img>
<script>
let img = document.querySelector("img");
img.offsetWidth; // Ensure the image is laid out.
img.onload = () => document.documentElement.className = "";
img.src = "/css/support/60x60-green.png";
</script>

View file

@ -0,0 +1,23 @@
<!doctype html>
<html class="reftest-wait">
<title>CSS Test: Image size is updated properly when intrinsic size changes, even with a fixed width and height, if their min-size depends on their intrinsic size</title>
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://mozilla.org" title="Mozilla">
<link rel="help" href="https://drafts.csswg.org/css-sizing/#sizing-values">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1546739">
<link rel="match" href="image-min-max-content-intrinsic-size-change-001-ref.html">
<style>
img {
border: 1px solid black;
height: 30px;
width: 30px;
min-width: max-content;
}
</style>
<img>
<script>
let img = document.querySelector("img");
img.offsetWidth; // Ensure the image is laid out.
img.onload = () => document.documentElement.className = "";
img.src = "/css/support/60x60-green.png";
</script>

View file

@ -0,0 +1,12 @@
<!doctype html>
<title>CSS Test Reference</title>
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://mozilla.org" title="Mozilla">
<style>
img {
border: 1px solid black;
height: 80px;
width: 60px;
}
</style>
<img src="/css/support/60x60-green.png">

View file

@ -0,0 +1,23 @@
<!doctype html>
<html class="reftest-wait">
<title>CSS Test: Image size is updated properly when intrinsic size changes, even with a fixed width and height, if their max-size depends on their intrinsic size</title>
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://mozilla.org" title="Mozilla">
<link rel="help" href="https://drafts.csswg.org/css-sizing/#sizing-values">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1546739">
<link rel="match" href="image-min-max-content-intrinsic-size-change-003-ref.html">
<style>
img {
border: 1px solid black;
height: 80px;
width: 80px;
max-width: min-content;
}
</style>
<img>
<script>
let img = document.querySelector("img");
img.offsetWidth; // Ensure the image is laid out.
img.onload = () => document.documentElement.className = "";
img.src = "/css/support/60x60-green.png";
</script>

View file

@ -0,0 +1,23 @@
<!doctype html>
<html class="reftest-wait">
<title>CSS Test: Image size is updated properly when intrinsic size changes, even with a fixed width and height, if their max-size depends on their intrinsic size</title>
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://mozilla.org" title="Mozilla">
<link rel="help" href="https://drafts.csswg.org/css-sizing/#sizing-values">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1546739">
<link rel="match" href="image-min-max-content-intrinsic-size-change-003-ref.html">
<style>
img {
border: 1px solid black;
height: 80px;
width: 80px;
max-width: max-content;
}
</style>
<img>
<script>
let img = document.querySelector("img");
img.offsetWidth; // Ensure the image is laid out.
img.onload = () => document.documentElement.className = "";
img.src = "/css/support/60x60-green.png";
</script>

View file

@ -0,0 +1,12 @@
<!doctype html>
<title>CSS Test Reference</title>
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://mozilla.org" title="Mozilla">
<style>
img {
border: 1px solid black;
height: 60px;
width: 30px;
}
</style>
<img src="/css/support/60x60-green.png">

View file

@ -0,0 +1,24 @@
<!doctype html>
<html class="reftest-wait">
<title>CSS Test: Image size is updated properly when intrinsic size changes, even with a fixed width and height, if their min-size depends on their intrinsic size</title>
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://mozilla.org" title="Mozilla">
<link rel="help" href="https://drafts.csswg.org/css-sizing/#sizing-values">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1546739">
<link rel="match" href="image-min-max-content-intrinsic-size-change-005-ref.html">
<style>
img {
border: 1px solid black;
height: 30px;
width: 30px;
min-height: min-content;
writing-mode: vertical-lr;
}
</style>
<img>
<script>
let img = document.querySelector("img");
img.offsetWidth; // Ensure the image is laid out.
img.onload = () => document.documentElement.className = "";
img.src = "/css/support/60x60-green.png";
</script>

View file

@ -0,0 +1,24 @@
<!doctype html>
<html class="reftest-wait">
<title>CSS Test: Image size is updated properly when intrinsic size changes, even with a fixed width and height, if their min-size depends on their intrinsic size</title>
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://mozilla.org" title="Mozilla">
<link rel="help" href="https://drafts.csswg.org/css-sizing/#sizing-values">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1546739">
<link rel="match" href="image-min-max-content-intrinsic-size-change-005-ref.html">
<style>
img {
border: 1px solid black;
height: 30px;
width: 30px;
min-height: max-content;
writing-mode: vertical-lr;
}
</style>
<img>
<script>
let img = document.querySelector("img");
img.offsetWidth; // Ensure the image is laid out.
img.onload = () => document.documentElement.className = "";
img.src = "/css/support/60x60-green.png";
</script>

View file

@ -0,0 +1,12 @@
<!doctype html>
<title>CSS Test Reference</title>
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://mozilla.org" title="Mozilla">
<style>
img {
border: 1px solid black;
width: 80px;
height: 60px;
}
</style>
<img src="/css/support/60x60-green.png">

View file

@ -0,0 +1,24 @@
<!doctype html>
<html class="reftest-wait">
<title>CSS Test: Image size is updated properly when intrinsic size changes, even with a fixed width and height, if their max-size depends on their intrinsic size</title>
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://mozilla.org" title="Mozilla">
<link rel="help" href="https://drafts.csswg.org/css-sizing/#sizing-values">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1546739">
<link rel="match" href="image-min-max-content-intrinsic-size-change-007-ref.html">
<style>
img {
border: 1px solid black;
height: 80px;
width: 80px;
max-height: min-content;
writing-mode: vertical-lr;
}
</style>
<img>
<script>
let img = document.querySelector("img");
img.offsetWidth; // Ensure the image is laid out.
img.onload = () => document.documentElement.className = "";
img.src = "/css/support/60x60-green.png";
</script>

View file

@ -0,0 +1,24 @@
<!doctype html>
<html class="reftest-wait">
<title>CSS Test: Image size is updated properly when intrinsic size changes, even with a fixed width and height, if their max-size depends on their intrinsic size</title>
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://mozilla.org" title="Mozilla">
<link rel="help" href="https://drafts.csswg.org/css-sizing/#sizing-values">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1546739">
<link rel="match" href="image-min-max-content-intrinsic-size-change-007-ref.html">
<style>
img {
border: 1px solid black;
height: 80px;
width: 80px;
max-height: max-content;
writing-mode: vertical-lr;
}
</style>
<img>
<script>
let img = document.querySelector("img");
img.offsetWidth; // Ensure the image is laid out.
img.onload = () => document.documentElement.className = "";
img.src = "/css/support/60x60-green.png";
</script>