Update web-platform-tests to revision b'c9946198c9ee19db3b4974a388fae45da844a94a'

This commit is contained in:
WPT Sync Bot 2023-05-14 01:35:09 +00:00
parent 8dfd613aa1
commit 06e9d5a631
366 changed files with 8783 additions and 2336 deletions

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1371426">
<link rel="match" href="../reference/ref-filled-greenish-100px-square.html">
<p>Test passes if there is a filled green-ish square and <strong>no red</strong>.</p>
<div style="columns:5; column-fill:auto; gap:0; width:100px; height:100px; background:green;">
<div style="position:relative; opacity:0.1;">
<div style="position:absolute; width:100%;">
<div style="height:500px; background:red;"></div>
</div>
</div>
</div>

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1371426">
<link rel="match" href="../reference/ref-filled-greenish-100px-square.html">
<p>Test passes if there is a filled green-ish square and <strong>no red</strong>.</p>
<div style="columns:5; column-fill:auto; gap:0; width:100px; height:100px; background:green;">
<div style="height:300px;"></div>
<div style="position:relative; opacity:0.1;">
<div style="position:absolute; top:-300px; width:100%;">
<div style="height:500px; background:red;"></div>
</div>
</div>
</div>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html>
<html>
<title>CSS Reference: max-height block fragmentation</title>
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org/">
<style>
.multicol {
height: 30px;
width: 100px;
column-width: 30px;
column-fill: auto;
border: 2px solid orange;
}
.block {
display: block;
background: teal;
border: 5px solid black;
border-top-width: 0;
height: 40px;
}
.child {
display: block;
width: 50%;
height: 80px;
}
img.child { background: salmon; }
div.child { background: purple; }
</style>
<div class="multicol">
<main class="block">
<img src="" class="child"><div class="child"></div>
</main>
</div>
</html>

View file

@ -0,0 +1,39 @@
<!DOCTYPE html>
<html>
<title>CSS Test: max-height block fragmentation</title>
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org/">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=">
<link rel="help" href="https://drafts.csswg.org/css-break">
<link rel="match" href="block-max-height-004-ref.html">
<style>
.multicol {
height: 30px;
width: 100px;
column-width: 30px;
column-fill: auto;
border: 2px solid orange;
}
.block {
display: block;
background: teal;
border: 5px solid black;
border-top-width: 0;
max-height: 40px;
}
.child {
display: block;
width: 50%;
height: 80px;
}
img.child { background: salmon; }
div.child { background: purple; }
</style>
<div class="multicol">
<main class="block">
<img src="" class="child"><div class="child"></div>
</main>
</div>
</html>

View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1442211">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="columns:2; gap:0; column-fill:auto; width:100px; height:100px; background:red;">
<div style="height:25px; background:green;"></div>
<div style="position:relative; overflow:clip; height:150px;">
<div>
<div style="position:absolute; top:-25px; width:100%;">
<div style="height:25px; background:red;"></div>
<div style="height:150px; background:green;"></div>
<div style="height:25px; background:red;"></div>
</div>
</div>
</div>
<div style="height:25px; background:green;"></div>
</div>

View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1442211">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="columns:4; gap:0; column-fill:auto; width:100px; height:100px; background:red;">
<div style="height:25px; background:green;"></div>
<div style="position:relative; overflow:clip; height:350px;">
<div>
<div style="position:absolute; top:-25px; width:100%;">
<div style="height:25px; background:red;"></div>
<div style="height:350px; background:green;"></div>
<div style="height:25px; background:red;"></div>
</div>
</div>
</div>
<div style="height:25px; background:green;"></div>
</div>

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-break-3/#transforms">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1371426">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="display:flow-root; width:100px; height:100px; background:red;">
<div style="columns:3; margin-top:100px; margin-left:-50px; column-fill:auto; gap:0; width:150px; height:100px;">
<div style="transform:rotate(180deg); transform-origin:bottom center; height:77px;">
<div style="position:absolute; top:100px; width:100%; height:200px; background:green;"></div>
</div>
</div>
</div>

View file

@ -0,0 +1,22 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-break-3/#transforms">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1371426">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="display:flow-root; width:100px; height:100px; background:red;">
<div style="columns:3; margin-top:100px; column-fill:auto; gap:0; width:150px; height:100px;">
<div style="transform:rotate(180deg); transform-origin:bottom left; height:120px;">
<div style="position:absolute; top:100px; width:100%;">
<!-- The containing block (the transformed element) takes up 20px in the
second column. To compensate for the 180 degree rotation with a
transform origin at the bottom, move the green rectangle by the
double. -->
<div style="position:relative; top:40px; height:100px; background:green;"></div>
<!-- The containing block doesn't exist in third column, meaning that the
block-size of the non-existing fragment is 0. -->
<div style="height:100px; background:green;"></div>
</div>
</div>
</div>
</div>

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-break-3/#transforms">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1371426">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="display:flow-root; writing-mode:vertical-rl; width:100px; height:100px; background:red;">
<div style="columns:3; column-fill:auto; gap:0; inline-size:150px; block-size:100px; margin-block-start:100px; margin-inline-start:-50px;">
<div style="transform:rotate(180deg); transform-origin:middle left; block-size:77px;">
<div style="position:absolute; inset-block-start:100px; inline-size:100%; block-size:200px; background:green;"></div>
</div>
</div>
</div>

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1371426">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="columns:5; column-fill:auto; gap:0; width:100px; height:100px; background:red;">
<div style="transform:scale(10); transform-origin:top left;">
<div style="position:absolute;">
<div style="width:2px; height:10px; background:green;"></div>
<div style="height:90px;"></div>
<div style="width:2px; height:10px; background:green;"></div>
<div style="height:90px;"></div>
<div style="width:2px; height:10px; background:green;"></div>
<div style="height:90px;"></div>
<div style="width:2px; height:10px; background:green;"></div>
<div style="height:90px;"></div>
<div style="width:2px; height:10px; background:green;"></div>
</div>
</div>
</div>

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html class="reftest-wait">
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1371426">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div id="container" style="columns:2; gap:0; column-fill:auto; width:101px; height:100px; background:red;">
<div style="transform:rotate(180deg); height:100px; background:green;">
<div style="position:absolute; width:100%; transform:translateY(-100px); top:100px; height:100px; background:green;"></div>
</div>
</div>
<script>
requestAnimationFrame(()=> {
requestAnimationFrame(()=> {
container.style.width = "100px";
document.documentElement.classList.remove("reftest-wait");
});
});
</script>
</html>

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1442211">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="columns:1; gap:0; column-fill:auto; width:100px; height:100px; background:red;">
<div style="height:50px;"></div>
<div style="transform:scaleY(2); transform-origin:bottom; width:100px; height:50px;">
<div style="position:absolute; top:150px;">
<div style="position:absolute; top:-150px; width:100px; height:50px; background:green;"></div>
</div>
</div>
</div>

View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1442211">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="display:flow-root; position:relative; width:100px; height:100px; background:red;">
<div style="position:absolute; width:25%; height:40px; background:green;"></div>
<div style="position:absolute; right:0; top:0; width:25%; height:30px; background:green;"></div>
<div style="position:absolute; right:0; bottom:0; width:25%; height:30px; background:green;"></div>
<div style="margin-top:50px; columns:4; gap:0; column-fill:auto; height:50px;">
<div style="height:20px;"></div>
<div style="transform:scaleY(2); transform-origin:bottom; height:150px;">
<div>
<div style="position:absolute; width:100%; height:100%; background:green;"></div>
</div>
</div>
</div>
</div>

View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1442211">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="columns:2; gap:0; column-fill:auto; width:100px; height:100px; background:red;">
<div style="height:50px;">
<div style="height:150px; background:green;"></div>
</div>
<div style="transform:scaleY(2); transform-origin:bottom; width:50px; height:100px;">
<div>
<div style="position:absolute; top:100px; width:50px; height:25px; background:green;"></div>
</div>
</div>
</div>

View file

@ -0,0 +1,19 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1442211">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="display:flow-root; position:relative; width:100px; height:100px; background:red;">
<div style="position:absolute; width:25%; height:50px; background:green;"></div>
<div style="position:absolute; right:0; width:25%; height:50px; background:green;"></div>
<div style="columns:4; margin-top:50px; gap:0; column-fill:auto; width:100px; height:50px;">
<div style="position:relative; height:50px; background:green;">
<div style="position:absolute; transform:scaleY(2); transform-origin:bottom; top:50px; width:100%; height:100px;">
<div>
<div style="position:absolute; top:50px; width:100%; height:75px; background:green;"></div>
</div>
<div style="height:50px; background:green;"></div>
</div>
</div>
</div>
</div>

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1442211">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="display:flow-root; position:relative; width:100px; height:100px; background:red;">
<div style="position:absolute; width:25%; height:50px; background:green;"></div>
<div style="position:absolute; right:0; width:25%; height:50px; background:green;"></div>
<div style="columns:4; margin-top:50px; gap:0; column-fill:auto; width:100px; height:50px;">
<div style="position:relative; height:50px; background:green;">
<div style="position:absolute; transform:scaleY(2); transform-origin:bottom; top:50px; width:100%; height:100px;">
<div style="position:absolute; top:50px; width:100%; height:75px; background:green;"></div>
<div style="height:50px; background:green;"></div>
</div>
</div>
</div>
</div>